1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

New: Media file extension .webm

This commit is contained in:
Mark McDowall 2015-12-25 18:35:42 -08:00
parent 9039d7e694
commit b4f83d8a4e
2 changed files with 5 additions and 0 deletions

View File

@ -204,6 +204,7 @@ public void should_parse_raw_quality(string title, bool proper)
[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);

View File

@ -13,6 +13,10 @@ static MediaFileExtensions()
{
_fileExtensions = new Dictionary<string, Quality>
{
//Unknown
{ ".webm", Quality.Unknown },
//SDTV
{ ".m4v", Quality.SDTV },
{ ".3gp", Quality.SDTV },
{ ".nsv", Quality.SDTV },