Control audio playback through an API #1050
Replies: 7 comments
-
Use the web API: https://developer.spotify.com/console/player/ |
Beta Was this translation helpful? Give feedback.
-
Does not really satisfy my use case since many clients would connect to that same speaker and I'd try to avoid getting OAuth API keys from each of them. Isn't there a way to do it locally, via librespot? |
Beta Was this translation helpful? Give feedback.
-
I'm also looking for a way to do this. I want to run Librespot on a Raspberry Pi connected to a small display that shows the current player status and in addition I want to control the player with connected buttons. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the reply! This library only works if the Spotify app client is active on the PC right? Still wouldn't satisfy me if I had random phone users logging via zeroconf to the server... |
Beta Was this translation helpful? Give feedback.
-
I haven't tried it yet, that's just what I found when I was looking for something like this I don't even know if this python project is still active. But I think there will be something along the lines that will cover this use case. Anyhow, an API at Librespot would definitely be useful and nice. Unfortunately I don't have any experience with Rust to implement it myself. |
Beta Was this translation helpful? Give feedback.
-
There is Do note however that: |
Beta Was this translation helpful? Give feedback.
-
I moved this into a discussion, as it is not really an issue with |
Beta Was this translation helpful? Give feedback.
-
Is it possible to control audio aspects through code without input from a Spotify client? (e.g. skip track, pause, etc)
Beta Was this translation helpful? Give feedback.
All reactions