Hi, we just updated our Mopidy install to 2.0 due to the spotify API migration changes and everything seems to be working fine except for the following:
Some specific uri’s causes the mopidy.tracklist.add(…) method to return an empty array.
A example using js with a song that always returns an empty array for me:
var spotifyTrackURI = "spotify:track:5hZ1sM6SGuZwmPt1KiFj5M";
mopidy.tracklist.add(null, null, spotifyTrackURI, null).then(function (data) {
console.log(data); // data is now [ ];
if (data.length > 0) {
mopidy.playback.play(data[0]).then(function () {
console.log("playing a track ");
});
}
});
I was not able to find any significant logs on the mopidy debug log. Any suggestions why is this happening? It was working fine on 1.1.0.