Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

Linking into Spotty from BBC Sounds

$
0
0
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 :
Code:

{
          "type": "commercial-music-service",
          "id": "commercial-music-service-spotify",
          "label": "Spotify",
          "uri": "https://open.spotify.com/track/6IOWaTG6MUfR4824H2XOjJ"
  }

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?

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>