aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2024-10-16 07:01:09 -0600
committerGitHub <noreply@github.com>2024-10-16 07:01:09 -0600
commit4251cbc27799f50eb58fda6fb30f735bbc781a0d (patch)
tree5862a9ebb34ea6855367a9ddb6596836c5c6a7d4
parentfe05aa8cf1925485ac6ef2f1da37f121189c1892 (diff)
parent5ac895bef66d53d6cba148d7816b021c0a655380 (diff)
Merge pull request #12824 from gnattu/don't-check-remote-trickplay
-rw-r--r--Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
index f6c48498c..cfe385106 100644
--- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
+++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
@@ -498,7 +498,11 @@ public class TrickplayManager : ITrickplayManager
var trickplayManifest = new Dictionary<string, Dictionary<int, TrickplayInfo>>();
foreach (var mediaSource in item.GetMediaSources(false))
{
- var mediaSourceId = Guid.Parse(mediaSource.Id);
+ if (mediaSource.IsRemote || !Guid.TryParse(mediaSource.Id, out var mediaSourceId))
+ {
+ continue;
+ }
+
var trickplayResolutions = await GetTrickplayResolutions(mediaSourceId).ConfigureAwait(false);
if (trickplayResolutions.Count > 0)