From 4bb0735565453e1a235ed4ec34eaeafcb4811096 Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 14 Mar 2018 21:37:48 -0400 Subject: [PATCH] New: Add MLP format to MediaInfoFormatter.cs Fixes #232 --- .../MediaFiles/MediaInfo/MediaInfoFormatter.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs index f0ed8ea0f..a0adcf610 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs @@ -108,6 +108,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo return "FLAC"; } + if (audioFormat.Trim().EqualsIgnoreCase("MLP")) + { + return "MLP"; + } + if (audioFormat.Trim().EqualsIgnoreCase("mp3")) { return "MP3"; @@ -193,6 +198,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo return "MP3"; } + if (audioFormat.EqualsIgnoreCase("MLP")) + { + return "MLP"; + } + if (audioFormat.EqualsIgnoreCase("DTS")) { return "DTS";