mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -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))
|
if (!string.IsNullOrWhiteSpace(text))
|
||||||
{
|
{
|
||||||
int runtime;
|
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
|
// For audio and video don't replace ffmpeg data
|
||||||
if (item is Video || item is Audio)
|
if (item is Video || item is Audio)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user