-
Notifications
You must be signed in to change notification settings - Fork 174
utorrent
If you are using µTorrent, perform the following steps to configure postprocessing for "TorrentToMedia":
-
Rename the autoProcessMedia.cfg.sample to autoProcessMedia.cfg and edit the parameters:
i.
[Torrent] uselink = hard
to allow hard-linking of files. Quicker and less harddisk used, if download and final location are not on the same hard-disk setuselink = no
to use normal copy options. Any movement across hard disks / network MUST use "no"ii. [Torrent] categories: all categories/labels/sub-directories used by your downloader.
music,music_videos,pictures,software
iii. [Torrent] compressedExtentions: all extensions you want to be identified and extracted
.zip,.rar,.7z,.gz,.bz,.tar,.arj
iv. [Torrent] mediaExtentions: all extensions you want to be identified as videos and processed.
.mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso
v. [Torrent] metaExtentions: all other extensions you want to be processed. other extensions will be ignored.
.nfo,.sub,.srt,.jpg,.gif
vi. [Torrent] uTorrentWEBui, you shouldn't have to change this value, change uTorrentUSR and uTorrentPWD to desired username and password
vii. [CouchPotato] & [SickBeard] category: you must set the category that is passed from these applications If using "blackhole-subdirectory", this is the last folder name used in the blackhole.
e.g. tv or movies
viii.[CouchPotato] & [SickBeard] outputDirectory: you must set the absoluet path to extract videos to. this destination, for CouchPotato, must match the CouchPotato Renamer's, "from" directory.
ix. [CouchPotato] & [SickBeard]: Configure the remaining settings as describes in nzbToCouchPotato and nzbToSickBeard above.
-
In µTorrent go to preferences > Advanced > Run Program > Run this program when torrent finishes:
i. Set full path to script, pass paramaters as "%D" "%N" "%L" "%I". (Add the full python path to avoid issues)
C:\python37\python.exe C:\nzbToMedia\TorrentToMedia.py %D %N %L %I
ii. For Linux users who use uTorrent Server Alpha (3.0 build 27079) there is a bug in the run program configuration which drops the first argument specified. So in order to use this script properly, the correct line for uTorrent Server is:
python /usr/local/utorrent/nzbToMedia/TorrentToMedia.py "%D" "%D" "%N" "%L" "%I"
-
In uTorrent set the following directories.
i. Preferences, directories, "Move Completed Downlaods to" = Enabled "Append Torrents Label" = Enabled Set the directory = The directory where downloaded files stay while seeding. This is NOT the "FROM" directory in CouchPotato renamer.
/usr/local/Download/ with the latest version of utorrent (3.3.2), the 'append torrents label' isn't available, but can be accessed via the webgui.
ii. Preferences, directories, "Automatically load .torrents from" = The balckhole directory used by CouchPotato and/or SickBeard
/usr/local/blackhole
-
In uTorrent, Preferences -> Advanced -> set
bt.read_only_on_complete
=false
-
Output from TorrentToMedia will be logged where the scripts reside, in a file called "postprocess.log"
-
This is mandatory if you're going to use hardlinks with uTorrent, go to preferences > Advanced > Web UI
i. Set a username, password and also set an "alternative listening port" to 8090 (this should correspond with what you filled in at the top of this guide, in 1. vi)