mlj / castget

A simple, command-line based RSS enclosure downloader, primarily intended for automatic, unattended downloading of podcasts.
http://castget.johndal.com
GNU General Public License v2.0
103 stars 23 forks source link

-1 argument downloads the older episodes #26

Open rohshall opened 6 years ago

rohshall commented 6 years ago

I am subscribed to some news podcasts, and I prefer to have only the latest episodes. So, castget -1 should get only the latest episode, if it exists. However, every time I run castget -1, it downloads one older episode. It should check the latest enclosure, and if the file already exists, and do nothing, instead of downloading the older episode.

mlj commented 6 years ago

I agree that this is something we'd want, but I think we should keep -1 the way it is and add this as a new option or as the possible outcome of a combination of options.