Spotify Apps API:库级不会返回用户播放列表 [英] Spotify Apps API: Library-class won't return users Playlists

查看:35
本文介绍了Spotify Apps API:库级不会返回用户播放列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取一个包含用户库 (http://developer.spotify.com/download/spotify-apps-api/reference/dcdebc652c.html) 中所有播放列表的数组.

I'm trying to get an array containing all Playlists in the users Library (http://developer.spotify.com/download/spotify-apps-api/reference/dcdebc652c.html).

其他类属性(专辑、艺术家、starredPlaylist、曲目)没有问题,但不知何故播放列表"属性无法使用

No problems with the other class properties (albums, artists, starredPlaylist, tracks), but somehow the "Playlists" property won't work using

var allPlaylists = models.library.playlists;

var allArtists= models.library.artists;

效果很好!(都使用 document.write(var) )

works just fine!( Both using document.write(var) )

有什么建议吗?谢谢!

推荐答案

我看起来 sp.core.library.getPlaylists 在 .0.8.0–701-gc2d793a

I looks like sp.core.library.getPlaylists got disabled in . 0.8.0–701-gc2d793a

这篇关于Spotify Apps API:库级不会返回用户播放列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