suggestion
since you're already parsing XML data would it be possible to add the ability to rename downloaded files, edit ID3 tags, and add images based on the parsed data?
I currently run the script every week to archive the new episodes but have to rework the files through a mp3id3 editor
thanks for making the utility!
hey @lpar Matthew,
Thanks for writing podtools, its honestly written extremely well and really easy to understand.
I ended up implementing:
- writing ID3 tags where they don't exist
- renaming podcast files by date - title - file extension
- writing titles to the downloaded files
- writing artists to the downloaded files
- writing titles to the downloaded files
- writing release dates per episode to the downloaded files
- writing tagged images per episode to the downloaded files
- writing comments from XML descriptions to the downloaded files
- mp3, mp4, aac, ogg, wmv, wav, and flac support
I think podtools was meant to be a lot simpler and catch-all compared to what I've done so I'll push it on my page in a week or so.
Please feel free to use my code as pseudo code if you'd like, it's WIP. It currently requires a few dependencies as I'm experimenting with a few utilities. I'll reduce it down to one in the next month based on changes in tageditor by Martchus.
I did want to ask if theres a speed limit you've set somewhere in the code? for some reason I can only download at a max speed of 30mbps/~4MBps using podtools.
Thanks again
I think it would make sense to have some sort of file renaming feature... Maybe something that works like sprintf, where you have % escapes for various pieces of information from the XML.
I'm not convinced tagging is a good feature to build in. Podcast files should already have tags for the podcast player to use, untagged should be the rare exception. Also, as you've probably noticed, it's tough finding a good pure Go library to handle all the different tag types, or at least mp3 and m4a.