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

drewish’s picture

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.

halkeye’s picture

StatusFileSize
new952 bytes

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.

drewish’s picture

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

halkeye’s picture

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

drewish’s picture

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.

drewish’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

could i get a review of this?

Colin Brumelle’s picture

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

drewish’s picture

Status: Needs review » Fixed

this was applied at some point in the past.

Anonymous’s picture

Status: Fixed » Closed (fixed)
fifi football’s picture

I WANT TO DOWNLOAD GHANAIAN MUSIC