The alarm code in SC 7.2 and newer sends several different notifications
to which a plugin can subscribe. So you could have a plugin subscribe to
'alarm sound' events and cause that kind of info to be displayed. One
relatively easy way to do that may be setting the When Playing
screensaver pref on 'alarm sound' and restoring the pref when the alarm
quits -- just a couple event subscriptions and some
setTimer()/killTimer() calls. Otherwise you have to deal with stuff
like preventing the When Playing saver from kicking in.

Another option may be changing the default alarm screensaver -- look at
the code of Slim/Util/Alarm.pm, IIRC there's a spot where you can
specify that savers other than now_playing could/should be used. Making
that change might require running the "pure Perl" version of
SqueezeCenter, which may be non-trivial if you're on Windows.


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver ContextMenu FuzzyTime 
KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=55805

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to