Thank you for your donation!


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


What's playing Spotify Connect on display?
#14
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
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


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

Forum Jump: