#136: add menu button to album page with options to add album to queue or playlist
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user