Post

Replies

Boosts

Views

Activity

Reply to Editing a Library Playlist (MusicKit: iOS 16 beta)
HI @Kimfucious, Did you manage to edit the playlist after WWDC 2023? I am getting the error The operation couldn't be completed. (MPModelLibrarySDKPlaylistEditChangeRequestOperationErrorDomain error -10004.) if you wrap the code in do catch I also noticed that if you create a playlist let newPlaylist = try await MusicLibrary.shared.createPlaylist(name: "name", items: items) and then immediately edit try await MusicLibrary.shared.edit(playlist, items: filteredItems) then everything works fine I also noticed that the id we get after creating the playlist is different from the id we get with MusicLibraryRequest
Aug ’23
Reply to Editing a Library Playlist (MusicKit: iOS 16 beta)
HI @Kimfucious, Did you manage to edit the playlist after WWDC 2023? I am getting the error The operation couldn't be completed. (MPModelLibrarySDKPlaylistEditChangeRequestOperationErrorDomain error -10004.) if you wrap the code in do catch I also noticed that if you create a playlist let newPlaylist = try await MusicLibrary.shared.createPlaylist(name: "name", items: items) and then immediately edit try await MusicLibrary.shared.edit(playlist, items: filteredItems) then everything works fine I also noticed that the id we get after creating the playlist is different from the id we get with MusicLibraryRequest
Aug ’23