Page 1 of 1

Newsbin 6.52 Beta 3 -- Filename filter

PostPosted: Sun Jun 15, 2014 12:40 am
by zoggy
when using these filename rejects:
Code: Select all
[.]srr
[.]sfv
[.]url
Bonus.rar


none of it works.. if I remove the .srr one then it works. seems to be an outstanding bug..

trying these filename rejects.. none of them appear to work anymore... I could have sworn they worked back in 6.4x days..

Code: Select all
\.proof\.jpg
\.url
\.srs
Bonus.rar
sample\.(avi|mkv)


is there a way to see why / validate the list (looking for invalid regex or something)?
maybe log that it kicked off filter <x> in the logs so I know it at least ran? speaking of the logger.. the window fills up so fast.. that its hard to find any reference to the reject filter working with verbose logs (especially if you have a lot of connections / multiple servers). maybe offer a way to segment the usp related messages from the newsbin (logic) messages?

also I see you have mentioned about redoing how filters work.. you could just offer something similar to how sabnzbd does a cleanup list.. just provide the file extensions you want to cleanup in a comma delineated list.. "url,srs" wouldnt be as flexible but far easier to understand and to get working...

Re: Newsbin 6.52 Beta 3 -- Filename filter

PostPosted: Sun Jun 15, 2014 1:28 am
by Quade
They're all valid. The filename filter only applies during download. It doesn't filter the contents of the RAR files. I suspect the files you're filtering are IN the RAR and you need to use the "Post UNRAR" filter instead to filter what comes out of the RAR files. It's also possible they're being created in the repair process. Same answer though. Post-UnRAR filter.

If you're trying to filter the display so, you don't see them. You need to add filters to the subject reject filters.

Re: Newsbin 6.52 Beta 3 -- Filename filter

PostPosted: Sun Jun 15, 2014 1:38 am
by zoggy
Quade wrote:They're all valid. The filename filter only applies during download. It doesn't filter the contents of the RAR files. I suspect the files you're filtering are IN the RAR and you need to use the "Post UNRAR" filter instead to filter what comes out of the RAR files. It's also possible they're being created in the repair process. Same answer though. Post-UnRAR filter.

If you're trying to filter the display so, you don't see them. You need to add filters to the subject reject filters.


i am using the post unrar filter.. options > autopar options > enable post unrar filter.

Re: Newsbin 6.52 Beta 3 -- Filename filter

PostPosted: Sun Jun 15, 2014 8:35 am
by Quade
i am using the post unrar filter.. options > autopar options > enable post unrar filter.


If this is ALL that you're using, then files that aren't in a RAR set will get downloaded too. How about adding them to the global filename reject filter as well?

If you want to reject these files, the filters need to be in both places. One place for normal downloads and the other to filter the RAR contents.

I use the post unrar filters myself

[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter Bonus.rar
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter TOWN - NZB FORUM - KLICK IT.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter TOWN - NZB INDEXER - KLICK IT.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter Top Usenet Provider - CHEAP - FULL SPEED.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter TOWN - NZB FORUM - KLICK IT.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter TOWN - NZB INDEXER - KLICK IT.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter Top Usenet Provider - CHEAP - FULL SPEED.url

I have [.]srr in this one too. It makes sense that .srr's aren't in the RAR set because they're used to regenerate the RAR set. I think you need to add them to the global filename reject.

You can't add them if the regex is invalid. They get checked before they're added.

Re: Newsbin 6.52 Beta 3 -- Filename filter

PostPosted: Sun Jun 15, 2014 9:28 am
by zoggy
Quade wrote:
i am using the post unrar filter.. options > autopar options > enable post unrar filter.


If this is ALL that you're using, then files that aren't in a RAR set will get downloaded too. How about adding them to the global filename reject filter as well?

If you want to reject these files, the filters need to be in both places. One place for normal downloads and the other to filter the RAR contents.

I use the post unrar filters myself

[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter Bonus.rar
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter TOWN - NZB FORUM - KLICK IT.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter TOWN - NZB INDEXER - KLICK IT.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter Top Usenet Provider - CHEAP - FULL SPEED.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter TOWN - NZB FORUM - KLICK IT.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter TOWN - NZB INDEXER - KLICK IT.url
[07:27:17] HIGH HFC: Rejected RAR Filter: Filename Filter Top Usenet Provider - CHEAP - FULL SPEED.url

I have [.]srr in this one too. It makes sense that .srr's aren't in the RAR set because they're used to regenerate the RAR set. I think you need to add them to the global filename reject.

You can't add them if the regex is invalid. They get checked before they're added.


where does one set the global filename reject at?

Re: Newsbin 6.52 Beta 3 -- Filename filter

PostPosted: Sun Jun 15, 2014 11:46 am
by Quade
You should have a filter profile named "Global". If not, you can add it. It applies to all downloads.

Re: Newsbin 6.52 Beta 3 -- Filename filter

PostPosted: Sun Jun 15, 2014 7:19 pm
by zoggy
Quade wrote:You should have a filter profile named "Global". If not, you can add it. It applies to all downloads.


ok thanks, yeah I did not have any filters except the one I created. I'll try this out and report back.