mopidy-spotify icon indicating copy to clipboard operation
mopidy-spotify copied to clipboard

Inconsistent order of track artists

Open jaedb opened this issue 7 years ago • 1 comments

Fetch a track (eg spotify:track:1tRoJfwQ2upkIVEVKkuPcT) from the Spotify HTTP API and the artist order differs from that returned when requesting the same track via the Mopidy-Spotify backend.

To replicate:

  1. Get the track using the Spotify Console (link).
  2. Observe the order of artists: ODESZA, WYNNE, Mansionair.
  3. Get the track from Mopidy-Spotify (I use Settings > Debug tool in Mopidy-Iris), eg library.lookup {"uri":"spotify:track:1tRoJfwQ2upkIVEVKkuPcT"}.
  4. Notice the order of artists differs: WYNNE, Mansionair, ODESZA.

Are there any ordering rules applied by Mopidy-Spotify when the array of artists is returned? Or perhaps caching of artists affects the return? Let me know if I can do any further testing to help identify the issue.

jaedb avatar Jan 05 '18 09:01 jaedb

Nope, no ordering by us. They use two different backends at Spotify. I think the Web API orders some things by (worldwide) popularity, is that what you see? Not sure what libspotify's backend does but it's not necessarily the same.

kingosticks avatar Jan 05 '18 10:01 kingosticks