nzbget / FakeDetector

Fake detection script for NZBGet
40 stars 13 forks source link

Implement Banned Extensions #3

Closed r89m closed 8 years ago

r89m commented 8 years ago

Not sure if this is suitable for everyone, so feel free to not merge this:

Downloads may be detected as fake if they contain files of a certain type, such as .wmv

hugbug commented 8 years ago

Thank you. Please make the banned extensions list a configurable option and I'll merge it. See VideoSort as example on how to work with options. Also see the docs - https://github.com/nzbget/nzbget/wiki/Extension-scripts

r89m commented 8 years ago

Will do, although I won't be able to get to it until the weekend

r89m commented 8 years ago

I'm pretty sure I've managed to make all the necessary changes. The option now appears in the NZBGet GUI and it failed a download with a banned extension added via the NZBGet settings page.

Let me know if there's anything else you need from me.

hugbug commented 8 years ago

I've added two inline comments. Other than that it's perfect. Thank you.

r89m commented 8 years ago

No problem, thanks for writing this in the first place!