diff --git a/CHANGES.md b/CHANGES.md index 4ac87d81..e5387b70 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -43,6 +43,7 @@ * Update jQuery 1.8.3 to 2.2.4 * Add one time run to start up that deletes troublemaking compiled files * Fix reload of homepage after restart in some browsers +* Add detection of '1080p Remux' releases as fullhdbluray * Change add IPv4 config option when enabling IPv6. diff --git a/sickbeard/common.py b/sickbeard/common.py index 7a3b0522..04b85b2f 100644 --- a/sickbeard/common.py +++ b/sickbeard/common.py @@ -237,7 +237,8 @@ class Quality: return Quality.FULLHDWEBDL elif checkName(['720p', 'blu.?ray|hddvd|b[r|d]rip', 'x264|h.?264'], all): return Quality.HDBLURAY - elif checkName(['1080p', 'blu.?ray|hddvd|b[r|d]rip', 'x264|h.?264'], all): + elif checkName(['1080p', 'blu.?ray|hddvd|b[r|d]rip', 'x264|h.?264'], all) or \ + (checkName(['1080[pi]', 'remux'], all) and not checkName(['hdtv'], all)): return Quality.FULLHDBLURAY elif checkName(['2160p', 'web.?(dl|rip|.[hx]26[45])'], all): return Quality.UHD4KWEB diff --git a/tests/common_tests.py b/tests/common_tests.py index d38f4aa4..2c32939c 100644 --- a/tests/common_tests.py +++ b/tests/common_tests.py @@ -135,7 +135,8 @@ class QualityTests(unittest.TestCase): self.check_quality_names(common.Quality.FULLHDBLURAY, [ 'Test.Show.S01E02.1080p.BluRay.x264-GROUP', 'Test.Show.S01E02.1080p.HDDVD.x264-GROUP', - 'Test.Show.S01E02.1080p.Blu-ray.x264-GROUP']) + 'Test.Show.S01E02.1080p.Blu-ray.x264-GROUP', + 'Test Show S02 1080p Remux AVC FLAC 5.1']) def test_UHD4KWEB(self): self.check_quality_names(common.Quality.UHD4KWEB, [