Page 1 of 1
RSS, how to add regex to not download same episodes again?
Posted: June 1st, 2008, 4:03 pm
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?
Re: RSS, how to add regex to not download same episodes again?
Posted: June 1st, 2008, 5:33 pm
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.
Re: RSS, how to add regex to not download same episodes again?
Posted: June 2nd, 2008, 4:38 am
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.
Re: RSS, how to add regex to not download same episodes again?
Posted: June 2nd, 2008, 7:00 am
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...)
Re: RSS, how to add regex to not download same episodes again?
Posted: June 2nd, 2008, 9:04 am
by shypike
Beave wrote:
What is a job-name?
The name of the NZB, it won't download two exactly identical NZB names.
Re: RSS, how to add regex to not download same episodes again?
Posted: June 3rd, 2008, 8:12 am
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!
Re: RSS, how to add regex to not download same episodes again?
Posted: June 3rd, 2008, 9:05 am
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.