I am trying to get the playbackStoreID via the MPMediaPickerController so I can play songs in my app. For many songs I can see and select I am getting a value of "0" for the playbackStoreID on the returned MPMediaItem.
Now if I use the "Music" app I can play those songs, but since the playbackStoreID is "0" I cannot successful get them in the queue for a MPMusicPlayerController
.applicationQueuePlayer
What's the deal?
- How do I get a proper ID that I can use to get those songs played?
- If I cannot, how can I hide those songs from the MPMediaPickerController so a user does not think they can play those songs in my app?