14/12/2011 version 1.8
max SB version increased to 2.0
prevented loop when action started with zero time and no shut-down actions!
In response to the immense number of emails I've received on this, I've posted a new version with the max. Songbird version increased!
Version 1.6.0.0.
increased Songbird version
(Still) to do:
'do it now' keyboard shortcut ('Ctrl+Alt+S', if poss,)
Fixed and improved number panel (works better than ever: resets number to 00 when opened, will not allow input greater than 59 for minutes or seconds, closes automatically!)
Batch files to shutdown Vista and Windows 7 PC's included (but not selected or enabled). Use at your own risk (even more than everything else!), as I haven't been able to test on those systems.
Version 1.3.0.0.
Changes to allow more complete skinning as discussed.
Issue causing timer to loop back to 1 hour fixed (thanks to Fang Zhou for the report).
Version 1.2:
1) able to playback a media item (track or play list). Slight rearrangement of preferences was required.
2)keyboard shortcuts: Ctrl+S to toggle between display and icon; Ctrl+Alt+S to hide/reveal display.
3) skinnable
4) all code is now wrapped in an anonymous function; so there should be no interference with other add-ons.
5) max sb version = 1.5.0a
Version 1.1.0.0. - max Songbird verion increased to 1.4.0a
PLUS:
tidied icons
hide sleeptimer from the control pane (use the View menu to get it back)
AND MORE PREFERENCES:
set colors for the active timer icons
set your own alert message
WHEN THE TIME IS UP:
cut, finish or fade the playing track (customisable length limit and fade duration)
RUN an external application (e.g. to shut down PC) and/or CLOSE or RETURN to Songbird.
Hidden shortcut: click the bottom right corner of the timer to open its preferences panel.
1.0.0.0 Tested on Windows XP only. Works fine in a new profile!
TODO:
1) fade out volume before shutdown
2) review when hours and seconds are displayed
3) provide more options when time is up: run external file/stop playing etc.,