mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -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…
Reference in New Issue
Block a user