diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-15 23:12:52 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-15 23:12:52 +0100 |
| commit | 3439d3c017a06604e7b471a1063a8467306f78f2 (patch) | |
| tree | 356fbec32efdba1456b6103d95d1463f092b1bb1 /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | 837c7d4ed3edc8c4fcf2640bd6341bb792888244 (diff) | |
Migrate PrimaryVersionId to GUID and fix assignment
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index 7e4205b6ba..525a4bc334 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -480,7 +480,7 @@ namespace MediaBrowser.Controller.Entities if (item is Video video) { // Check via PrimaryVersionId - if (!string.IsNullOrEmpty(video.PrimaryVersionId)) + if (video.PrimaryVersionId.HasValue) { Logger.LogDebug("Item is an alternate version (via PrimaryVersionId), skipping deletion: {Path}", item.Path ?? item.Name); continue; |
