您需要查看已加星标的播放列表以了解项目更改:
var sp = getSpotifyApi();
var models = sp.require('$api/models');
var playlist = models.library.starredPlaylist;
playlist.observe(models.EVENT.ITEMS_ADDED, function() {
console.log('New starred tracks!');
console.log(playlist.tracks);
});