[GetScripts] Various Scripts

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.
Pixelfanatic
Posts: 13
Joined: 11 Jul 2014, 17:27

Re: [GetScripts] Various Scripts

Post by Pixelfanatic » 15 Dec 2016, 05:47

Unfortunately I got an unrar error this time because of the -o+ and -y option in the unrar command of the script (invalid option).
I simply replaced "-o+" with "-f", removed "-y" and now it works fine (unrar-free installed)

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

Re: [GetScripts] Various Scripts

Post by clintonhall » 15 Dec 2016, 11:44

Interesting. I hadn't expected to use unrar free since you can (on most systems) compile unrar (non-free) from source.

Anyway, looks like you have a working solution.

Pixelfanatic
Posts: 13
Joined: 11 Jul 2014, 17:27

Re: [GetScripts] Various Scripts

Post by Pixelfanatic » 01 Mar 2017, 12:55

Hi Clinton!

Unfortunately there is another Problem wit SafeRename.py:

I get the following error:

Code: Select all

Wed Mar  1 13:50:23 2017	INFO	SafeRename: Extracting file /Blablabla.cp(tt1267297)/a818bef7_e87becc6_e0badded_5263426/win_click2rename.bat with command ['unrar', 'x', '-f', '-p1264216546', '/Blablabla.cp(tt1267297)/a818bef7_e87becc6_e0badded_5263426/Click.rar']
Wed Mar  1 13:50:23 2017	INFO	SafeRename: Extraction failed
I think the problem is the unrar command (to be exactly: In this case the Pathname):
Should´nt it be Blablabla.cp\(tt1267297\) instead of Blablabla.cp(tt1267297) because of the brackets?

Edit:
Nevermind - Updated Saferename.py and now it seems to work.
Last edited by Pixelfanatic on 01 Mar 2017, 15:30, edited 1 time in total.

mrboes
Posts: 6
Joined: 17 Apr 2014, 11:38

Re: [GetScripts] Various Scripts

Post by mrboes » 01 Mar 2017, 14:04

Hi,

I run NZBGet 15.0 on my WD NAS, until today I had 2 scripts, subliminal and videosort that works perfectly, now im trying to add DeleteSamples but all I get is error (same as manrax in this thread).
Is there anybody that know what to fix in order for this script to work?

PP-FAILURE
ERROR Post-process-script DeleteSamples.py for movie***** failed (terminated with unknown status).

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

Re: [GetScripts] Various Scripts

Post by clintonhall » 02 Mar 2017, 12:06

Is there any further logging (a traceback)?

mrboes
Posts: 6
Joined: 17 Apr 2014, 11:38

Re: [GetScripts] Various Scripts

Post by mrboes » 02 Mar 2017, 14:03

Dont think so, standard in NZBGet or do I need to arrange one manually? If someone tell me how to create one I can fix, hopefully :)

mrboes
Posts: 6
Joined: 17 Apr 2014, 11:38

Re: [GetScripts] Various Scripts

Post by mrboes » 02 Mar 2017, 14:13

I did find the nzbget.log, but it´s size is almost 600 mb. Shall I delete and create a new one and test the script again or does the delete of the log create an issue with previous downloads etc.. ?

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

Re: [GetScripts] Various Scripts

Post by clintonhall » 03 Mar 2017, 12:16

yes, try that and see if the logs show the error.

mrboes
Posts: 6
Joined: 17 Apr 2014, 11:38

Re: [GetScripts] Various Scripts

Post by mrboes » 07 Mar 2017, 09:20

Hi, so.. this is from my log.
Seems to be a problem to find the path, If I am not completely lost Subliminal is also using python so it should be any problem because Subliminal is working like a charm (and Videosort)

Tue Mar 7 08:58:28 2017 INFO Executing post-process-script DeleteSamples.py for **************
Tue Mar 7 08:58:29 2017 INFO DeleteSamples: /usr/bin/env: python
: No such file or directory
Tue Mar 7 08:58:29 2017 ERROR Post-process-script DeleteSamples.py for ************** failed (terminated with unknown status)
Tue Mar 7 08:58:29 2017 INFO Executing post-process-script nzbget-subliminal-0.9.8/Subliminal.py for **************
Tue Mar 7 08:58:35 2017 INFO Subliminal: NZB-File detected: **************.nzb.queued
Tue Mar 7 08:58:35 2017 INFO Subliminal: NZBParse - NZB-File parsed 0 meta entries
Tue Mar 7 08:58:35 2017 INFO Subliminal: Found 1 matched file(s).
Tue Mar 7 08:58:35 2017 INFO Subliminal: Using advanced search mode
Tue Mar 7 08:58:39 2017 INFO Subliminal: Scanning video '**************.mkv' in '/shares/Media/Nytt/TV-HD/**************'

hugbug
Developer & Admin
Posts: 6570
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: [GetScripts] Various Scripts

Post by hugbug » 07 Mar 2017, 09:52

Looks like corrupted line endings.
Try downloading the script as zip from GitHub. Then you should have it in correct format.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest