aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Trickplay
diff options
context:
space:
mode:
authorNick <20588554+nicknsy@users.noreply.github.com>2023-09-04 12:30:20 -0700
committerNick <20588554+nicknsy@users.noreply.github.com>2023-09-04 12:30:20 -0700
commit5a860710a849b9d67d12731f1a616c4a3904487d (patch)
tree3d2e613d41a0a86a1a25f6a6d68a37dc326e77c0 /Jellyfin.Server.Implementations/Trickplay
parent65b269c151e083a7ed30b010a470e1fc63765904 (diff)
Make TrickplayManifest dictionary key a string rather than Guid
Diffstat (limited to 'Jellyfin.Server.Implementations/Trickplay')
-rw-r--r--Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
index e3bfdd50d..107f8e510 100644
--- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
+++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
@@ -349,9 +349,9 @@ public class TrickplayManager : ITrickplayManager
}
/// <inheritdoc />
- public async Task<Dictionary<Guid, Dictionary<int, TrickplayInfo>>> GetTrickplayManifest(BaseItem item)
+ public async Task<Dictionary<string, Dictionary<int, TrickplayInfo>>> GetTrickplayManifest(BaseItem item)
{
- var trickplayManifest = new Dictionary<Guid, Dictionary<int, TrickplayInfo>>();
+ var trickplayManifest = new Dictionary<string, Dictionary<int, TrickplayInfo>>();
foreach (var mediaSource in item.GetMediaSources(false))
{
var mediaSourceId = Guid.Parse(mediaSource.Id);
@@ -359,7 +359,7 @@ public class TrickplayManager : ITrickplayManager
if (trickplayResolutions.Count > 0)
{
- trickplayManifest[mediaSourceId] = trickplayResolutions;
+ trickplayManifest[mediaSource.Id] = trickplayResolutions;
}
}