Add lists of tracks to queue via a simple id #325

Closed
woutervanwijk opened this Issue Jan 17, 2013 · 1 comment

3 participants

@woutervanwijk

For the speed of the webclient it would be nice to be able to add a list of tracks from an album, playlist, artist, search, etc by not resending all tracks back to the server, but only an id like spotify:album:12d834etcetc Mopidy can then add the tracks itself, which is a lot faster.

@jodal
Mopidy member

I suggest the following solution:

  1. A frontend calls core.tracklist.add(uri='spotify:album:12d834etcetc')
  2. Core does a core.library.lookup('spotify:album:12d834etcetc')
  3. Core adds the tracks returned by lookup() to the tracklist.

With support for this, we should review the MPD frontend for lookup() + add() patterns which can use add(uri=...) directly instead.

@adamcik Any comments?

@jodal jodal was assigned Mar 30, 2013
@adamcik adamcik closed this Mar 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment