aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/PathManager.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2026-06-07 20:28:34 +0200
committerGitHub <noreply@github.com>2026-06-07 20:28:34 +0200
commitec43ea156e11705227eccbe760e2510a28d774a4 (patch)
tree2db01cf81a94d8eaf527613576c69141ae6556bb /Emby.Server.Implementations/Library/PathManager.cs
parentcbf284d2299f2d225119e738d2794cd891e13335 (diff)
parent8aaea6ea52950a2791cc9d519944e7a2136339ef (diff)
Merge pull request #16941 from Shadowghost/fix-external-data-pruning
Fix external data pruning on item deletion
Diffstat (limited to 'Emby.Server.Implementations/Library/PathManager.cs')
-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;