PlayerKit icon indicating copy to clipboard operation
PlayerKit copied to clipboard

AppleMusicPlayer does not report change of nowPlayingItem and just loops

Open ivan-konov opened this issue 7 years ago • 0 comments

I am using QueuePlayer to play Apple Music items. I see in that you only ever have 1 track here: func preparePlayer() { guard let track = track, let id = track.appleMusicID, track.isValid else { return } if #available(iOS 10.1, *) { let descriptor = MPMusicPlayerStoreQueueDescriptor(storeIDs: [id]) descriptor.startItemID = id musicPlayerController.setQueue(with: descriptor)

Then the underlying musicPlayerController instance does not report when the item had stop or changed which does not surface to the QueuePlayer either.

ivan-konov avatar Feb 24 '18 00:02 ivan-konov