-
Notifications
You must be signed in to change notification settings - Fork 174
transmission
If you are using Transmission, perform the following steps to configure postprocessing for "TorrentToMedia":
-
Rename the autoProcessMedia.cfg.sample to autoProcessMedia.cfg and edit the parameters:
i. [Torrent} uselink = 1 to allow hard-linking of files quicker and less harddisk used, if download and final location are on the same hard-disk set uselink = 0 to use normal copy options. Any movement across hard disks / network MUST use "0"
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. [CouchPotato] & [SickBeard] category: you must set the category that is passed from these applications This is the last folder name in the directory path passed as "directory for completed downloads." 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.
/usr/local/extracted/movies /usr/local/extracted/tv
ix. [CouchPotato] & [SickBeard]: Configure the remaining settings as describes in nzbToCouchPotato and nzbToSickBeard above.
-
In Transmission add the TorrentToMedia.py script to run on downlaod complete.
i. On some systems go to Preferences->Transfers->Management Select the script to run on download complete.
/usr/local/transmission/nzbToMedia/TorrentToMedia.py
ii. On other systems you will need to edit settings.json (usually /etc/transmission-daemon/settings.json). Edit while the daemon is not running.
"script-torrent-done-enabled": true, "script-torrent-done-filename": "/usr/local/transmission/nzbToMedia/TorrentToMedia.py",
-
In Transmission set the following directories (settings.json, or interface).
i. Download Directory = The directory where downloaded files stay while seeding. This is NOT the "FROM" directory in CouchPotato renamer.
"download-dir": "/usr/local/Download",
ii. Watch Direcetory = The balckhole directory used by CouchPotato and/or SickBeard
"watch-dir": "/usr/local/blackhole', "watch-dir-enabled": true,
-
Output from TorrentToMedia will be logged where the scripts reside, in a file called "postprocess.log"