[Queue-Script] FakeDetector - early detection of fake videos

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.
hugbug
Developer & Admin
Posts: 6570
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

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

Post by hugbug » 30 Jan 2015, 15:17

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.

JesusOnEez
Posts: 2
Joined: 30 Jan 2015, 10:57

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

Post by JesusOnEez » 02 Feb 2015, 10:15

Doh, yes. Obvious when you think about it.

Ta.

foresto
Posts: 10
Joined: 06 Feb 2015, 20:03

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

Post by foresto » 06 Feb 2015, 22:28

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?

foresto
Posts: 10
Joined: 06 Feb 2015, 20:03

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

Post by foresto » 06 Feb 2015, 22:30

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.

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

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

Post by hugbug » 06 Feb 2015, 23:25

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.

foresto
Posts: 10
Joined: 06 Feb 2015, 20:03

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

Post by foresto » 06 Feb 2015, 23:42

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.

chester0
Posts: 6
Joined: 02 Apr 2015, 08:10

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

Post by chester0 » 02 Apr 2015, 08:13

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.

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

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

Post by hugbug » 02 Apr 2015, 08:22

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.

chester0
Posts: 6
Joined: 02 Apr 2015, 08:10

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

Post by chester0 » 02 Apr 2015, 08:26

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?

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

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

Post by hugbug » 02 Apr 2015, 08:30

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests