Browse Source

Parse runtime with us culture

Luke Pulverenti 12 years ago
parent
commit
60db673e45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Controller/Providers/BaseItemXmlParser.cs

+ 1 - 1
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)