From f293b9a44e35037ddec92869c932c8a427e71732 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Wed, 19 Jul 2017 10:34:33 +0200 Subject: [PATCH] Fixed: Added FLAC to MediaInfo renamer audio codecs. --- src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs index 8a5eaa707..76f2ac441 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs @@ -74,6 +74,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo return "DTS"; } + if (audioFormat.Equals("FLAC", StringComparison.OrdinalIgnoreCase)) + { + return "FLAC"; + } + Logger.Error("Unknown audio format: {0}", audioFormat); return audioFormat; }