Bulk buying songs on an album
simonv3 opened this issue · comments
We can use the API to buy multiple songs in one go:
user/plays/buy
{track_id: :id}[]
Which would facilitate adding a button next to each album to purchase all of the songs in an album. Right now it would buy those songs at whatever the listened to amount still needs to be paid for for the full track price (which is 1.25) so the price of an album would be defined by the number of songs in the album.
Apparently we can't use the API to buy multiple songs in one go, but we can send a series of promises to the API.