Skip to content
jkaberg edited this page Feb 25, 2013 · 17 revisions

µTorrent

If you are using µTorrent, perform the following steps to configure postprocessing for "TorrentToMedia":

  1. Rename the autoProcessMedia.cfg.sample to autoProcessMedia.cfg and edit the parameters:

    i. [Torrent] uselink = 0 This option cannot be used with uTorrent as uTorrent locks files while seeding them.

    ii. [Torrent] extractiontool (Windows Only...you will need to install 7-zip)

     C:\Program Files\7-Zip\7z.exe' 
    

    iii. [Torrent] categories: all categories/labels/sub-directories used by your downloader.

     music,music_videos,pictures,software
    

    iv. [Torrent] compressedExtentions: all extensions you want to be identified and extracted

     .zip,.rar,.7z,.gz,.bz,.tar,.arj
    

    v. [Torrent] mediaExtentions: all extensions you want to be identified as videos and processed.

     .mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso
    

    vi. [Torrent] metaExtentions: all other extensions you want to be processed. other extensions will be ignored.

     .nfo,.sub,.srt,.jpg,.gif
    

    vii. [Torrent] uTorrentWEBui, you shouldnt have to change this value, change uTorrentUSR and uTorrentPWD to desired username and password

    viii. [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
    

    ix.[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.

    x. [CouchPotato] & [SickBeard]: Configure the remaining settings as describes in nzbToCouchPotato and nzbToSickBeard above.

  2. In µTorrent go to preferences > Advanced > Run Program > Run this program when torrent finishes:

    i. Set full path to script, pass paramaters as "utorrent" "%D" "%N" "%L".

     /usr/local/utorrent/nzbToMedia/TorrentToMedia.py "utorrent" "%D" "%N" "%L"
    
  3. In uTorrent set the following directories.

    i. Preferences, directories, "Move Completed Downlaods to" = Enabled "Apprend 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/
    

    ii. Preferences, directories, "Automatically load .torrents from" = The balckhole directory used by CouchPotato and/or SickBeard

     	/usr/local/blackhole
    
  4. Output from TorrentToMedia will be logged where the scripts reside, in a file called "postprocess.log"

  5. This is mandatory if your 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. vii)

Clone this wiki locally