Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


What's playing Spotify Connect on display?
#15
(02-23-2024, 10:19 PM)Tim Curtis Wrote: Start with this thread to see how a renderer overlay gets displayed and then it could be a similar process for getting any external back-end data to the front-end. https://moodeaudio.org/forum/showthread....2#pid52232

A basic flow could be


Code:
- Spotevent.sh writes track id to some location
- Back-end php daemon
  - detects new track id
  - fetches metadata
  - command + metadata to front-end via sendEngCmd()
- Front-end playerlib.js function engineCmd() receives data and displays it

One challenge is how to handle front-end page refresh

Excellent.
Yes, you mentioned it already... need to think. For sure the UI needs to be aware that we are playing Spotify...
Reply


Messages In This Thread
RE: What's playing Spotify Connect on display? - by Nutul - 02-23-2024, 10:37 PM

Forum Jump: