The API I'm using for my BBC Sounds plugin has access to the specific spotify track URL for the track that is currently playing in this format :
I plan to make use of that by adding a context menu using registerinfoprovider to enable the user to go to a menu item enabling them to access the track from Spotty while they are still listening to the station/programme.
I guess I can transform that uri into a spotify://track:xxxxx format url and easily create a Spotty playable menu item.
However, is there a better way I can interact into spotty to have a nicely formatted menu item with artwork in the right album context etc?
Code:
{
"type": "commercial-music-service",
"id": "commercial-music-service-spotify",
"label": "Spotify",
"uri": "https://open.spotify.com/track/6IOWaTG6MUfR4824H2XOjJ"
}
I guess I can transform that uri into a spotify://track:xxxxx format url and easily create a Spotty playable menu item.
However, is there a better way I can interact into spotty to have a nicely formatted menu item with artwork in the right album context etc?