From 60db673e4551f91bfce0fbffba3a8e0593c27e2e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 16 Jun 2013 09:57:26 -0400 Subject: [PATCH] Parse runtime with us culture --- MediaBrowser.Controller/Providers/BaseItemXmlParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs b/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs index 0a7fefbc5..645987437 100644 --- a/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs +++ b/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs @@ -224,7 +224,7 @@ namespace MediaBrowser.Controller.Providers if (!string.IsNullOrWhiteSpace(text)) { int runtime; - if (int.TryParse(text.Split(' ')[0], out runtime)) + if (int.TryParse(text.Split(' ')[0], NumberStyles.Integer, _usCulture, out runtime)) { // For audio and video don't replace ffmpeg data if (item is Video || item is Audio)