The Free Software Media System - Server Backend & API
Backport pull request #11653 from jellyfin/release-10.9.z
Bond-0098139179780f0
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.csindex 31c0be52f9..ccd04612f7 100644--- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs+++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs@@ -121,6 +121,13 @@ public class TrickplayManager : ITrickplayManagerreturn;}+ var mediaPath = mediaSource.Path;+ if (!File.Exists(mediaPath))+ {+ _logger.LogWarning("Media source {MediaSourceId} not found at {Path} for item {ItemID}", mediaSource.Id, mediaPath, video.Id);+ return;+ }+// The width has to be even, otherwise a lot of filters will not be able to sample itvar actualWidth = 2 * (width / 2);@@ -139,7 +146,6 @@ public class TrickplayManager : ITrickplayManagerreturn;}- var mediaPath = mediaSource.Path;var mediaStream = mediaSource.VideoStream;var container = mediaSource.Container;