pillone / usntssearch

NZB Metasearch engine
pillone.github.io/usntssearch
263 stars 79 forks source link

Exclude specific "Type" #78

Closed JackDandy closed 6 years ago

JackDandy commented 10 years ago

Consider adding ...

For each provider, the ability to define (in a text box) several "Type" to exclude ...

e.g. [ "type 1", "type 2", "TV - FOREIGN", "type x - y - z" ]

Thanks

pillone commented 10 years ago

well, why just don't using a global option? If you filter something, you don't want to see them appearing at all and in general right?

What's you angle?

JackDandy commented 10 years ago

Note: this idea is for a next version NOT 0.45

The global affects the output search. However, suggested filter is for displayed results. I was a member of a german site, where "foreign" meant english - global would break this. Therefore, my angle is not to break function in those situations.

In the light of today, instead of a box next to each provider, add a section where users add arbitrary rows for example ...

[#] [ _Provider_ (empty:global) ] [ _Field_ (empty:title) ] [ TEXT e.g. _TV - FOREIGN ] [ **#FF0000**_ (empty:filter) ]
where [#] is a number that can be used to re-order rows.

FILTERS

[1] [ Provider 02 ] [ Type ] [ Text01 ] [ ] => do not display items Provider 02 on Type field _contains_ Text01 [2] [ Provider 02 ] [ Title ] [ Text02 ] [ # FF0000 ] => highlight items Provider 02 on Title field _contains_ Text02 as Red [3] [ ] [ Title ] [ 720p ] [# 0000BB ] => highlight any item on Title field _contains_ 720p as Blue [4] [ Provider 06 ] [ Title ] [ 1080p ] [# 000077 ] => highlight item with Provider 06 on Title field _contains_ 1080p Dark Blue

........................... For greater flexibility, selection should be a function of item "contains" instead of item "is equal".

The highlighter expands on the initial filter idea :)