RSS, how to add regex to not download same episodes again?

Feel free to talk about anything and everything in this board.
Post Reply
Beave
Release Testers
Release Testers
Posts: 15
Joined: January 28th, 2008, 5:40 pm

RSS, how to add regex to not download same episodes again?

Post by Beave »

Hi, I'm still using 0.3.4, but I am thinking of switching to the new release. I noticed regex filter in rss is gone. Only word filter.
The usual regex \s-\s.{1,2}x(?:01|02|03|04|05|06|07|08) prevented my rss feed from downloading the same episodes again.
How would I implement this in the new releases?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: RSS, how to add regex to not download same episodes again?

Post by shypike »

Why does your regex prevent double downloading?
The new release has only the '*' wildcard, but also has reject filters.
Also, two exactly equal job-names will not be downloaded twice.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: RSS, how to add regex to not download same episodes again?

Post by shypike »

I'll add support for regex back. Next release, you can put "re:" in front of a filter so that it will be interpreted as a regex.
Beave
Release Testers
Release Testers
Posts: 15
Joined: January 28th, 2008, 5:40 pm

Re: RSS, how to add regex to not download same episodes again?

Post by Beave »

shypike wrote: Also, two exactly equal job-names will not be downloaded twice.
What is a job-name? The title of the nzb or the name of the rss feed? Does that mean, I can't download the standard xvid and the 720p version of the same episode anymore?
shypike wrote: Why does your regex prevent double downloading?
If say I downloaded the first 10 eps of Heroes and they go on or break for a few month, often the first 10 eps will be reuploaded when the next fresh episodes are coming. Then my rss feed will redownload them again (maybe not anymore?). If I use \s-\s.{1,2}x(?:11|12|13|14|15...)  then I can prevent that.
shypike wrote: I'll add support for regex back. Next release, you can put "re:" in front of a filter so that it will be interpreted as a regex.
That sounds great, thx. (I actually tried to put "regex:" in front of it to see if there was a hidden feature...)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: RSS, how to add regex to not download same episodes again?

Post by shypike »

Beave wrote: What is a job-name?
The name of the NZB, it won't download two exactly identical NZB names.
Beave
Release Testers
Release Testers
Posts: 15
Joined: January 28th, 2008, 5:40 pm

Re: RSS, how to add regex to not download same episodes again?

Post by Beave »

Hmm, so downloading the same episode in different formats won't work. What if i make a different rss feed for each version I want? Will it still only download one nzb name once?
Also, when there are repack versions available I always want them. Can I turn that feature off somewhere?

I would suggest rather to compare the nfo file names of the nzbs. If they are the same (which is often the case) sab should skip the next one. If a repack or proper comes out, they have a different nfo file name. If the nzb has no nfo I usually don't want them, but that should probably be configurable.

btw. thanks for the many improvements you make to sabnzbd!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: RSS, how to add regex to not download same episodes again?

Post by shypike »

Usually posts with different formats do not have 100% equal names.
We're not going to support doing stuff with NFO files, we must draw the line somewhere.

Fo really sophisticated stuff you would need to do your own RSS processor and
pass on the nzb's to SABnzbd.
Post Reply