more media file extension cleanup

This commit is contained in:
Mark McDowall 2013-09-12 08:08:48 -07:00
parent 7c324b7cd2
commit 9d3bef982b
1 changed files with 5 additions and 3 deletions

View File

@ -30,7 +30,6 @@ namespace NzbDrone.Core.MediaFiles
{ ".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 @@ namespace NzbDrone.Core.MediaFiles
//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 @@ namespace NzbDrone.Core.MediaFiles
get { return new HashSet<String>(_fileExtensions.Keys); }
}
public static Quality FindQuality(string extension)
public static Quality GetQualityForExtension(string extension)
{
if (_fileExtensions.ContainsKey(extension))
{