aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-06-07 14:56:05 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-06-07 14:56:31 +0200
commit8aaea6ea52950a2791cc9d519944e7a2136339ef (patch)
tree46f3ecf1346fcb5be59898f1fe8d4208237219c9
parentbdb82503007abe1a036385c5839bce1e6f20142e (diff)
Omit external trickplay directory if itme has no path
-rw-r--r--Emby.Server.Implementations/Library/PathManager.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/PathManager.cs b/Emby.Server.Implementations/Library/PathManager.cs
index ef5edb9afa..fad948ad97 100644
--- a/Emby.Server.Implementations/Library/PathManager.cs
+++ b/Emby.Server.Implementations/Library/PathManager.cs
@@ -121,7 +121,11 @@ public class PathManager : IPathManager
}
paths.Add(GetTrickplayDirectory(item, false));
- paths.Add(GetTrickplayDirectory(item, true));
+ if (!string.IsNullOrEmpty(item.Path))
+ {
+ paths.Add(GetTrickplayDirectory(item, true));
+ }
+
paths.Add(GetChapterImageFolderPath(item));
return paths;