diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-27 13:51:51 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-27 13:51:51 +0100 |
| commit | 826e21ecc85be03e15c4d2ad2f403ccb4dc2068e (patch) | |
| tree | d80063dba2f927b2ae06201b3fb84fdacfafd94d /MediaBrowser.Controller/Entities | |
| parent | 885b45838cbcacb097e5981df7a93489da952fa6 (diff) | |
Fix LinkedAlternativeVersion validation
Diffstat (limited to 'MediaBrowser.Controller/Entities')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index dce5664672..cc322d0ddd 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -510,13 +510,6 @@ namespace MediaBrowser.Controller.Entities // Skip items that are alternate versions of another video if (item is Video video) { - // Check via PrimaryVersionId - if (video.PrimaryVersionId.HasValue) - { - Logger.LogDebug("Item is an alternate version (via PrimaryVersionId), skipping deletion: {Path}", item.Path ?? item.Name); - continue; - } - // Check if path is in LocalAlternateVersions of any valid child if (!string.IsNullOrEmpty(item.Path) && alternateVersionPaths.Contains(item.Path)) { |
