Newsbin 6.52 Beta 3 -- Filename filter

This is the place to help test and discuss Version 6 Beta releases.

Newsbin 6.52 Beta 3 -- Filename filter

Postby zoggy » Sun Jun 15, 2014 12:40 am

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...
zoggy
Occasional Contributor
Occasional Contributor
 
Posts: 33
Joined: Fri Feb 20, 2009 8:37 am

Registered Newsbin User since: 02/19/09

Re: Newsbin 6.52 Beta 3 -- Filename filter

Postby Quade » Sun Jun 15, 2014 1:28 am

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin 6.52 Beta 3 -- Filename filter

Postby zoggy » Sun Jun 15, 2014 1:38 am

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.
zoggy
Occasional Contributor
Occasional Contributor
 
Posts: 33
Joined: Fri Feb 20, 2009 8:37 am

Registered Newsbin User since: 02/19/09

Re: Newsbin 6.52 Beta 3 -- Filename filter

Postby Quade » Sun Jun 15, 2014 8:35 am

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin 6.52 Beta 3 -- Filename filter

Postby zoggy » Sun Jun 15, 2014 9:28 am

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?
zoggy
Occasional Contributor
Occasional Contributor
 
Posts: 33
Joined: Fri Feb 20, 2009 8:37 am

Registered Newsbin User since: 02/19/09

Re: Newsbin 6.52 Beta 3 -- Filename filter

Postby Quade » Sun Jun 15, 2014 11:46 am

You should have a filter profile named "Global". If not, you can add it. It applies to all downloads.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin 6.52 Beta 3 -- Filename filter

Postby zoggy » Sun Jun 15, 2014 7:19 pm

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.
zoggy
Occasional Contributor
Occasional Contributor
 
Posts: 33
Joined: Fri Feb 20, 2009 8:37 am

Registered Newsbin User since: 02/19/09


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: No registered users and 3 guests