file name for downloading music.
gordon - June 13, 2006 - 05:09
| Project: | Audio |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
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.

#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.
#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
could i get a review of this?
#7
This patch worked for me, although I didn't have a problem with file names in the first place!
#8
this was applied at some point in the past.
#9