#136: add menu button to album page with options to add album to queue or playlist

This commit is contained in:
Drew Weymouth
2023-04-19 18:13:31 -07:00
parent 8780477025
commit e61dace0dd
3 changed files with 27 additions and 1 deletions
+8
View File
@@ -51,6 +51,14 @@ func TrackIDOrEmptyStr(track *subsonic.Child) string {
return track.ID
}
func TracksToIDs(tracks []*subsonic.Child) []string {
ret := make([]string, len(tracks))
for i, tr := range tracks {
ret[i] = tr.ID
}
return ret
}
type TrackReorderOp int
const (