-
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":
i. First step is to set the torrent client you are using. This tells the script which variables to expect when the script is called.
clientAgent = transmission
ii. To allow hard-linking of files quicker and to take up less harddisk space, if download and final location are on the same hard-disk.
uselink = 1
If you use network drives or your seeding location is on a different harddrive to you library, set uselink = 0 to use normal copy options. Any movement across hard disks / network MUST use the following:
uselink = 0
iii. Use this to set which categories/labels/subfolders to expect in the download directory
categories = music,music_videos,pictures,software
iv. This needs to be where the folder that all the separate applications (Couchpotato, etc.) watch for new content. Category will be added on the end before the content is moved.
outputDirectory = /usr/local/downloads/complete
i. This next setting tells the script which file extensions you want to identify and extract. The usual settings are pretty safe.
compressedExtentions: .zip,.rar,.7z,.gz,.bz,.tar,.arj
ii. This setting lists all the media files you want to be processed. The default settings are usually pretty safe.
mediaExtentions: .mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso
iii. This setting lists all the other file extensions you want to be processed. Any other extensions will be ignored and cleaned up.
metaExtensions: .nfo,.sub,.srt,.jpg,.gif
By default, Transmission does not support blackhole subdirectories. Because of this, you must use the transmission downloader within CouchPotato because this allows you to set the download directory. These settings are correct as of 5a23be22 (3/27/2013 7:42:25 AM)
Set the 'Directory' to the location you want your files to seed from (make sure you add the category name on the end)
Because Sickbeard doesn't have any native support for Transmission, you will need to use the blackhole for tv shows.
Configure the remaining settings as described in CouchPotato and Sickbeard.
In Transmission add the TorrentToMedia.py script to run on download complete.
OSX and Windows
Go to Preferences->Transfers->Management Select the script to run on download complete. /usr/local/nzbToMedia/TorrentToMedia.py
Linux and Headless Installations (transmission-daemon)
On linux systems you will need to edit settings.json
. This is usually located in '/etc/transmission-daemon/settings.json' but it depends on the installation. Under Ubuntu it can be found at ~/.config/transmission-daemon/settings.json
Make sure you edit while the daemon is not running.
i. Set the TorrentToMedia.py
script to run after completion of a torrent
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/usr/local/nzbToMedia/TorrentToMedia.py",
ii. As mentioned before, Transmission does not support blackhole-subfolders and Sickbeard has no native Transmission support. This means we have to set transmission to watch one directory and download to the sickbeard tv directory.
"download-dir": /usr/local/torrents/tv
iii. Set the watch directory for transmission to look in for new .torrent files
"watch-dir": "/usr/local/torrents/blackhole/tv',
"watch-dir-enabled": true,
Output from TorrentToMedia will be logged where the scripts reside, in a file called "postprocess.log".
There is a patch that allows for multiple watch-folders and download-dirs in Transmission. Details of this patch can be found here: https://trac.transmissionbt.com/ticket/4231