From 9d3bef982b5c68b7ded5af4044fd7251cdf842dc Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 12 Sep 2013 08:08:48 -0700 Subject: [PATCH] more media file extension cleanup --- NzbDrone.Core/MediaFiles/MediaFileExtensions.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs b/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs index cc0e7d5c6..c684834ac 100644 --- a/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs +++ b/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs @@ -30,7 +30,6 @@ static MediaFileExtensions() { ".divx", Quality.SDTV }, { ".xvid", Quality.SDTV }, { ".bivx", Quality.SDTV }, - { ".vob", Quality.SDTV }, { ".nrg", Quality.SDTV }, { ".pva", Quality.SDTV }, { ".wmv", Quality.SDTV }, @@ -58,11 +57,14 @@ static MediaFileExtensions() //DVD { ".img", Quality.DVD }, { ".iso", Quality.DVD }, + { ".vob", Quality.DVD }, //HD { ".mkv", Quality.HDTV720p }, { ".ts", Quality.HDTV720p }, - { ".m2ts", Quality.HDTV720p } + + //Bluray + { ".m2ts", Quality.Bluray720p } }; } @@ -71,7 +73,7 @@ public static HashSet Extensions get { return new HashSet(_fileExtensions.Keys); } } - public static Quality FindQuality(string extension) + public static Quality GetQualityForExtension(string extension) { if (_fileExtensions.ContainsKey(extension)) {