Unless you want to do something on exit of your screensaver, you don't need a sub routine for this, so can send undef to add saver:
Slim::Buttons::Common::addSaver('SCREENSAVER.TMS', getFunctions(), \&setScreenSaverMode, undef, 'PLUGIN_TMS', ); -- Triode ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=30022 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins