Skip to content

abendebury/selector

Repository files navigation

Selector

An autodownloader for rinse.fm podcasts.

Dependencies

Installation

pip install -r requirements.txt

Use

  1. Download the python script and the example YAML config file.
  2. Rename config.yaml.examle to config.yaml.
  3. Add shows you want to download to config.yaml. If you've downloaded them before, you can put the date of the last show you downloaded for the last-dl item.
  4. You can put config.yaml anywhere you want, but if it's not in the same directory as the script change CONFIG_FILE in selector.py to match its path.

All done! Simply run selector.py whenever you want to check for and download new shows. You can also run it in a cronjob weekly if you want:

0    13    *    *    0  /path/to/selector

Will run selector at 13:00 every Sunday.

Config Format

The config file is written in basic YAML. The directory variable is where selector will download music to. Every node in shows must have an id setting, found by looking at the url on the Rinse website. The name of each node will be used as the name of the show. If dir is present, then podcasts from this show will be downloaded to directory/dir. If last-dl is present, only shows newer than this date (YYYY-MM-DD) will be downloaded.

Testing

If you'd like to run unit tests:

pip install -r requirements-testing.txt
nosetests

About

An autodownloader for rinse.fm podcasts.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages