02-23-2024, 10:19 PM
(This post was last modified: 02-23-2024, 10:20 PM by Tim Curtis.)
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
One challenge is how to handle front-end page refresh
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