Support Spotify #308
Replies: 4 comments 6 replies
-
This is really interesting topic. Would you already have the code for getting the Spotify token and etc to start the session or are you mainly interested in controlling already running Spotify session? I haven't checked how much Spotify is leveraging the chromecast and how much is coming from their server side api |
Beta Was this translation helpful? Give feedback.
-
The communication with spotify seems pretty straight forward to me. (Acquire a token from spotify auth service) If you could give me a basic structure for a cutom app channel, i can try to fix up the rest... |
Beta Was this translation helpful? Give feedback.
-
I tried to implement the "getInfo" message plus response with a little guidance by MultizoneChannel but it didn't work. I can push my changes but I don't think I'm allowed to create branches or push. Also I will be off on vacation for the next 2 weeks or so, so this is probably going to be my last post till I return (freshly motivated of course) |
Beta Was this translation helpful? Give feedback.
-
Here's initial version: I haven't been able to test this at all so it's probably not working yet |
Beta Was this translation helpful? Give feedback.
-
I use SharpCaster in a private project and I want to add Spotify support. There is not much out there regarding documentation but there are some libraries (in python) that could help facilitate that.
My knowledge around chromecast protocol is very limited but I have a brief understanding of C#. Given a little kickstart how one can extend the SharpCaster library with custom channels would help me start my work.
links:
https://github.com/fondberg/spotcast/blob/master/custom_components/spotcast/spotify_controller.py
https://github.com/home-assistant-libs/pychromecast
Beta Was this translation helpful? Give feedback.
All reactions