From ab0bf6427339c6196f77bdaf60818aff49a33e34 Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 18 Sep 2018 11:25:42 -0400 Subject: [PATCH] New: mk3d file format (#2795) Fixes #1324 --- src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs | 1 + src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs index 700c9b4f7..7e50e6946 100644 --- a/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/QualityParserFixture.cs @@ -323,6 +323,7 @@ public void should_parse_quality_from_name(string title) } [TestCase("Revolution.S01E02.Chained.Heat.mkv")] + [TestCase("Star.Wars.Episode.VII.The.Force.Awakens.mk3d")] [TestCase("Dexter - S01E01 - Title.avi")] [TestCase("the_x-files.9x18.sunshine_days.avi")] [TestCase("[CR] Sailor Moon - 004 [48CE2D0F].avi")] diff --git a/src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs b/src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs index 1e2e69662..4215fa253 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaFileExtensions.cs @@ -66,6 +66,7 @@ static MediaFileExtensions() //HD { ".mkv", Source.WEBDL }, + { ".mk3d", Source.WEBDL}, { ".ts", Source.TV }, { ".wtv", Source.TV }, @@ -77,6 +78,7 @@ static MediaFileExtensions() { //HD { ".mkv", Resolution.R720P }, + { ".mk3d", Resolution.R720P }, { ".ts", Resolution.R720P }, { ".wtv", Resolution.R720P },