mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 18:54:26 -04:00
Parse runtime with us culture
This commit is contained in:
parent
8f54eba12a
commit
60db673e45
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user