mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
update next/previous buttons
This commit is contained in:
@@ -423,11 +423,7 @@ namespace MediaBrowser.Controller.Providers
|
||||
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)
|
||||
{
|
||||
item.OriginalRunTimeTicks = TimeSpan.FromMinutes(runtime).Ticks;
|
||||
}
|
||||
else
|
||||
if (!(item is Video || item is Audio))
|
||||
{
|
||||
item.RunTimeTicks = TimeSpan.FromMinutes(runtime).Ticks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user