brim-borium/spotify_sdk

track.imageUrl is always null

Closed this issue · 6 comments

Currently, there is no functioning way to get the image url of the album art of the currently playing track.
playerState.track.imageUri is always null.

This is very important because now, I have to use the spotify web api to fetch the track with the track.uri just to get the image uri.

Currently this feature is not implemented on the platform side as written in the readme. I will have a look at this and see if I can implement it this week

Sorry, I read over that. Thank you for your quick reply :)

I've fixed the issue and created a PR 😄 It was an issue with JSON keys.
I discovered it when I wasn't able to get track duration (same issue, also fixed).

Thanks to @eddwhite , this is now done for android and already pushed to develop. Thank you for that :) I will push a new version to pub.dev this evening.

Thanks so much @brim-borium and @eddwhite for your work!!!

New version has been published