Your code looks find to me, but I'm not at home at the moment so I can't completely verify it. I don't remember the SlimServer standard CLI commands, but if there is a standard command starting with "play" this might be the problem. In this case SlimServer probably calls the standard command instead of yours, try to reverse the keywords in the addDispatch method so you have "['dog','play']" instead.
I've always started my plugins CLI command with something that is unique to the plugin. As an example all CLI commands in the TrackStat plugin starts with "trackstat", for example: trackstat setrating comet;227055 Wrote: > Do I have to create a CLI command that enhances an existing command or > can I make up my own command name and syntax? You can definitely make your own commands, but as specified above I'm not sure they can start with the same keyword as one of the standard commands. -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library and RandomPlayList plugins' (http://wiki.erland.homeip.net/index.php/Category:SlimServer)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=38384 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
