cooperhewitt / Planetary

the all new clean and UI callback enabled app formerly known as Kepler (AKA pollen-planets)
http://planetary.bloom.io/
BSD 3-Clause "New" or "Revised" License
201 stars 33 forks source link

PlayControls should mirror iTunes functionality #118

Closed flight404 closed 12 years ago

flight404 commented 13 years ago

If the track is 5 seconds in, hitting prev track goes back to beginning of current track. If the track is the first track, hitting prev track shouldn't stop the album.

flight404 commented 13 years ago

Next track when on last track should (and probably already does) stop playback.

RandomEtc commented 13 years ago

Regarding "If the track is the first track, hitting prev track shouldn't stop the album." ... sadly not possible if we want to keep getting approved in the App Store.

We can't currently access the queue without using hidden methods (we could store our own queue but we wouldn't know what was queued up if the ipod player is active when our app starts): http://www.pixiapps.com/blog/?p=78

Marking this as "wishlist" - we can revisit if Apple adds the API for this functionality.

RandomEtc commented 12 years ago

iOS 5 will support this: http://developer.apple.com/library/prerelease/ios/#documentation/MediaPlayer/Reference/MPMusicPlayerController_ClassReference/Reference/Reference.html%23//apple_ref/occ/instp/MPMusicPlayerController/indexOfNowPlayingItem

RandomEtc commented 12 years ago

Closing this as wishlist and moving to wiki. We can re-open when the time comes.