[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: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

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

Post by hugbug » 29 Aug 2014, 21:04

Update: version 1.4:
  • improved the cleanup of the temp directory to delete old temp files.

JVM
Posts: 83
Joined: 21 Oct 2013, 05:11

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

Post by JVM » 30 Aug 2014, 05:35

hugbug wrote:Update: version 1.4:
  • improved the cleanup of the temp directory to delete old temp files.
In post processing, it tries to delete the current nzb twice, resulting in an error on the second try. I found that you need to check for empty nzbids before appending the same id twice:

Code: Select all

old_temp_files = list(set(files)-set(nzbids))
	if not nzbids == []:
		old_temp_files.append(str(nzb_id))
but not sure if it covers all cases, seems to.

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

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

Post by hugbug » 30 Aug 2014, 08:50

Strange, I didn't have the error. I'll look into it.

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

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

Post by hugbug » 30 Aug 2014, 15:14

Update: version 1.5:
  • fix for:
    JVM wrote:In post processing, it tries to delete the current nzb twice, resulting in an error on the second try.

JVM
Posts: 83
Joined: 21 Oct 2013, 05:11

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

Post by JVM » 30 Aug 2014, 16:21

So you got this error in the end? I updated PasswordDetector with the updated clean_up function, looks like it covers all cases now.

Ayla
Posts: 21
Joined: 26 Aug 2014, 17:02

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

Post by Ayla » 03 Sep 2014, 11:56

I'm using the latest version and seeing this error a lot:

Code: Select all

FakeDetector: Could not remove temp file /Users/martin/Library/Application Support/NZBGet/tmp/FakeDetector/179

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

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

Post by hugbug » 03 Sep 2014, 15:00

Please post the full post-processing log.

blindpet
Posts: 42
Joined: 02 May 2014, 10:27
Contact:

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

Post by blindpet » 31 Oct 2014, 07:13

hugbug, can you stick this on sourceforge so it's easier to grab for installing on linux?

http://sourceforge.net/projects/nzbget/files/ppscripts/

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

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

Post by hugbug » 31 Oct 2014, 08:26

OK, will do.

blindpet
Posts: 42
Joined: 02 May 2014, 10:27
Contact:

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

Post by blindpet » 05 Nov 2014, 23:01

Creating a guide for this now and have a question so I don't misinform. Do you have to reorder the post-processing scripts and make FakeDetector the top priority if you are using multiple post processing scripts for a certain category, i.e. does it have to be above VideoSort or is NZBGet smart enough to know since it's set as a QueueScript?

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests