Preparing the environment
Create the directory to put the torrents in.
# mkdir ~/torrents
Create the directory the series are downloaded to.
# mkdir ~/series
Installing dependencies :
Use the package system of your Linux distribution to install the dependencies for RSS-torrent.
namely:
| Sqlite3 |
|
| Libpcre |
|
| LibCURL |
|
| LibXML2 | |
| Libesmtp |
|
Setting up rsstorrent
Get rsstorrent from http://swamtv.nl
uncompress the tar.gz
Build the software and install it
# tar -zxvf rsstorrent.x.x.tar.gz
# cd rsstorrent
# cmake .
# make
# sudo make install
Make sure the settings are are okay
# rsstorrent --list-config
Make changes to the config attributes when needed (see man page for more info on config settings).
Make sure to have run RSS-torrent at least one time before executing the next step.
Add some example sources and filters.
# make examples
Or add your own sources and filters by hand
In this example one source, and on filter, many filters and sources can be added.
# rsstorrent -s "Eztv:http://www.ezrss.it/feed/" -t "defaultrss"
# rsstorrent --add-simple='BBC' --nodup='link' --title='^bbc' --exclude='QI' --max-size='1024.00 MB' --min-size='100.00 MB'
Setting up Rtorrent
Create a ~/.rtorrent.rc
From /usr/share/doc/rtorrent-<version>/rtorrent.rc.bz2
# cp /usr/share/doc/rtorrent-<version>/rtorrent.rc.bz2 ~/.rtorrent.rc.bz2
# bunzip2 ~/.rtorrent.rc.bz2
Change the line
#schedule = watch_directory,5,5,load_start=./watch/*.torrent
into
schedule = watch_directory,5,5,load_start=~/torrents/*.torrent
and change
#directory = ./
into
directory = ~/series/
Last but no least start rtorrent and rsstorrent
# rsstorrent -r
# rtorrent
You can monitor the progress of RSS-torrent by executing
# tail -f ~/.rsstorrent/rsstorrent.log
Or stop the RSS-torrent daemon by executing
# kill `cat ~/.rsstorrent/lockfile.pid`