aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Playlists
diff options
context:
space:
mode:
authorShadowghost <Shadowghost@users.noreply.github.com>2023-05-12 15:11:59 +0200
committerGitHub <noreply@github.com>2023-05-12 07:11:59 -0600
commita8cdf4434b10044dbb9ba540d6d137906aa67b54 (patch)
tree869f8bcd21ba3ae97e16335ad1697b8e8e843405 /Emby.Server.Implementations/Playlists
parentfdda72139411a89a64a1a1bb7282f273dc720e42 (diff)
Fix access to playlists not created by a user (#9746)
Diffstat (limited to 'Emby.Server.Implementations/Playlists')
-rw-r--r--Emby.Server.Implementations/Playlists/PlaylistManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Playlists/PlaylistManager.cs b/Emby.Server.Implementations/Playlists/PlaylistManager.cs
index 6176879b6..adb8ac732 100644
--- a/Emby.Server.Implementations/Playlists/PlaylistManager.cs
+++ b/Emby.Server.Implementations/Playlists/PlaylistManager.cs
@@ -549,7 +549,7 @@ namespace Emby.Server.Implementations.Playlists
SavePlaylistFile(playlist);
}
}
- else
+ else if (!playlist.OpenAccess)
{
// Remove playlist if not shared
_libraryManager.DeleteItem(