playlist updates

This commit is contained in:
Drew Weymouth
2023-11-14 09:05:02 -08:00
parent e261eab4f3
commit 7d3e942e3f
7 changed files with 53 additions and 18 deletions
+2 -2
View File
@@ -269,8 +269,8 @@ func (m *Controller) DoAddTracksToPlaylistWorkflow(trackIDs []string) {
if playlistChoice < 0 {
go m.App.ServerManager.Server.CreatePlaylist(newPlaylistName, trackIDs)
} else {
go m.App.ServerManager.Server.EditPlaylistTracks(
pls[playlistChoice].ID, trackIDs, nil /*tracksToRemove*/)
go m.App.ServerManager.Server.AddPlaylistTracks(
pls[playlistChoice].ID, trackIDs)
}
}
m.haveModal = true