From 52aa84e9f959108ef2c2deefa73a92a7b0ae1531 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Wed, 29 May 2019 23:59:09 +0200 Subject: [PATCH] Tweaked mediainfo api call to better handle unsupported locales. --- src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoLib.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoLib.cs b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoLib.cs index 5e5a67154..9343d103e 100644 --- a/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoLib.cs +++ b/src/NzbDrone.Core/MediaFiles/MediaInfo/MediaInfoLib.cs @@ -282,7 +282,7 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo public string Option(string option, string value) { - var pOption = MakeStringParameter(option); + var pOption = MakeStringParameter(option.ToLowerInvariant()); var pValue = MakeStringParameter(value); try {