Page 5 of 8

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

Posted: 30 Jan 2015, 15:17
by hugbug
In the NZBGet settings set ScriptDir to a path where you have write permissions. Then download the script via browser from a link on the first page of this topic and put the script into the ScriptDir.

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

Posted: 02 Feb 2015, 10:15
by JesusOnEez
Doh, yes. Obvious when you think about it.

Ta.

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

Posted: 06 Feb 2015, 22:28
by foresto
hugbug wrote: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 fakedetector 1.6, and it still uses xmlrpclib. Did you decide not to send your change upstream?

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

Posted: 06 Feb 2015, 22:30
by foresto
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.

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

Posted: 06 Feb 2015, 23:25
by hugbug
I am the upstream actually.

The script uses low level string parsing for critical parts and xmlrpc for other things. Doing everything manually doesn't make sense.

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

Posted: 06 Feb 2015, 23:42
by foresto
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.

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

Posted: 02 Apr 2015, 08:13
by chester0
Hi, thanks for this great script, i just installed it and tested it on a release i know its bad, however it went through the log states:
FakeDetector: Skipping sorting since could not find any rar-files
the files are in the format: *.r00 .. are these kind of extensions not supported?
cheers.

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

Posted: 02 Apr 2015, 08:22
by hugbug
Yes, this filename format isn't supported. I haven't seen fakes with this format yet.
If you can send me an example nzb I'll extend the script to support this format as well - nzbget@gmail.com.

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

Posted: 02 Apr 2015, 08:26
by chester0
Yea i have seen a lot lately i will send you some, in a while, sidenote it works flawless with *.rar files. Is there a big difference in *.rar and *.r00 or there is another reason behind it?

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

Posted: 02 Apr 2015, 08:30
by hugbug
The script sorts the files in the download queue in order for the last file in the rar-set to be downloaded first (because the exes are usually at the end of archives). The sorting routine must work differently for other filename format.