[SQS-Script] Completion-Propagation/DMCA/Retention check

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.
Crowley
Posts: 37
Joined: 22 Nov 2016, 09:43

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by Crowley » 11 Apr 2017, 16:36

Well, with queue script enabled, completion script did not scan anything. I thought it was because of those messages. But if they can't work together, too bad but not a big deal.

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

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by kloaknet » 11 Apr 2017, 17:16

Crowley wrote:Well, with queue script enabled, completion script did not scan anything. I thought it was because of those messages. But if they can't work together, too bad but not a big deal.
Both scripts should not interfere with each other. The script just reads in the queue, and internally sorts, and unpauses based on that sort. If the NZB is paused by the script it should also be un-paused by the script. It should not remain paused, when it is the only item in the queue, or when all NZBs are paused.

If you have items paused by the script, which remain paused in the queue, I would like to receive Verbose logs starting from when the NZB is added, till the queue is empty/paused items remain in the queue. What you in this case also could try, is to change the order of the 2 scripts, as I expect the queue order script also works with scan calls.

Crowley
Posts: 37
Joined: 22 Nov 2016, 09:43

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by Crowley » 11 Apr 2017, 17:51

Since completion script does not care about the queue order, Queue sort script would not achieve what I want anyway, so I already deleted it. I guess I would need a priority changing script for that, or just let it be.

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

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by kloaknet » 12 Apr 2017, 18:28

I checked the queue script, to see if there was an easy trick I could do based on the existing code, but the script mainly relies on sorting tricks within NZBget, so I could not just give u a line or 2 of code to fix it.

Crowley
Posts: 37
Joined: 22 Nov 2016, 09:43

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by Crowley » 12 Apr 2017, 19:06

Thanks for looking into it. The case when I would need to download in order is pretty rare (When adding a new series in Sonarr that I want to watch immediately). So not a big deal really, just a little more manual work in this case. The Quality of these automation tools available tends to make one lazy ;)

sumofatguy
Posts: 11
Joined: 14 Mar 2015, 20:27

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by sumofatguy » 10 May 2017, 01:22

Is this script working on nzbget 19.0-testing-r1929? I have it enabled in option-extensions, and it does not check newly added nzbs (added from nzbhydra). it runs on scheduler-script, but not on nzb add. I'm probably just doing something stupid...

I have python 2.7.13 installed

Code: Select all

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\>python --version
Python 2.7.13

Code: Select all

INFO	Tue May 09 2017 19:21:02	Deleting file C:\Program Files (x86)\nzbget\nzb\X.nzb.queued
INFO	Tue May 09 2017 19:21:02	Collection X deleted from queue
INFO	Tue May 09 2017 19:20:44	Successfully downloaded X.nfo
INFO	Tue May 09 2017 19:20:44	Successfully downloaded X.par2
INFO	Tue May 09 2017 19:20:43	Collection X added to queue
INFO	Tue May 09 2017 19:20:42	Adding collection X.nzb to queue
INFO	Tue May 09 2017 19:20:10	Executing scheduler-script Completion.py
INFO	Tue May 09 2017 19:20:09	nzbget 19.0-testing-r1929 server-mode
Last edited by sumofatguy on 10 May 2017, 01:29, edited 1 time in total.

ezelkow1
Posts: 5
Joined: 21 Apr 2017, 01:19

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by ezelkow1 » 10 May 2017, 01:29

I havent had it work at all since Ive tried it, mine always complains it cant find the nzb.queued file, even though the files clearly exist

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

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by kloaknet » 13 May 2017, 09:50

sumofatguy wrote:Is this script working on nzbget 19.0-testing-r1929? I have it enabled in option-extensions, and it does not check newly added nzbs (added from nzbhydra). it runs on scheduler-script, but not on nzb add. I'm probably just doing something stupid...

I have python 2.7.13 installed

Code: Select all

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\>python --version
Python 2.7.13

Code: Select all

INFO	Tue May 09 2017 19:21:02	Deleting file C:\Program Files (x86)\nzbget\nzb\X.nzb.queued
INFO	Tue May 09 2017 19:21:02	Collection X deleted from queue
INFO	Tue May 09 2017 19:20:44	Successfully downloaded X.nfo
INFO	Tue May 09 2017 19:20:44	Successfully downloaded X.par2
INFO	Tue May 09 2017 19:20:43	Collection X added to queue
INFO	Tue May 09 2017 19:20:42	Adding collection X.nzb to queue
INFO	Tue May 09 2017 19:20:10	Executing scheduler-script Completion.py
INFO	Tue May 09 2017 19:20:09	nzbget 19.0-testing-r1929 server-mode

Script works on my end in 19.0-testing-r1929. As stated just below the download option on the first page of this topic, turn on Verbose logging in the script settings.

It looks to me the added nzb is not in a category u specified in the script settings.

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

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by kloaknet » 13 May 2017, 09:52

ezelkow1 wrote:I havent had it work at all since Ive tried it, mine always complains it cant find the nzb.queued file, even though the files clearly exist
turn on verbose logging, see what the messages say, post them here so i can be of help. Are u actually running the 1.0.0 version of the script?

ezelkow1
Posts: 5
Joined: 21 Apr 2017, 01:19

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by ezelkow1 » 13 May 2017, 17:24

kloaknet wrote:
ezelkow1 wrote:I havent had it work at all since Ive tried it, mine always complains it cant find the nzb.queued file, even though the files clearly exist
turn on verbose logging, see what the messages say, post them here so i can be of help. Are u actually running the 1.0.0 version of the script?
yes Im running 1.0.0. Ive enabled verbose, Ill see what I get next time I run it

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests