Search This Blog

2010-10-17

Setting up RSS for Transmission


Setting up RSS for Transmission can be fairly difficult. It requires an application called "Flexget" which takes your RSS feed and downloads all the .torrent files to a specified directory. Transmission then takes these files that were dropped in the directory and opens them up to download them.

Here are the steps to get flexget working with transmission:

sudo apt-get update

Step 1:
Check to see if you have the right version of python installed
python -V

If your version is below 2.5.x then upgrade:
sudo apt-get install python2.6

Step 2:
Get the easy_install tool
sudo apt-get install python-setuptools

Step 3:
Install FlexGet for python 2.6:
sudo easy_install http://download.flexget.com/unstable/FlexGet-1.0r1445-py2.6.egg

Verify that FlexGet has been installed:
flexget -V

Step 4:
Set your watch-dir in transmission
sudo /etc/init.d/tranmission-daemon stop
sudo nano /etc/transmission-daemon/settings.json

Change the "watch-dir" values
"watch-dir": "(directory you will be setting flexget to download to)",
"watch-dir-enabled": true

sudo /etc/init.d/transmission-daemon start

Step 5:
Edit the flexget config file:
sudo nano ~/.flexget/config.yml

feeds:
  showrss:
    rss: (feed URL)
    accept_all: yes
    download: (watch directory)

Tips on editing flexget file:
1. Always use 2 spaces, never use tab!
2. All plugins are supposed to be indented with exactly the same number of spaces
3. If a text value contains any special characters, (i.e. {}[]%:), it must be enclosed in single quotes,' '
4. If a text value contains a number it must be enclosed in single quotes, ' '

Step 6: initialize flexget
flexget --initdb

Step 7:
Add a crontab entry or add a script to cron.hourly to run flexget hourly or however often you would like

Step 8:
Verify your syntax is working properly
flexget --check

References:
http://ubuntuforums.org/showthread.php?t=1583064 - detailed installation instructions
http://acidborg.wordpress.com/2010/04/12/how-to-automatically-download-your-favourite-tv-series-on-ubuntu-9-10/ - short, brief, effective tutorial
h

No comments:

Post a Comment