mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-06 22:32:57 +01:00
Apply review suggestions
This commit is contained in:
@@ -41,7 +41,7 @@ namespace MediaBrowser.Controller.Playlists
|
||||
/// <param name="userId">The user identifier.</param>
|
||||
/// <param name="share">The share.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task AddToShares(Guid playlistId, Guid userId, UserPermissions share);
|
||||
Task AddToShares(Guid playlistId, Guid userId, PlaylistUserPermissions share);
|
||||
|
||||
/// <summary>
|
||||
/// Rremoves a share from the playlist.
|
||||
@@ -50,7 +50,7 @@ namespace MediaBrowser.Controller.Playlists
|
||||
/// <param name="userId">The user identifier.</param>
|
||||
/// <param name="share">The share.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task RemoveFromShares(Guid playlistId, Guid userId, UserPermissions share);
|
||||
Task RemoveFromShares(Guid playlistId, Guid userId, PlaylistUserPermissions share);
|
||||
|
||||
/// <summary>
|
||||
/// Creates the playlist.
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace MediaBrowser.Controller.Playlists
|
||||
|
||||
public bool OpenAccess { get; set; }
|
||||
|
||||
public IReadOnlyList<UserPermissions> Shares { get; set; }
|
||||
public IReadOnlyList<PlaylistUserPermissions> Shares { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public bool IsFile => IsPlaylistFile(Path);
|
||||
|
||||
Reference in New Issue
Block a user