Re: LMS & time/timer/timing

Michael Herger <slim-b/[email protected]> Sun, 7 Aug 2022 08:10:32 +0200
Newsgroups gmane.music.equipment.slimdevices.devel
Message-ID <[email protected]>
> I use timers just the way you describe here and below (incl. preventing
> multiple timers for the same event) in some of my plugins.
> I guess, looking at alarms, I'd hoped that I could 'outsource' *all* of
> the time keeping to LMS, more or less like alarms work but without
> clients. I'll set my own timer then.

Back in the days when we were still actively developing LMS we actually 
considered implementing a more dev firendlyframework for scheduled tasks.

> I was reading about syncing lyrics display to songs (in a browser).
> You'd have some sorft of subtitle file (e.g. Aegisub) that includes the
> exact time code (often up to the ms) for when a (partial) lyrics string
> should be displayed.
> So if timers are the only way, I guess you'd have to parse all time
> markers and corresponding lyrics strings from the subtitle file and then
> set a timer, display lyrics string, set next timer... Unless you know
> another way.

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.