From e0993fb52eb7f34ec18ad5dfb102708b390cf7ea Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 31 Jan 2018 21:42:30 -0500 Subject: [PATCH] Fixed: Added ALAC to MediaInfo renamer audio codecs Closes #198 --- .../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 ca875a947..f0ed8ea0f 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoFormatter.cs @@ -73,6 +73,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo return string.Empty; } + if (audioFormat.EqualsIgnoreCase("ALAC")) + { + return "ALAC"; + } + if (audioFormat.EqualsIgnoreCase("AC-3")) { return "AC3"; @@ -168,6 +173,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo return "AC3"; } + if (audioFormat.EqualsIgnoreCase("ALAC")) + { + return "ALAC"; + } + if (audioFormat.EqualsIgnoreCase("E-AC-3")) { return "EAC3";