RouxRC / series-DL

Automatically downloads torrents and subtitles for the latest episodes of your favorite TV shows
GNU General Public License v3.0
6 stars 0 forks source link

series-DL

#LifeHacking :-)

Automatically handle downloading from EZTV and ThePirateBay the latest episodes of your list of favorite shows, get matching subs on Addic7ed and rename all files cleanly in your ToWatch directory.

Optionnally always download first episodes of new shows.

Meant for use under Linux with Vuze/Azureus torrent client, but should also work under MacOsX and with any torrent client that handles starting magnet links from command line.

Dependencies

pip install requests

Configure

cp config.inc{.example,}
cp config.py{.example,}

Edit config.inc & config.py and set your choices of:

Run

./download.sh
./download.sh "Game of Thrones"
# optionnally bypass the general resolution choice adding a second random argument
./download.sh "Powers" 1
# or for an anime or any show without SxxEyy pattern:
./download.sh "Naruto Shippuuden #NOSEASON"
./getSubs.py
./getSubs.py --filter "That special show"
./rotate.sh
# Add an extra argument to start downloading subs and renaming afterwards as well, for instance:
./rotate.sh 1
crontab -e
# add lines such as:
#  00  */8  * * *    DISPLAY=:0.0 <THIS DIR PATH>/download.sh >> <THIS DIR PATH>/logDL.txt  2>&1
# */15  *   * * *                 <THIS DIR PATH>/rotate.sh 1 >> <THIS DIR PATH>/logRot.txt 2>&1