updates
This commit is contained in:
parent
d558aba246
commit
3bd713d667
17 changed files with 1566 additions and 132 deletions
|
|
@ -273,6 +273,13 @@ class SubsonicClient {
|
|||
'updatePlaylist', {'playlistId': playlistId, 'comment': comment});
|
||||
}
|
||||
|
||||
/// `updatePlaylist` + `public` — share (server-wide) or unshare a playlist.
|
||||
/// Navidrome honors this; other users then see it in their `getPlaylists`.
|
||||
Future<void> setPlaylistPublic(String playlistId, bool isPublic) async {
|
||||
await _get(
|
||||
'updatePlaylist', {'playlistId': playlistId, 'public': '$isPublic'});
|
||||
}
|
||||
|
||||
/// `deletePlaylist` — delete a playlist by id.
|
||||
Future<void> deletePlaylist(String id) async {
|
||||
await _get('deletePlaylist', {'id': id});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue