Re: LMS & time/timer/timing
AF1 <AF1.aoslxz-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Sun, 7 Aug 2022 15:10:26 +0000
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
mherger wrote: > But you'd need that information on the frontend anyway, not the server? > > You can't push the updates from the server to the browser. JS would have to handle most things. Since syncing the display of lyrics in a browser page to the time elapsed on a client is a time-sensitive matter, a web page in the browser would also have to know in time about events like newsong, pause, play/resume... how¿ Unless I'm wrong, it seems that even the default skin is "only" refreshed every x seconds or does it get notified of these server events? Sounds weird but I'm goint to ask anyway: can a web page subscribe to LMS server events? BTW can you recommend a documentation on the -Ext JS Library- that LMS uses if there is any? Haven't really had to use it before. Just curious. Not sure it plays a part here. Thank you. 'Ratings Light FAQ' (https://github.com/AF-1/lms-ratingslight) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) '*List of all plugins*' (https://github.com/AF-1/all-repos-and-links) ------------------------------------------------------------------------ AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=116641 _______________________________________________ developers mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/developers