aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/PlaylistsController.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2024-03-26 16:13:07 +0100
committerShadowghost <Ghost_of_Stone@web.de>2024-03-26 16:13:07 +0100
commitf1dc1610a28fdb2dec4241d233503b6e11020546 (patch)
tree20e23ac1cb9702e349a3b453657130108dcb7790 /Jellyfin.Api/Controllers/PlaylistsController.cs
parent88b3490d1756236d0c2fc00243420d45d149a5d1 (diff)
Extend playlist creation capabilities
Diffstat (limited to 'Jellyfin.Api/Controllers/PlaylistsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/PlaylistsController.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/PlaylistsController.cs b/Jellyfin.Api/Controllers/PlaylistsController.cs
index f0e8227fd..bf618e8fd 100644
--- a/Jellyfin.Api/Controllers/PlaylistsController.cs
+++ b/Jellyfin.Api/Controllers/PlaylistsController.cs
@@ -92,7 +92,9 @@ public class PlaylistsController : BaseJellyfinApiController
Name = name ?? createPlaylistRequest?.Name,
ItemIdList = ids,
UserId = userId.Value,
- MediaType = mediaType ?? createPlaylistRequest?.MediaType
+ MediaType = mediaType ?? createPlaylistRequest?.MediaType,
+ Shares = createPlaylistRequest?.Shares.ToArray(),
+ OpenAccess = createPlaylistRequest?.OpenAccess
}).ConfigureAwait(false);
return result;