Download & Extend

file name for downloading music.

Project:Audio
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

When ever downloading music it is always called file.mp3 instead of the actual, or an unique name.

This then causes a problem with some podcast software which will download 1 file, and then overwrite it with the next.

Comments

#1

it really sounds like a bug in the software you're using to download the audio. the audio module sends out the proper headers specifying a filename.

#2

Honestly there is no reason that it should be hard coded to file.ext
Quick patch adds the filename to the end of the download link.

will make it able to work with wget now.

AttachmentSize
drupal.audio.filename.patch 952 bytes

#3

if you're going to use a file name you should use the "original" one stored in the database.

#4

yea, what is the difference? as far as i can tell, they are the same.

#5

it preserves the original name. if you upload two copies of the same file on will end up with _0.mp3 on the end. this also happens if you use revisions on an audio node.

#6

Status:active» needs review

could i get a review of this?

AttachmentSize
audio.module_68716_filename.patch 1.08 KB

#7

This patch worked for me, although I didn't have a problem with file names in the first place!

#8

Status:needs review» fixed

this was applied at some point in the past.

#9

Status:fixed» closed (fixed)

#11

I WANT TO DOWNLOAD GHANAIAN MUSIC

nobody click here