mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 17:17:02 +00:00
more media file extension cleanup
This commit is contained in:
parent
7c324b7cd2
commit
9d3bef982b
1 changed files with 5 additions and 3 deletions
|
@ -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<String> Extensions
|
|||
get { return new HashSet<String>(_fileExtensions.Keys); }
|
||||
}
|
||||
|
||||
public static Quality FindQuality(string extension)
|
||||
public static Quality GetQualityForExtension(string extension)
|
||||
{
|
||||
if (_fileExtensions.ContainsKey(extension))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue