spotmop
spotmop copied to clipboard
[Feature request] Start a song radio
Hi,
It would be awesome if we could start a song radio from spotmop, just like we can do from the spotify client.
Thanks and regards, Fabien
@hcoohb I've explored this idea a little already, and got roadblocked by libspotify
's incapability to load spotify:station:artist:id
type URIs. So to create a station I would need to use the /recommendation
endpoint, however this wouldn't produce an infinite playlist. Given this is ultimately why you'd use a station/radio, that was as far as I got.
I started exploring creating a Mopidy tracklist wrapper but my knowledge of python is sketchy at best. If I can get something like this working, it'd also help with #67 as this would require a similar approach.
So if you know python, put your hand up!
Thanks for the answer !
Unfortunately, I don't know python that much either... And I assume as well that is why a public playlists created by user do not show in the search results (which was another point where I noticed a difference between spotmop and spoytify client)
Maybe this can give something like a radio: https://developer.spotify.com/web-api/get-recommendations/
@bargru That's where I'm headed, however the trick is to build a Mopidy frontend that can handle the radio behavior. This is important to make an 'endless' radio station as it will fetch the next recommended tracks and update the client as needed. We can't efficiently do this on the client-side.
The beauty of this approach is it will setup the structure for other extension-specific functionality, for example implementing #67.
I'm still bumbling my way through Python extensions, but I'm making progress.
ETA 1-2 months.