Page 2 of 8

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

Posted: 29 Aug 2014, 21:04
by hugbug
Update: version 1.4:
  • improved the cleanup of the temp directory to delete old temp files.

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

Posted: 30 Aug 2014, 05:35
by JVM
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.

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

Posted: 30 Aug 2014, 08:50
by hugbug
Strange, I didn't have the error. I'll look into it.

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

Posted: 30 Aug 2014, 15:14
by hugbug
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.

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

Posted: 30 Aug 2014, 16:21
by JVM
So you got this error in the end? I updated PasswordDetector with the updated clean_up function, looks like it covers all cases now.

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

Posted: 03 Sep 2014, 11:56
by Ayla
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

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

Posted: 03 Sep 2014, 15:00
by hugbug
Please post the full post-processing log.

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

Posted: 31 Oct 2014, 07:13
by blindpet
hugbug, can you stick this on sourceforge so it's easier to grab for installing on linux?

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

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

Posted: 31 Oct 2014, 08:26
by hugbug
OK, will do.

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

Posted: 05 Nov 2014, 23:01
by blindpet
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?