joshbetz / Hypersonic

An iOS app for streaming music from a Subsonic server and other cloud services
http://joshbetz.github.com/Hypersonic
15 stars 3 forks source link

Immediately start on previous #39

Closed joshbetz closed 12 years ago

joshbetz commented 12 years ago

The previous button functionality is not optimal

Currently:

  1. build playlist
  2. initialize player with playlist
  3. delete songs from front of queue until we get to currentIndex
  4. play

How it should be:

  1. Initialize player with previous song
  2. play
  3. build playlist
  4. delete songs off front of playlist until currentIndex + 1 is the next song
  5. add items in playlist to queue
joshbetz commented 12 years ago

This would let the player start playing right away and essentially enqueue the rest of the songs in the background instead of waiting to rebuild the playlist before we can start playing music.