nzbToMedia for NZBGet V11+

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
miteepingwin
Posts: 33
Joined: 28 Aug 2012, 02:11

Re: nzbToMedia for NZBGet V11+

Post by miteepingwin » 26 Aug 2015, 16:02

Question on Sonarr: What's the proper Script setup to use?
My 'Scan Script' and 'Queue Script' run "Completion.py" to check for bad files. When a file is marked as bad, it ends and marks it bad but it does not send this info back to Sonarr. Sonarr does not do any Failed Download Handling.

If I remove Completion.py and run NzbToMedia in the PostProcess, the FDH works great.

Should I be using Completion.py? Can it run in conjunction with NzbToMedia (or should I not use it?)

kloaknet
Posts: 337
Joined: 23 Jul 2014, 08:52

Re: nzbToMedia for NZBGet V11+

Post by kloaknet » 26 Aug 2015, 17:11

miteepingwin wrote:Question on Sonarr: What's the proper Script setup to use?
My 'Scan Script' and 'Queue Script' run "Completion.py" to check for bad files. When a file is marked as bad, it ends and marks it bad but it does not send this info back to Sonarr. Sonarr does not do any Failed Download Handling.

If I remove Completion.py and run NzbToMedia in the PostProcess, the FDH works great.

Should I be using Completion.py? Can it run in conjunction with NzbToMedia (or should I not use it?)
For this there is the ForceFailure option in Completion.py, Sonarr doesn't understand the mark BAD option. Note that it is advised to run Completion also as a scheduler script (like very 15 / 30 or 60 min), otherwise it won't regularly check when a file seems to be incomplete after the first check.
Last edited by kloaknet on 05 Sep 2015, 07:38, edited 1 time in total.

miteepingwin
Posts: 33
Joined: 28 Aug 2012, 02:11

Re: nzbToMedia for NZBGet V11+

Post by miteepingwin » 26 Aug 2015, 19:29

Whoops! I've had your script running since V1, I forgot it was custom and assumed it was baked into NZBGet >_<

I updated your script and set the ForceFailure. Everything's working great, and it works nicely with nzbToMedia. Thanks!! You rock!

doublegalz
Posts: 3
Joined: 26 Oct 2015, 21:02

Re: nzbToMedia for NZBGet V11+

Post by doublegalz » 26 Oct 2015, 21:07

I am hoping to get some help after Googling my heart out. I am trying to get nzbtosickbeard to work with my NZBGet 16 working. I am fairly technical, but I am obviously missing something and possibly something simple and obvious. I am assuming this is a system/user error as I am getting this same Unknown error on most scripts I have tried. Email.py works like a charm though. See log snippet, if you need anything else, please let me know. I appreciate any help you all can provide as I have hit a wall.

Mon Oct 26 15:53:10 2015 INFO Executing post-process-script nzbToMedia-master\nzbToSickBeard.py for (TV Show)
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: Traceback (most recent call last):
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: File "d:\NZBGet Data\scripts\nzbToMedia-master\nzbToSickBeard.py", line 249, in <module>
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: import nzbToMedia
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: File "d:\NZBGet Data\scripts\nzbToMedia-master\nzbToMedia.py", line 503, in <module>
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: import core
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: File "d:\NZBGet Data\scripts\nzbToMedia-master\core\__init__.py", line 28, in <module>
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: from core.autoProcess.autoProcessComics import autoProcessComics
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: File "d:\NZBGet Data\scripts\nzbToMedia-master\core\autoProcess\autoProcessComics.py", line 6, in <module>
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: from core.nzbToMediaUtil import convert_to_ascii, remoteDir, server_responding
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: File "d:\NZBGet Data\scripts\nzbToMedia-master\core\nzbToMediaUtil.py", line 19, in <module>
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: from core.linktastic import linktastic
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: File "d:\NZBGet Data\scripts\nzbToMedia-master\core\linktastic\linktastic.py", line 30, in <module>
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: info.dwFlags |= subprocess.STARTF_USESHOWWINDOW
Mon Oct 26 15:53:10 2015 INFO nzbToSickBeard: AttributeError: 'module' object has no attribute 'STARTF_USESHOWWINDOW'
Mon Oct 26 15:53:10 2015 ERROR Post-process-script nzbToMedia-master\nzbToSickBeard.py for (TV Show) failed (terminated with unknown status)

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: nzbToMedia for NZBGet V11+

Post by hugbug » 26 Oct 2015, 21:16

Make sure you use Python 2.x and not Python 3.x. Most scripts don't work with Python 3.x. Email.py is one of the few supporting both Python versions.

doublegalz
Posts: 3
Joined: 26 Oct 2015, 21:02

Re: nzbToMedia for NZBGet V11+

