This project will allow anyone to run a server which connects to the SpotifyConnect API and polls live playback activity to a client landing page, securing your API connection to Spotify.
A large button in the middle of the UI allows a user to open the currently displayed track on their own Spotfiy app on their device, securely, without needing any credentials (URI calls ftw)
This can be locally hosted or served to the web, and is available for easy cloneing on GitHub.
To keep SpotifyConnectAPI request counts low, the server only polls once every 10s during actual playback and 60s when nothing is playing.
The client webpage will get these updates during playback and run & reset its own local timer to allow the progress bar and timestamps to seemlessly count up as if it had a constant realtime connection.
A large button in the middle of the UI allows a user to open the currently displayed track on their own Spotfiy app on their device, securely, without needing any credentials (URI calls ftw)
This can be locally hosted or served to the web, and is available for easy cloneing on GitHub.
To keep SpotifyConnectAPI request counts low, the server only polls once every 10s during actual playback and 60s when nothing is playing.
The client webpage will get these updates during playback and run & reset its own local timer to allow the progress bar and timestamps to seemlessly count up as if it had a constant realtime connection.
comments + ratings
loading comments...