如何获取 Spotify 应用程序专辑的流派
我想检索当前在 Spotify 中播放的曲目/专辑的流派。
我已经查看了 Last.FM 以从专辑或曲目中获取流派,但似乎没有选择。
请问有人可以帮我通过网络服务找到该类型吗?
I would like to retrieve the genre of the track/ album being currently played in Spotify.
I've looked at Last.FM for getting the genre from the album or from the track but it seems there is no option.
Please can someone help me to find the genre via a web service?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议使用 Echo Nest API,因为 Last.fm 仅使用用户输入的标签,这并不总是有帮助。
I would reccomend using Echo Nest API as Last.fm only uses user inputted tags, which aren't always helpful.
您在 MusicStore 项目中遇到这个问题吗?如果这样做,请打开
Album.cs
,找到此:并添加一个虚拟属性,例如:
Do you get this problem in the MusicStore Project? If you do, open
Album.cs
, find this :and add a virtual attribute like: