views:

378

answers:

1

Is there a way to inspect the current playlist from MPMusicPlayerController to see whether there is another track to play in the queue?

It's possible to detect this after as skipToNextItem will stop playback and change playbackState, but I want to find out before, so I can disable the skip track function if there are no more tracks to skip on to.

+1  A: 

Unfortunately, there does not seem to be a way to do this since MPMusicPlayerController offers no access to its playlist whatsoever. I hope Apple adds this functionality in a future SDK release. You should file a feature request with them.

Ole Begemann