aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Playlists
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2024-03-26 23:45:14 +0100
committerShadowghost <Ghost_of_Stone@web.de>2024-03-26 23:45:14 +0100
commit56c432a8439e1b75c15729bfdb19d41d34e3124d (patch)
tree00fa37a452a34363922f1b10ccefbec7f55ef81d /MediaBrowser.Model/Playlists
parentf1dc1610a28fdb2dec4241d233503b6e11020546 (diff)
Apply review suggestions
Diffstat (limited to 'MediaBrowser.Model/Playlists')
-rw-r--r--MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs
index 93eccd5c7..f1351588f 100644
--- a/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs
+++ b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs
@@ -18,7 +18,7 @@ public class PlaylistCreationRequest
/// <summary>
/// Gets or sets the list of items.
/// </summary>
- public IReadOnlyList<Guid> ItemIdList { get; set; } = Array.Empty<Guid>();
+ public IReadOnlyList<Guid> ItemIdList { get; set; } = [];
/// <summary>
/// Gets or sets the media type.
@@ -31,12 +31,12 @@ public class PlaylistCreationRequest
public Guid UserId { get; set; }
/// <summary>
- /// Gets or sets the shares.
+ /// Gets or sets the user permissions.
/// </summary>
- public IReadOnlyList<Share>? Shares { get; set; }
+ public IReadOnlyList<UserPermissions> Users { get; set; } = [];
/// <summary>
- /// Gets or sets a value indicating whether open access is enabled.
+ /// Gets or sets a value indicating whether the playlist is public.
/// </summary>
- public bool? OpenAccess { get; set; }
+ public bool? Public { get; set; } = true;
}