Post

Replies

Boosts

Views

Activity

MusicKit: Error when performing a MusicLibrarySectionedRequest using some MusicLibraryRequestable types
When making a library sectioned request, some MusicLibraryRequestable types used result in an MusicKit.MusicLibraryRequestError being thrown. When a Playlist is used as the MusicLibrarySectionRequestable type, no other MusicLibraryRequestable type than Track can be used for the request. For others, Artist & Genre cannot be used. Is there a way to work around this issue? The (seemingly) equivalent functionality in MediaPlayer (MPMediaQuery and MPMediaGrouping) was very consistent and reliable. Full error info: MusicKit.MusicLibraryRequestError.invalidType, The operation couldn’t be completed. (MusicKit.MusicLibraryRequestError error 1.) Device and OS: iPhone 13 Pro, iOS 17.2.1
0
0
351
Jan ’24
Getting incorrect MPMusicPlayerController.playbackState value on iOS 13.5 after a queue is done playing
When the queue is done playing, the player's playbackState property should transition to .stopped, its currentPlaybackRate should be 0.0, and it's current playbackTime should be 0 (except in cases where there are custom start times). However in 13.5 none of these are the case. The player still reports a playbackState of .playing, currentPlaybackRate of 1.0, and currentPlaybackTime at the end of whatever the first song is. Does anyone know a way to deal with this?
0
0
224
Jun ’20