mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 16:33:25 -03:00
Allow invalid id for trickplay
Co-authored-by: JPVenson <ger-delta-07@hotmail.de>
This commit is contained in:
@@ -498,12 +498,10 @@ public class TrickplayManager : ITrickplayManager
|
||||
var trickplayManifest = new Dictionary<string, Dictionary<int, TrickplayInfo>>();
|
||||
foreach (var mediaSource in item.GetMediaSources(false))
|
||||
{
|
||||
if (mediaSource.IsRemote)
|
||||
if (mediaSource.IsRemote || !Guid.TryParse(mediaSource.Id, out var mediaSourceId)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
var mediaSourceId = Guid.Parse(mediaSource.Id);
|
||||
var trickplayResolutions = await GetTrickplayResolutions(mediaSourceId).ConfigureAwait(false);
|
||||
|
||||
if (trickplayResolutions.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user