1 Reply
      Latest reply on Feb 16, 2020 10:24 PM by Alan.
      nyc2phx Level 1 Level 1 (0 points)

        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.