Take a look at Slim/Plugin/SavePlaylist.pm, in the initPlugin function. That initialises a button function so that 'save' is executed on play.hold.
Of course, when overriding button functions, be aware that this will cause conflicts if you replace existing button maps or use one that might be used by another plugin. -k -- kdf ------------------------------------------------------------------------ kdf's Profile: http://forums.slimdevices.com/member.php?userid=7 View this thread: http://forums.slimdevices.com/showthread.php?t=46742 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
