mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 23:35:25 +03:00
fix video probing
This commit is contained in:
@@ -63,6 +63,11 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
}
|
||||
else
|
||||
{
|
||||
if (data.format != null && !string.IsNullOrEmpty(data.format.duration))
|
||||
{
|
||||
info.RunTimeTicks = TimeSpan.FromSeconds(double.Parse(data.format.duration, _usCulture)).Ticks;
|
||||
}
|
||||
|
||||
FetchWtvInfo(info, data);
|
||||
|
||||
if (data.Chapters != null)
|
||||
|
||||
Reference in New Issue
Block a user