From b4f83d8a4e7563d2424d8d65e10af8969a39026f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 25 Dec 2015 18:35:42 -0800 Subject: [PATCH] New: Media file extension .webm --- src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs | 1 + src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs index 8378f221c..cd57836e0 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -204,6 +204,7 @@ namespace NzbDrone.Core.Test.ParserTests [TestCase("Sonny.With.a.Chance.S02E15", false)] [TestCase("Law & Order: Special Victims Unit - 11x11 - Quickie", false)] + [TestCase("Series.Title.S01E01.webm", false)] public void quality_parse(string title, bool proper) { ParseAndVerifyQuality(title, Quality.Unknown, proper); diff --git a/src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs b/src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs index f2372dfb6..2d78b4b56 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs @@ -13,6 +13,10 @@ namespace NzbDrone.Core.MediaFiles { _fileExtensions = new Dictionary { + //Unknown + { ".webm", Quality.Unknown }, + + //SDTV { ".m4v", Quality.SDTV }, { ".3gp", Quality.SDTV }, { ".nsv", Quality.SDTV },