Post by doublegalz » 26 Oct 2015, 21:18

I am using Python 2.7 64bit. I have recently reinstalled/repaired, etc. Still the same thing.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: nzbToMedia for NZBGet V11+

Post by hugbug » 26 Oct 2015, 21:23

OK, then we need to wait for Clinton.

What other scripts doen't work too?

doublegalz
Posts: 3
Joined: 26 Oct 2015, 21:02

Re: nzbToMedia for NZBGet V11+

Post by doublegalz » 26 Oct 2015, 21:41

The only other one that I tried recently was VideoSort. Actually now I am not getting the terminated for unknown error, just Invalid Arguments maybe I need to get help for VideoSort on another post. Odd. Thanks for responding so quickly!

Mon Oct 26 16:36:45 2015 INFO Executing post-process-script videosort\VideoSort.py for (TV Show)
Mon Oct 26 16:36:47 2015 ERROR VideoSort: Failed: (TV Show).nzb
Mon Oct 26 16:36:47 2015 ERROR VideoSort: invalid arguments
Mon Oct 26 16:36:47 2015 INFO VideoSort: Traceback (most recent call last):
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort\VideoSort.py", line 1180, in <module>
Mon Oct 26 16:36:47 2015 INFO VideoSort: new_path = construct_path(old_path)
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort\VideoSort.py", line 1065, in construct_path
Mon Oct 26 16:36:47 2015 INFO VideoSort: guess = guess_info(filename)
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort\VideoSort.py", line 980, in guess_info
Mon Oct 26 16:36:47 2015 INFO VideoSort: matcher = guessit.matcher.IterativeMatcher(unicode(guessfilename), filetype='autodetect', options={'nolanguage': True, 'nocountry': True})
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort/lib\guessit\matcher.py", line 110, in __init__
Mon Oct 26 16:36:47 2015 INFO VideoSort: from guessit.plugins import transformers
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort/lib\guessit\plugins\transformers.py", line 212, in <module>
Mon Oct 26 16:36:47 2015 INFO VideoSort: reload()
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort/lib\guessit\plugins\transformers.py", line 210, in reload
Mon Oct 26 16:36:47 2015 INFO VideoSort: reload_options(all_transformers())
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort/lib\guessit\options.py", line 70, in reload
Mon Oct 26 16:36:47 2015 INFO VideoSort: _opts, _naming_opts, _output_opts, _information_opts, _webservice_opts, _other_opts = build_opts(transformers)
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort/lib\guessit\options.py", line 63, in build_opts
Mon Oct 26 16:36:47 2015 INFO VideoSort: transformer.register_options(opts, naming_opts, output_opts, information_opts, webservice_opts, other_opts)
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "d:\NZBGet Data\scripts\videosort/lib\guessit\transfo\expected_series.py", line 37, in register_options
Mon Oct 26 16:36:47 2015 INFO VideoSort: help='List of expected series to parse. Separate series names with ";"')
Mon Oct 26 16:36:47 2015 INFO VideoSort: File "D:\Python27\lib\optparse.py", line 1018, in add_option
Mon Oct 26 16:36:47 2015 INFO VideoSort: raise TypeError, "invalid arguments"
Mon Oct 26 16:36:47 2015 INFO VideoSort: TypeError: invalid arguments
Mon Oct 26 16:36:47 2015 ERROR Post-process-script videosort\VideoSort.py for (TV Show) failed

kjKmcQN3
Posts: 75
Joined: 29 Aug 2015, 15:09

Help setting up nzbToMedia

Post by kjKmcQN3 » 30 Oct 2015, 06:59

I would like to use nzbToMedia on NZBGet to send TV shows for post-processing to SickRage. I only want to use it for renaming/organizing purposes and do not wish to transcode or alter the original file in any manner. I am a little confused by the configurable options and would greatly appreciate some help.

1. Do the allAudioLanguages, allSubLanguages options come into play if the Transcode option is disabled?
2. What about embedSubs? I do like the option of having external sub/srt subs embeded into my video file but again, does this option only apply to transcoded files?
3. If I have subtitles search enabled in SickRage and also enable it in nzbToSickbeard then which one takes precedence?

Since the nzbToMedia collection already contains multiple scripts it would be great to have lite versions of the scripts, without any of the transcode or other advanced options, for people who only wish to send an nzb to SickRage/Couchpotato etc.

Thanks for looking into this.

clintonhall
Posts: 449
Joined: 15 Dec 2012, 01:52
Location: Australia
Contact:

Re: nzbToMedia for NZBGet V11+

Post by clintonhall » 31 Oct 2015, 21:14

@doublegalz

Have you installed pywin32 for your python version?
http://sourceforge.net/projects/pywin32 ... ild%20218/

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests