-
Notifications
You must be signed in to change notification settings - Fork 176
Manual Run
To Run the script Manually, passing in the directory, name and category, simply execute as
nzbToMedia.py <Directory> <Name> <Category> <Download_ID> generic
To Run the script Manually, passing in the directory, name and category, simply execute as
TorrentToMedia.py <torrent ID (hash)> <torrent file name> <torrent folder>
e.g.:
TorrentToMedia.py "16b2463c1f1dab2ecfb38ac481f044d752349218" "My.Show.S02E01.rar" "D:\queue\processing\tv\torrent\"
for testing purposes the hash ID can be random/gibberish to simply test file operations (though no operation on an active torrent can be performed).
for other clients, you need to pass the string as defined for that client and detailed below.
export TR_TORRENT_DIR="/share/processing/tv/torrent"
export TR_TORRENT_NAME="My.Show.S02E01.rar"
export TR_TORRENT_HASH="16b2463c1f1dab2ecfb38ac481f044d752349218"
export TR_TORRENT_ID="464475734535433"
./TorrentToMedia.py
./TorrentToMedia.py <torrent folder>|<torrent name>|<Torrent label>|<torrent ID (hash)>
C:\full\path\to\nzbToMedia\TorrentToMedia.py "<torrent folder><torrent name><Torrent label><torrent ID (hash)>'single'<file name>
Note. The single
here tells the script that the download is a single media file, and uses the file name to identify it.
./TorrentToMedia.py <torrent ID (hash)> <torrent name> <torrent folder>
./TorrentToMedia.py <torrent folder> <torrent name> <Torrent category> <torrent ID (hash)>