view · edit · print · history

Castget is a simple, command line podcast downloader. It is primarily intended for automatic, unattended downloading of podcasts.


If you want to install it, first update the list of packages available for ipkg:

ipkg update

Castget depends on a recent version of glib. It is recommended that you update your version of glib, in order to make sure you have the latest one:

ipkg install glib

Finally you can install castget:

ipkg install castget


Castget is configured through a file named .castgetrc in the user's home directory. This file is organized into sections, one for each podcast you want to download, such as:


Remember to create the appropriate directories to hold the MP3 files for each podcast. If you are using Unslung you can make a directory under /share/hdd/data or share/flash/data, according to your disk layout, and the directory will be easily shared through the built-in samba server. For the above example you should do:

mkdir -t /share/hdd/data/podcasts/crypto-gram
chown admin:everyone /share/hdd/data/podcasts/crypto-gram

You may also add a global section specifying defaults for all channels:


The original distribution includes a sample configuration file demonstrating all supported settings, that can be found at /opt/doc/castget/castgetrc.example. You can also see the manual pages for castget and castgetrc.

Running castget from crontab

You can run castget periodically through cron, in order to check for updates for the podcasts channels, adding an entry to the crontab.

If you are running Unslung on an NSLU2, it already has a cron utility. All you need to do is choose a time of the day to run castget and add a line to /etc/crontab like this:

0 8 * * * root /opt/bin/castget &>/dev/null

This will run castget daily at 8:00am.

For other firmwares, make sure you have cron installed and add a crontab entry accordingly.

view · edit · print · history · Last edited by fcarolo.
Originally by fcarolo.
Page last modified on September 21, 2007, at 11:55 AM