My website hosts many of my own custom podcasts. I record them on a third-party internet radio service, and later download and resample them to host on my own site.
When I upload an audio, let us say that it is saved to the folder sites/all/default/files/audio/audiofile.mp3. After uploading it, I have to go back and edit the node to set the sample rate and file type. Once I set those, the player appears on the node. But once I edit and save the node, I now have 2 copies of the file, the second one being sites/all/default/files/audio/audiofile_0.mp3. Often later I want to go back and edit the node, to add pictures or commentary. Each time I do, I get another copy of the file when I save the node, with the appendix incremented onto the filename as _1, _2 etc.
Yesterday I noticed this problem, when I found some nodes with up to 6 or 7 copies of the same audio file having been generated! I have one site with about 500 audio nodes, and I had over 700 files for them. That is about 200 files of 10-to-20 MB each on my server, which I do not need. Since I add three or four podcasts to my site each week and usually have to edit each node at least once or twice, over a year this could add up to a serious waste of space on the server.
I had to go back to each audio node, click "edit" to see which of the audio files the node pointed to, and manually delete all of the extra files. Please help!
Otherwise, I really am appreciative for your work on this project, it makes it very easy to post and manage a huge amount of podcasts, track downloads, etc. Thank you!
Comments
Comment #1
drewish commentedsounds like you want to turn revisions off. it creates a copy of the file for each revision so you can track changes to the metadata.
Comment #2
wmfinck commentedWow, was that easy - I didn't think of it, thanks! Maybe that could be an option (whether or not to copy the file with revisions) in the future? Not THAT important, but only a suggestion.
I do history & religion seminars. Once a program is done it gets archived as a podcast in Audio module. The program will never change, but the notes in the node body may get updated, attachments made, taken from sticky/front page after awhile, etc. All of these need editing on node, but I had revisions on in case I screw up the node.
Thank you for your reply, and also to all of your work on this important module!