Closed boomertheweim closed 7 months ago
is the log above from a manual run or called from uTorrent?
you need to have uTorrent call the script and pass in the parameters...
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".
/usr/local/utorrent/nzbToMedia/TorrentToMedia.py "%D" "%N" "%L" "%I"
Hi,
I have that set up in uTorrent and this was called form uTorrent
On 5/5/2016 8:38 AM, Clinton Hall wrote:
is the log above from a manual run or called from uTorrent?
you need to have uTorrent call the script and pass in the parameters...
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".
|/usr/local/utorrent/nzbToMedia/TorrentToMedia.py "%D" "%N" "%L" "%I"|
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/clinton-hall/nzbToMedia/issues/1026#issuecomment-217142404
Judging from the error you received
2016-05-05 02:56:23 WARNING ::MAIN: Invalid number of arguments received from client, Switching to manual run mode ...
And the fact that you have
Category: *
Showing in your error logs
It looks like you may not have set "Append Torrents Label" = Enabled in Utorrent, or labels are not properly passing to it from Sickbeard. (You may not have the blackhole-directory set to tv or movie in Sickbeard).
Check and make sure the torrents have the proper labels in utorrent when they're added by SickBeard. Your problem is somewhere in there...
uTorrent is not working. I have attached the log file and my config file. In uTorrnt I have a label called 'tv' a and label mapping is c:\nzb\temp.
For Directories I have the following
C:\nzb\temp for Put new downloads in C:\nzb\complete for Move completed downloads to
What am I missing?
2016-05-05 02:56:23 INFO ::MAIN: ############################## ########################### 2016-05-05 02:56:23 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ## 2016-05-05 02:56:23 INFO ::MAIN: ######################################################### 2016-05-05 02:56:23 DEBUG ::MAIN: Options passed into TorrentToMedia: ['C:\Rager\contrib\nzbToMedia\TorrentToMedia.py'] 2016-05-05 02:56:23 WARNING ::MAIN: Invalid number of arguments received from client, Switching to manual run mode ... 2016-05-05 02:56:23 INFO ::MAIN: Searching C:\nzb\complete\tv for mediafiles to post-process ... 2016-05-05 02:56:23 DEBUG ::MAIN: No directories identified in SickBeard:tv for post-processing 2016-05-05 02:56:23 INFO ::MAIN: Searching C:\nzb\complete\sports for mediafiles to post-process ... 2016-05-05 02:56:23 DEBUG ::MAIN: No directories identified in SickBeard:sports for post-processing 2016-05-05 02:56:23 INFO ::MAIN: Searching C:\nzb\complete\Tor for mediafiles to post-process ... 2016-05-05 02:56:23 DEBUG ::MAIN: No directories identified in SickBeard:Tor for post-processing 2016-05-05 02:56:23 INFO ::MAIN: Searching C:\nzb\complete for mediafiles to post-process ... 2016-05-05 02:56:23 INFO ::MAIN: Starting manual run for SickBeard:* - Folder:C:\nzb\complete\Blindspot.S01E20.HDTV.x264-LOL[ettv] 2016-05-05 02:56:23 INFO ::MAIN: Checking database for download info for Blindspot.S01E20.HDTV.x264-LOL[ettv] ... 2016-05-05 02:56:23 DB ::DB: Getting download info for Blindspot.S01E20.HDTV.x264-LOL[ettv] from the DB 2016-05-05 02:56:23 DB ::MAIN: nzbtomedia.db: SELECT * FROM downloads WHERE input_name=? AND status=? with args [u'Blindspot.S01E20.HDTV.x264-LOL[ettv]', 0] 2016-05-05 02:56:23 INFO ::MAIN: Unable to locate download info for Blindspot.S01E20.HDTV.x264-LOL[ettv], continuing to try and process this release ... 2016-05-05 02:56:23 DEBUG ::MAIN: Received Directory: C:\nzb\complete\Blindspot.S01E20.HDTV.x264-LOL[ettv] | Name: Blindspot.S01E20.HDTV.x264-LOL[ettv] | Category: 2016-05-05 02:56:23 DEBUG ::MAIN: SEARCH: Could not find the category: * in the directory structure 2016-05-05 02:56:23 INFO ::MAIN: SEARCH: Found torrent directory Blindspot.S01E20.HDTV.x264-LOL[ettv] in the directory structure 2016-05-05 02:56:23 DEBUG ::MAIN: Determined Directory: C:\nzb\complete\Blindspot.S01E20.HDTV.x264-LOL[ettv] | Name: Blindspot.S01E20.HDTV.x264-LOL[ettv] | Category: 2016-05-05 02:56:23 INFO ::MAIN: Auto-detected SECTION:SickBeard 2016-05-05 02:56:23 INFO ::MAIN: Output directory set to: c:\nzb\complete\Blindspot.S01E20.HDTV 2016-05-05 02:56:23 DEBUG ::MAIN: Scanning files in directory: C:\nzb\complete\Blindspot.S01E20.HDTV.x264-LOL[ettv] 2016-05-05 02:56:23 DEBUG ::MAIN: Found 1 files in C:\nzb\complete\Blindspot.S01E20.HDTV.x264-LOL[ettv] 2016-05-05 02:56:23 DEBUG ::MAIN: Checking for archives to extract in directory: c:\nzb\complete\Blindspot.S01E20.HDTV 2016-05-05 02:56:23 INFO ::MAIN: FLATTEN: Flattening directory: c:\nzb\complete\Blindspot.S01E20.HDTV 2016-05-05 02:56:23 WARNING ::MAIN: Found no media files in c:\nzb\complete\Blindspot.S01E20.HDTV 2016-05-05 02:56:23 INFO ::MAIN: Calling SickBeard:* to post-process:Blindspot.S01E20.HDTV.x264-LOL[ettv] 2016-05-05 02:56:23 INFO ::MAIN: Attempting to auto-detect * fork 2016-05-05 02:56:25 INFO ::MAIN: SickBeard:* fork auto-detection successful ... 2016-05-05 02:56:25 INFO ::MAIN: SickBeard:* fork set to sickragetv
Hrere's the config file
nzbToMedia Configuration
For more information, visit https://github.com/clinton-hall/nzbToMedia/wiki
[General]
Enable/Disable update notifications
[Posix]
Process priority setting for External commands (Extractor and Transcoder) on Posix (Unix/Linux/OSX) systems.
[CouchPotato]
autoProcessing for Movies
[SickBeard]
autoProcessing for TV Series
[NzbDrone]
autoProcessing for TV Series
[HeadPhones]
autoProcessing for Music
[Mylar]
autoProcessing for Comics
[Gamez]
autoProcessing for Games
[Network]
Enter Mount points as LocalPath,RemotePath and separate each pair with '|'
[Nzb]
clientAgent - Supported clients: sabnzbd, nzbget
[Torrent]
clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, other