A small CLI app for generating podcast RSS feeds from a directory of files. Similar to dropcaster but much simpler, and it supports a wide variety of audio formats instead of just MP3.
The idea is to put a directory containing some audio files somewhere publically accessible over http, (dropbox works well) and then run this program to generate an RSS file, which can then be consumed by your podcast playing app of choice.
Episode dates are read from the last-modified times of the files, and Title and Description fields are taken from the episode tags.
The motivation for this was wanting an easy way to play random audio files in my podcast app on my phone, primarily youtube videos downloaded using the superb youtube-dl script. Being as the audio for youtube vids is never in mp3 format, the aforementioned dropcaster was not going to do the job.
You can find the source and usage instructions at the above link, but here’s a quick rundown:
$ brew install taglib $ gem install podcast_feed_gen $ cat << EOF > podcast_feed_gen.yml base_url: http://example.com/podcast/ title: test feed author: John Doe description: A cool podcast EOF $ podcast_feed_gen > index.rss