manolomartinez / greg

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

Placehoder for file extension #78

Open rdrr opened 7 years ago

rdrr commented 7 years ago

I love the placeholder feature to name my downloads using a external downloader, however I think a file extension placeholder needs to be added in order to really use it properly.

With aria2 I'm trying to name my downloads date first, then entry title like this:

aria2c -d {directory -o }{date}.{filename_title} {link}

but that gets me a file with no extension. I can add a .mp3 at the end, but not all of my feeds use mp3. I would love to be able to do:

aria2c -d {directory -o }{date}.{filename_title}.{filename_ext} {link}.

Thanks

kousu commented 6 years ago

👍 I'd want this for #83 too.

kousu commented 6 years ago

By the way, what's directory -o? Is that a typo?