diff --git a/NzbDrone.Core.Test/Files/RSS/newzbin_full_dvd.xml b/NzbDrone.Core.Test/Files/RSS/newzbin_full_dvd.xml deleted file mode 100644 index 5abdb2e95..000000000 --- a/NzbDrone.Core.Test/Files/RSS/newzbin_full_dvd.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - www.newzbin.com (reports) - http://www.newzbin.com/browse/category/p/tv/ - Newzbin Reports Feed - Mon, 25 Apr 2011 16:08:24 GMT - 42 - www.newzbin.com - Usenet Search - Copyright (c) 2002 - 2007 Newzbin Limited. All Rights Reserved. - - http://www.newzbin.com/m/i/logo/newzbinv3.png - http://www.newzbin.com/browse/category/p/tv/ - www.newzbin.com - Visit Newzbin.com - The Ultimate In Usenet Indexing - - - Last Man Standing - Season 1 [DVD 1] - https://newzbin2.es/browse/post/6514817/ - https://newzbin2.es/browse/post/6514817/ - https://newzbin2.es/browse/post/6514817/#CommentsPH - - -
  • - ID: 6514817 - (Bookmark) - (NZB) - (NFO) - (More Info) - (Size: 5,056.7MiB) -
  • -
  • - Attributes: - Category - TV - | Region System - NTSC | Video Source - DVD | Video Format - DVD | Video Genre - Comedy | Language - English | Subtitled Language - Dutch -
  • -
  • Groups: alt.binaries.boneless
  • -
  • Poster: CPP-gebruiker@domein.nl (Darkling)
  • -
  • PostDate: Saturday 25 Feb 2012, 06:57AM PST
  • - ]]> -
    - 6514817 - TV - - NTSC - DVD - DVD - Comedy - English - Dutch - - - alt.binaries.boneless - - Report is complete - http://tvrage.com/Last_Man_Standing/episode_list/1 - - 0 - - - - https://newzbin2.es/browse/post/6514817/nzb/ - CPP-gebruiker@domein.nl (Darkling) - 5302349730 - Sat, 25 Feb 2012 14:57:21 GMT - - 3 - 0 - - - Mon, 27 Feb 2012 17:42:50 GMT -
    -
    -
    \ No newline at end of file diff --git a/NzbDrone.Core.Test/IndexerTests.cs b/NzbDrone.Core.Test/IndexerTests.cs index ac1ccdfae..05e0fc562 100644 --- a/NzbDrone.Core.Test/IndexerTests.cs +++ b/NzbDrone.Core.Test/IndexerTests.cs @@ -458,22 +458,6 @@ namespace NzbDrone.Core.Test parseResults[0].Age.Should().Be(expectedAge); } - [Test] - public void newzbin_should_mark_full_dvd_report_as_unknown() - { - WithConfiguredIndexers(); - - Mocker.GetMock() - .Setup(h => h.DownloadStream(It.IsAny(), It.IsAny())) - .Returns(File.OpenRead(".\\Files\\Rss\\newzbin_full_dvd.xml")); - - //Act - var parseResults = Mocker.Resolve().FetchRss(); - - parseResults.Should().HaveCount(1); - parseResults[0].Quality.QualityType.Should().Be(QualityTypes.Unknown); - } - private static void Mark500Inconclusive() { ExceptionVerification.MarkInconclusive(typeof(WebException)); diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj index 79f973958..dbdf1a558 100644 --- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj +++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj @@ -205,9 +205,6 @@ Always - - Always - Always diff --git a/NzbDrone.Core/Providers/Indexer/Newzbin.cs b/NzbDrone.Core/Providers/Indexer/Newzbin.cs index faa88df3d..74101a75b 100644 --- a/NzbDrone.Core/Providers/Indexer/Newzbin.cs +++ b/NzbDrone.Core/Providers/Indexer/Newzbin.cs @@ -22,7 +22,7 @@ namespace NzbDrone.Core.Providers.Indexer { } - private const string URL_PARAMS = "feed=rss&hauth=1&ps_rb_language=4096"; + private const string URL_PARAMS = "feed=rss&hauth=1&ps_rb_language=4096&ps_rb_video_format=3082257"; protected override string[] Urls { @@ -108,12 +108,6 @@ namespace NzbDrone.Core.Providers.Indexer var quality = Parser.ParseQuality(item.Summary.Text); currentResult.Quality = quality; - if (Regex.IsMatch(item.Summary.Text, @"\|\s+Video Format - DVD\s+\|", RegexOptions.Compiled | RegexOptions.IgnoreCase)) - { - _logger.Trace("Report is a full DVD, setting Quality to False"); - currentResult.Quality = new Quality(QualityTypes.Unknown, false); - } - var languageString = Regex.Match(item.Summary.Text, @"Language - \w*", RegexOptions.IgnoreCase).Value; currentResult.Language = Parser.ParseLanguage(languageString);