SwarmTV 0.9

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 SwarmTv.
namely:

Sqlite3
Libpcre
LibCURL
LibXML2  
Libesmtp

 

Setting up swarmtv


Get swarmtv from http://swamtv.nl

uncompress the tar.gz

Build the software and install it

# tar -zxvf swarmtv.x.x.tar.gz

# cd swarmtv

When all optional libraries are available.
# cmake .
In other cases libraries can be disabled using.

To disable libesmtpd
# cmake -D ESMTP_ENABLE=FALSE .

To only build the library not the shell frontend
# cmake -D SHELL_ENABLE=FALSE .

When no DBus support is needed
# cmake -D DBUS_GLIB_ENABLE=FALSE .

After cmake has done it's work
# make

# sudo make install

Make sure the settings are are okay

# swarmtv --list-config

Make changes to the config attributes when needed (see man page for more info on config settings).

Make sure to have run SwarmTv 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.

# swarmtv -s "Eztv:http://www.ezrss.it/feed/" -t "defaultrss"
# swarmtv --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 swarmtv

# swarmtv -r
# rtorrent 

You can monitor the progress of RSS-torrent by executing

# tail -f ~/.swarmtv/swarmtv.log

Or stop the SwarmTv daemon by executing

# kill `cat ~/.swarmtv/lockfile.pid`