local tracks returned as null by Spotify WEB API

When a local track is in a playlist, WEB API returns track URI as spotify:track:null

I would expect to have it in same format as in Spotify desktop app, ie: spotify:local:ARTIST:ALBUM:TRACK:LENGTH_IN_SECONDS

The use case is (github page https://github.com/vdesabou/alfred-spotify-mini-player):
-Get the user library into a local sqlite DB
-Get a track from the DB and play it with AppleScript

With the URI returned, the local track cannot be played at all. Why is Web API retuning null ?

链接地址: http://www.djcxy.com/p/55548.html

上一篇: 如何从Spotify API获取跟踪URI

下一篇: 本地曲目由Spotify WEB API返回为空