Purposefully fail download if specific filetype is detected?

Get help, report and discuss bugs.
Post Reply
Soaringswine
Posts: 20
Joined: 31 May 2017, 05:10

Purposefully fail download if specific filetype is detected?

Post by Soaringswine » 30 Oct 2017, 04:08

Is there a way for NZBGet to automatically fail a download if a specific filetype (ISO, for instance) is detected during post-processing?

This would be to optimal way to download remuxes with Radarr, as Radarr can only look at release titles, not the actual filetypes in the NZB.

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

Re: Purposefully fail download if specific filetype is detected?

Post by hugbug » 30 Oct 2017, 06:44

Pp-scripts can mark downloads as bad by printing special command (example in bash):

Code: Select all

echo "[NZB] MARK=BAD";
Hopefully Radarr understands history status "FAILURE/BAD" correctly.

Soaringswine
Posts: 20
Joined: 31 May 2017, 05:10

Re: Purposefully fail download if specific filetype is detected?

Post by Soaringswine » 30 Oct 2017, 20:25

no existing functionality or scripts that do this?

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

Re: Purposefully fail download if specific filetype is detected?

Post by hugbug » 30 Oct 2017, 20:34

I guess you can use FakeDetector if you set its option BannedExtensions accordingly - https://forum.nzbget.net/viewtopic.php?f=8&t=1394.

kloaknet
Posts: 337
Joined: 23 Jul 2014, 08:52

Re: Purposefully fail download if specific filetype is detected?

Post by kloaknet » 31 Oct 2017, 16:30

hugbug wrote:
30 Oct 2017, 06:44
Pp-scripts can mark downloads as bad by printing special command (example in bash):

Code: Select all

echo "[NZB] MARK=BAD";
Hopefully Radarr understands history status "FAILURE/BAD" correctly.
Sonarr does not suport the marked BAD items. Thats why I made a force failure option in the Completion script for NZBGet, so when I forcefully remove all but the smallest files from the NZB, Sonarr understands that the NZB failed.

Post Reply

Who is online

Users browsing this forum: No registered users and 54 guests