mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-22 02:58:03 +00:00
Parse runtime with us culture
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user