Qnzbget unpause after manual pause [solved]

Get help, report and discuss bugs.
Post Reply
tommiedepommie
Posts: 6
Joined: 03 Jul 2013, 07:21

Qnzbget unpause after manual pause [solved]

Post by tommiedepommie » 03 Jan 2019, 16:55

Hello,

first of all, I'm very happy with Qnzbget on my Qnap NAS. I'm using Qnzbget version 21.0-testing-r2220.

Because I live in the "middle of nowhere" but happy with my 11Mbps internet line, I often set the downloadspeed manual lower so I can browse the internet while my Qnap does all the work.

Often, I pause the download in the Qnzbget interface by pushing the "Pause" button on top of the screen. (not the green button)
The next morning, I see it is still in "pause" mode.

Is it perhaps possible, to schedule an action to "unpause" the manual pause button at 23:00H or so? If not, it would be a great future option.

Thank you very kindly,

Tom
Last edited by tommiedepommie on 04 Jan 2019, 15:27, edited 1 time in total.

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

Re: Qnzbget unpause after manual pause

Post by hugbug » 03 Jan 2019, 17:26

tommiedepommie wrote:
03 Jan 2019, 16:55
I pause the download in the Qnzbget interface by pushing the "Pause" button on top of the screen. (not the green button)
If I only knew what that is. Some special kind of QNAP package management possibly? Maybe you pause the whole virtual machine running nzbget instance? I don't know. I don't have QNAP and since you mentioned word "Qnzbget" that must be some special version of nzbget for QNAP.

Can you post a screenshot?

tommiedepommie
Posts: 6
Joined: 03 Jul 2013, 07:21

Re: Qnzbget unpause after manual pause

Post by tommiedepommie » 03 Jan 2019, 18:26

hello,

thank you for your quick reply. Yes, it is a IPKG package to install on the Qnap NAS servers.

IT is available through the Qnap store. at the moment the latest version is V20.

I have added a screenshot off the topmenu of nzbget on Qnap.

greetings tom
Qnzbget menubar.jpg

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

Re: Qnzbget unpause after manual pause

Post by hugbug » 03 Jan 2019, 19:00

Do you mean the pause-button between merge and resume?

tommiedepommie
Posts: 6
Joined: 03 Jul 2013, 07:21

Re: Qnzbget unpause after manual pause

Post by tommiedepommie » 03 Jan 2019, 20:14

yes,

it would be great if a "pause" which was activated by pressing that button, could be "unpaused" with the scheduler.

I did try that but it doesn't "unpause"

grt tom

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

Re: Qnzbget unpause after manual pause

Post by hugbug » 03 Jan 2019, 20:47

That button pauses certain (selected) downloads.
Why not pause the whole downloader via round button instead?

If you need to unpause all paused items in queue you can do that with a simple script, which you can then use in scheduler.

The following command resumes all paused items:

Code: Select all

nzbget -E G U 1-10000000
Then you make a scheduler script:

Code: Select all

#!/bin/sh
### NZBGET SCHEDULER SCRIPT
$NZBOP_APPBIN -E G U 1-10000000
save it to a file inside ScriptDir, create a scheduler task of type SCRIPT and choose that script.

tommiedepommie
Posts: 6
Joined: 03 Jul 2013, 07:21

Re: Qnzbget unpause after manual pause

Post by tommiedepommie » 04 Jan 2019, 09:06

hello,

your command works great, just as I needed. Only it doesn't Unpause from green button but from the Pause button in the menubar.

But that's ok for me.

Now I have to figure out how to add the script in nzbget. I already created the script but doesn't show up in the script listing.

Vielmal dank

grt tom

tommiedepommie
Posts: 6
Joined: 03 Jul 2013, 07:21

Re: Qnzbget unpause after manual pause

Post by tommiedepommie » 04 Jan 2019, 15:27

hello Hugbug,

Thank you very much for your help. It is working like a charm.

I created the Unpause.sh script and put it in script dir. Then added a new task and choose script and selected my script.

Now my server wakes the downloads at night at resumes downloading.

Thank you very much.

Grtzz tom

tommiedepommie
Posts: 6
Joined: 03 Jul 2013, 07:21

Re: Qnzbget unpause after manual pause [solved]

Post by tommiedepommie » 04 Jan 2019, 16:04

Correction:

Quote: your command works great, just as I needed. Only it doesn't Unpause from green button but from the Pause button in the menubar.

When executing ./nzbget -U it resumes from green button, when executing : ./nzbget -E G U 1-10000000 , it resumes from pause button.

Just added multiple lines so it will wake up from green button, pause button and change downloadrate to max.

Thx again Hugbug.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests