Don't check remote sources for trickplay

This commit is contained in:
gnattu 2024-10-15 18:22:39 +08:00
parent 7c22a99e05
commit bcb2a3d5e9

View file

@ -498,6 +498,11 @@ public class TrickplayManager : ITrickplayManager
var trickplayManifest = new Dictionary<string, Dictionary<int, TrickplayInfo>>();
foreach (var mediaSource in item.GetMediaSources(false))
{
if (mediaSource.IsRemote)
{
continue;
}
var mediaSourceId = Guid.Parse(mediaSource.Id);
var trickplayResolutions = await GetTrickplayResolutions(mediaSourceId).ConfigureAwait(false);