Hacker News new | past | comments | ask | show | jobs | submit login

yt-dlp works with many but not all podcast websites. You could download everything with metadata and mtime and then sort by earliest to most recent in a file browser.

I wrote a tool that might help with this if you don't want to download the files immediately but it definitely isn't required if you just download everything and use yt-dlp's download-archive.

    pip install xklb
    lb tubeadd podcasts.db 'http://www.hellointernet.fm/podcast?format=rss'
    lb listen podcast.db  # it will keep track of what you played and prioritize playing things that haven't been played before
And later do tubeupdate to check for new episodes:

    lb tubeupdate podcasts.db
If the website extractor provides metadata about file creation (eg. YouTube extractor) then you could use this to play the oldest videos first:

    lb listen podcast.db -u time_modified
If you want to download later you could do this:

    lb dl podcast.db --audio  # with the above example it saves to the folder "Generic" in the current working directory since it uses the yt-dlp generic extractor
https://github.com/chapmanjacobd/library



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: