mimtek / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

Feature request: RSS separate fields #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to be able to set filters for each field separately.

I love how we can now search the title, description, and link fields with
the rss filter but it would be very helpful to have a separate filter for each.

For example, an option to search the description field for 
/Tv.x264/i 
and then another option to just search the title field of THOSE for 
/Curb.Your.Enthusiasm.S0[5-9]E.*/i

When i try to set both check marks i can't figure out how to make it work
with a single filter.  I've tried everything i can think of. This would
GREAYTLY simplify rss for sites which only have one large feed.

Original issue reported on code.google.com by Wonslung@gmail.com on 22 Nov 2009 at 2:32

GoogleCodeExporter commented 9 years ago
I figured out how to do this with a single filter.  It would still be a nice 
option
though.

Original comment by Wonslung@gmail.com on 22 Nov 2009 at 2:45

GoogleCodeExporter commented 9 years ago
Dont' want to be rude, but ............ SHARE PLEASE, lol.

So, you've basically got it set up so it must have BOTH:
/Tv.x264/i      AND      /Curb.Your.Enthusiasm.S0[5-9]E.*/i

?

Original comment by TJHart85...@gmail.com on 23 Nov 2009 at 4:52

GoogleCodeExporter commented 9 years ago
i think it depends on the feed, but for mine i had to set it like this
/Curb.Your.Enthusiasm.S0[5-9]E.*Tv.x264.*/i

Original comment by Wonslung@gmail.com on 23 Nov 2009 at 7:54

GoogleCodeExporter commented 9 years ago
>For example, an option to search the description field for 
>/Tv.x264/i 
>and then another option to just search the title field of THOSE for 
>/Curb.Your.Enthusiasm.S0[5-9]E.*/i

Now it working in such way:

content = '';
if(check_title) content = title;
if(check_description) content = content+' '+description;
if(check_link) content = content+' '+link;
checkForFilter(content);

As result, for your example you need to write something like this:

/(^Curb.Your.Enthusiasm.S0[5-9]E)|(Tv.x264)/i 

If i understood you in right way, ofcourse.

Original comment by novik65 on 23 Nov 2009 at 8:45

GoogleCodeExporter commented 9 years ago
doesn't your example hit either OR

for example, wouldn't it select for
Curb Your Enthusiasm S03E12 Tv.avi

because when you separate something wiht a | it will select either or

Original comment by Wonslung@gmail.com on 23 Nov 2009 at 9:44

GoogleCodeExporter commented 9 years ago
>for example, wouldn't it select for Curb Your Enthusiasm S03E12 Tv.avi

It wouldn't it select because filter catch only 5-9 seasons. Nor 3. Now i can't
undestand, what do you want. I describe algorithm above. Please details you 
request.

Original comment by novik65 on 23 Nov 2009 at 10:53

GoogleCodeExporter commented 9 years ago
that was a typo...very stupid of me.

It's not a big deal now, because i figured out how to do it without making 
changes,
but what i was saying is this:

Currently, you have 3 check boxes
Check title field
Check Description field
Check Link field

What i think would make it REALLY great is to separate each out with it's own 
filter.

Right now you have "exclude" separate.

It would be REALLY cool to have something like that for EACH option.
hold on, i'll see if i can make an example of what i'm talking about in photo 
shop\

Original comment by Wonslung@gmail.com on 23 Nov 2009 at 12:03

GoogleCodeExporter commented 9 years ago
See to filters dialog. Now it is like spacefighter control panel. But you wish 
to do
it yet more complex. For wich reason? You can make 3 filters, if you want - 
separate
for title, description and link.

Original comment by novik65 on 23 Nov 2009 at 12:13

GoogleCodeExporter commented 9 years ago
something like this
http://img94.imageshack.us/img94/9800/example1.png

For sites that have one BIG rss feed this would make setting up rss much 
easier. 
Though i understand if you don't do this.  I figured out how to get it working
WITHOUT this setup.  It just requires setting filters different.  This was a 
request
before i knew how to make it work.  I just think it would make setup easier.

perhaps i'm wrong.

Original comment by Wonslung@gmail.com on 23 Nov 2009 at 12:39

GoogleCodeExporter commented 9 years ago
>something like this

No. You need to separate pair Filter/Exclude for each point. E.g. one pair for 
title,
one for description and one for link. As result - filter's dialog will be big 
and
complex.
May be in future. I will think about this.

Original comment by novik65 on 23 Nov 2009 at 12:49

GoogleCodeExporter commented 9 years ago
ahh...i see what you're saying.

I got mine working by linking them together like this:

/30.Rock.S0[4-9]E[0-9][0-9].*720p.*Category\:.Episodes\/TV*/i

the way you suggested using | between them won't work i dont' think because | 
means
either OR

basically, what i needed was to only get tv shows from the Episodes Tv category 
and
not the Tv Packs category.

On some sites, i needed it to only get from the Tv.X264 category and not the 
Tv.Xvid

it seems that linking them together directly works for me.

Original comment by Wonslung@gmail.com on 23 Nov 2009 at 1:07

GoogleCodeExporter commented 9 years ago

Original comment by novik65 on 24 Nov 2009 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by novik65 on 19 Jan 2010 at 4:25