manolomartinez / greg

A command-line podcast aggregator
GNU General Public License v3.0
296 stars 37 forks source link

configurable filenames #115

Closed manolomartinez closed 2 years ago

manolomartinez commented 3 years ago
Simon818 commented 2 years ago

Getting back to this after some time. I think this looks great. One nice touch would be to add a {file_extension} placeholder that pulls the extension off placeholders.filename. This allows defining a download filename without having to manually add the extension to the end. It is also theoretically possible for podcasts to have files with multiple extensions, so in this case any custom filename that hardcodes the extension is not going to work. I realize this is a bit of a hack, so thoughts are welcome.