aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Trickplay
diff options
context:
space:
mode:
authorgnattu <gnattuoc@me.com>2024-10-15 18:22:39 +0800
committergnattu <gnattuoc@me.com>2024-10-15 18:22:39 +0800
commitbcb2a3d5e95a15de9ad41885ab27f68479473f19 (patch)
treef512778bc412675ed4cb6bb7091ffaf6bcd1ebf4 /Jellyfin.Server.Implementations/Trickplay
parent7c22a99e057cccf152357344bcf155280867b3d0 (diff)
Don't check remote sources for trickplay
Diffstat (limited to 'Jellyfin.Server.Implementations/Trickplay')
-rw-r--r--Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
index f6c48498c..4aa998591 100644
--- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
+++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
@@ -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);