diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-06-07 14:56:05 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-06-07 14:56:31 +0200 |
| commit | 8aaea6ea52950a2791cc9d519944e7a2136339ef (patch) | |
| tree | 46f3ecf1346fcb5be59898f1fe8d4208237219c9 | |
| parent | bdb82503007abe1a036385c5839bce1e6f20142e (diff) | |
Omit external trickplay directory if itme has no path
| -rw-r--r-- | Emby.Server.Implementations/Library/PathManager.cs | 6 |
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; |
