The Free Software Media System - Server Backend & API
Backport pull request #13059 from jellyfin/release-10.10.z
Shadowghost06c603428bce
diff --git a/Emby.Server.Implementations/Library/Resolvers/PlaylistResolver.cs b/Emby.Server.Implementations/Library/Resolvers/PlaylistResolver.csindex a03c1214d6..14798dda65 100644--- a/Emby.Server.Implementations/Library/Resolvers/PlaylistResolver.cs+++ b/Emby.Server.Implementations/Library/Resolvers/PlaylistResolver.cs@@ -28,7 +28,7 @@ namespace Emby.Server.Implementations.Library.Resolvers{if (args.IsDirectory){- // It's a boxset if the path is a directory with [playlist] in its name+ // It's a playlist if the path is a directory with [playlist] in its namevar filename = Path.GetFileName(Path.TrimEndingDirectorySeparator(args.Path));if (string.IsNullOrEmpty(filename)){diff --git a/Jellyfin.Server/Migrations/Routines/RemoveDuplicatePlaylistChildren.cs b/Jellyfin.Server/Migrations/Routines/RemoveDuplicatePlaylistChildren.csindex 99047b2a2a..f84bccc258 100644--- a/Jellyfin.Server/Migrations/Routines/RemoveDuplicatePlaylistChildren.cs+++ b/Jellyfin.Server/Migrations/Routines/RemoveDuplicatePlaylistChildren.cs@@ -46,6 +46,7 @@ internal class RemoveDuplicatePlaylistChildren : IMigrationRoutineIncludeItemTypes = [BaseItemKind.Playlist]}).Cast<Playlist>()+ .Where(p => !p.OpenAccess || !p.OwnerUserId.Equals(Guid.Empty)).ToArray();if (playlists.Length > 0)