Post

Replies

Boosts

Views

Activity

MusicKit v3: CONTENT_RESTRICTED: Content restricted How do I fix?
Not sure when it happened but I can no longer play explicit songs in my app using MK v3. I've turned off restrictions/made sure i have access to explicit in... My phone (Screen Time) My computer (Screen Time) My iPad (Screen Time) music.apple.com (Settings) and I still get this error when I try to play a song in console. `CONTENT_RESTRICTED: Content restricted at set isRestricted (https://js-cdn.music.apple.com/musickit/v3/musickit.js:28:296791) at SerialPlaybackController._prepareQueue (https://js-cdn.music.apple.com/musickit/v3/musickit.js:28:318357) at SerialPlaybackController._prepareQueue (https://js-cdn.music.apple.com/musickit/v3/musickit.js:28:359408) at set queue (https://js-cdn.music.apple.com/musickit/v3/musickit.js:28:308934) at https://js-cdn.music.apple.com/musickit/v3/musickit.js:28:357429 at Generator.next (<anonymous>) at asyncGeneratorStep$j (https://js-cdn.music.apple.com/musickit/v3/musickit.js:28:351481) at _next (https://js-cdn.music.apple.com/musickit/v3/musickit.js:28:351708)`
0
0
586
Jan ’24
limit on .api.library.playlists()?
Been playing around trying to pull my cloud playlists using musickit.js however it seems there's a max limit of 100? How do I change that?let apple_player = MusicKit.getInstance();var params = { limit: 2000 }let apple_playlists = apple_player.api.library.playlists(params).then ( function( playlists ) { // user's cloudPlaylists alert ( playlists.length); console.log( JSON.stringify(playlists) ); });this only returns 100.
1
0
537
Feb ’20