Sick-Beard icon indicating copy to clipboard operation
Sick-Beard copied to clipboard

Made checks for x264, h264, h.264 more liberally matching

Open sirchia opened this issue 11 years ago • 11 comments

Another attempt since the last request became too messy.

Please refer to closed pull request for details. https://github.com/midgetspy/Sick-Beard/pull/526

Hope you will incorporate these minor improvements on the regular expression matching for quality profiles as they tolerate more diverse NZB naming styles without increasing the probability for false positives.

sirchia avatar Mar 01 '13 00:03 sirchia

last time someone proposed this.. it was matching too much spam/bad releases... do you have a reason/example that this needs to be modified?

thezoggy avatar Mar 01 '13 04:03 thezoggy

Yes, as mentioned in the discussion of the previous pull-request, I needed it to get a complete download of 'The legend of Korra'. Unfortunately I was using mostly NZBMatrix at the time, which as you may know is down now so it may be harder now to verify. But in a nutshell, these are the relaxations that I have implemented: Change 1: Pre-change: only x264 or either h264 and h.264 when its from itunes Post change: x264, x.264, h264, h.264 from any source Rationale: Inlcuding a 'dot' is more a manner of taste and x264 is the open source library name implementing the h.264 -> no indication for a less trustworthy source

Change 2:

Pre-change: web.dl, web-dl or anything with one character between web and dl Post change: web.dl, webdl, web-dl or anything else with web in it Rationale: I don't know for sure anymore, but I believe there was one episode missing after the 1st change and a perfectly good version only included WEB as a source indicator (which was indeed a WEB-DL quality upload)

Hope you can agree to this motivation :)

Edit: advertised markdown did not show table, restyled for readability

sirchia avatar Mar 01 '13 07:03 sirchia

you do realize that a . isnt a . in regex. a . would be a .. the . means any character except a newline

thezoggy avatar Mar 01 '13 07:03 thezoggy

please show me specific release names that need this change.

thezoggy avatar Mar 01 '13 07:03 thezoggy

Yes, I know what a . means in a regex :) I had one example in the previous pull request: "The Legend Of Korra S01E07 The Aftermath 720p HDTV h264 OOO"

While this is a perfectly valid HDTV release, it was not found because your regex did not expect h264 to be used outside of very specific itunes releases.

As NZBMatrix is down, I cant verify the other names of releases that gave me problems but would be something like:

"The Legend Of Korra S01E10 Some title 720p WEB h264 OOO"

sirchia avatar Mar 01 '13 08:03 sirchia

any update on this one?

bruvv avatar Mar 28 '13 16:03 bruvv

I think the proposed change has been well explained, is quite minor and does not allow much room for false positives/spam/bad releases. I hope the devs will incorporate them soon.

sirchia avatar Mar 28 '13 18:03 sirchia

last time we looked into doing this change it introduced bad releases.. why i asked for some valid things that sb is missing because of this. (if we did foreign content..yes i would agree it is needed)

thezoggy avatar Mar 29 '13 06:03 thezoggy

I have my own build so that is why I asked, I use it now and it's working better then the default SB settings (I was missing x264 releases)

bruvv avatar Mar 31 '13 20:03 bruvv

I like this commit. Here are a few samples for which this change would be needed:

Criminal Minds S08E19 720p WEB-DL DD5 1 H264-NFHD Top Gear US S03E15 1080p WEB-DL H264-NTS Top Gear US S03E15 720p WEB-DL H264-NTS mad men s06e02 1080p web-dl h264-nts Glee S04E18 1080p WEB-DL DD5 1 H 264-ECI Legit S01E13 720p WEB-DL DD5 1 H 264-BS

depassp avatar Apr 13 '13 05:04 depassp

@depassp those are already caught by sb... no change is needed

thezoggy avatar Apr 14 '13 07:04 thezoggy