Search found 10 matches

by foresto
14 Feb 2015, 22:11
Forum: Support
Topic: Multiple simultaneous downloads?
Replies: 3
Views: 5705

Re: Multiple simultaneous downloads?

When server level is increased the level-0-server may be idle. If you have fast servers the bandwidth should be fully used all the time even if one (or more) of servers doesn't have articles. If your backup-servers are slow the speed will be limited by them. This is how connections and download thr...
by foresto
13 Feb 2015, 04:22
Forum: Support
Topic: Multiple simultaneous downloads?
Replies: 3
Views: 5705

Multiple simultaneous downloads?

Can nzbget be configured to work on more than one download at a time? Right now, it's working on a download from my fill server (level 1) because the articles for that download are not on my main server (level 0). Since the fill server is bandwidth-capped, this leaves free bandwidth on my net connec...
by foresto
07 Feb 2015, 09:05
Forum: Support
Topic: Queue Scripts Documentation, Reordering Files
Replies: 8
Views: 3820

Re: Queue Scripts Documentation, Reordering Files

I see. I didn't mean to imply that there's something inherently wrong with network RPC. I was mainly curious to know whether the existing stdout commands could be used instead because that would simplify the script I want to write. If the functionality was already there, I wanted to use it. Pointing...
by foresto
07 Feb 2015, 00:24
Forum: Support
Topic: Queue Scripts Documentation, Reordering Files
Replies: 8
Views: 3820

Re: Queue Scripts Documentation, Reordering Files

When an nzb-file is added, nzbget could pass the file list (as json) to the queue script on stdin. The queue script could then print its commands on stdout, much like a scan script can already do. It's not impossible, though I would certainly understand if it is outside the scope of your design. (It...
by foresto
06 Feb 2015, 23:42
Forum: Extension scripts
Topic: [Queue-Script] FakeDetector - early detection of fake videos
Replies: 79
Views: 332730

Re: [Queue-Script] FakeDetector - early detection of fake vi

hugbug wrote:I am the upstream actually.
Oh! Heh... amidst the jumble of messages I've been reading in search results, I must have mentally swapped your username with someone else's. Sorry about that.
by foresto
06 Feb 2015, 23:38
Forum: Support
Topic: Queue Scripts Documentation, Reordering Files
Replies: 8
Views: 3820

Re: Queue Scripts Documentation, Reordering Files

Yes, I can see that the fakedetector script uses RPC. I'm asking if there is a way to reorder files using stdout control commands instead of RPC, something like the scan script examples in the docs.
by foresto
06 Feb 2015, 22:30
Forum: Extension scripts
Topic: [Queue-Script] FakeDetector - early detection of fake videos
Replies: 79
Views: 332730

Re: [Queue-Script] FakeDetector - early detection of fake vi

hugbug wrote:On my linux box just staring up (any) python script takes 5 seconds when that happens during download (when CPU is almost fully loaded).
I wonder if you could reduce the 5 second start time by running the script (modified appropriately) on Micro Python.
by foresto
06 Feb 2015, 22:28
Forum: Extension scripts
Topic: [Queue-Script] FakeDetector - early detection of fake videos
Replies: 79
Views: 332730

Re: [Queue-Script] FakeDetector - early detection of fake vi

The problem was in xmlrpc-module, which apparently is very slow in python. Reworked the code to use JSON instead - 1m40s - much better. But still not good enough. Rewritten the code using low level string parsing - 10 seconds, from which 4 seconds is the script boot time. I just downloaded fakedete...
by foresto
06 Feb 2015, 22:19
Forum: Support
Topic: Queue Scripts Documentation, Reordering Files
Replies: 8
Views: 3820

Re: Queue Scripts Documentation, Reordering Files

Thanks. So it must be done with network calls instead of stdout?
by foresto
06 Feb 2015, 20:23
Forum: Support
Topic: Queue Scripts Documentation, Reordering Files
Replies: 8
Views: 3820

Queue Scripts Documentation, Reordering Files

I just noticed the Queue Scripts section of the docs, but since it's empty, I'll ask here: What's the best way for a queue script to reorder the files in a newly-added nzb before downloading begins? I want to move .nfo files to the top and sort rar files in the order needed for extraction. If a queu...