Podcast Server

2012/08/05 by Paulo Pereira

~/categories/Linux #Linux #B3 Server #b3caster #GitHub

Inspired by Farhad’s approach of bashpodder, as featured in a Linux Action Show episode about bash scripts, I decided to create a Podcast Server of my own.

b3caster, as I’m calling it is a podcast server based on dircaster and bashpodder.

The idea is to have a podcast server that downloads and feeds my favorite podcasts.

b3caster

Components

b3caster needs the following components to work:

I’m using my B3 Server for this.

github

For this project I decided to create a github account. You can follow the evolution of b3caster there.

The Setup

/www/dircaster

/home/b3caster

00 06 * * * /home/b3caster/b3caster.sh

And that’s it. Just point your favorite podcast client to http://yoursite.com/DirCaster/dircaster.php and your good to go.

Available scripts

A caster zone is what you consider being your podcast server. You can have many caster zones and a caster zone can have one or more podcasts.

All you need to do is change the caster_zones.conf file and add as many as you want.

This is the script that downloads all the podcasts. Add your favorite ones in the urls.conf file.

Here you configure what podcasts your caster zone have. Edit the subscriptions.conf file.

This is the main script that runs in cron and creates the caster zones and copy the podcasts to each zone.

Next steps

This scripts may still have bugs and you may need to change some things to get things going. Follow me at github for changes in the scripts and feel free to comment, send ideas and open issues :)