add 'New Playlist' button to Playlists page

This commit is contained in:
Drew Weymouth
2025-09-17 08:55:35 -07:00
parent ee742cf34e
commit 6ea3499491
8 changed files with 104 additions and 20 deletions
+3 -1
View File
@@ -256,10 +256,12 @@ type MediaProvider interface {
GetPlaylists() ([]*Playlist, error)
CreatePlaylist(name string, trackIDs []string) error
CreatePlaylistWithTracks(name string, trackIDs []string) error
CanMakePublicPlaylist() bool
CreatePlaylist(name, description string, public bool) error
EditPlaylist(id, name, description string, public bool) error
AddPlaylistTracks(id string, trackIDsToAdd []string) error