Greg Erskine wrote: > Yes. > > From the LMS CLI help: > > > Code: -------------------- > > <playerid> mode ? > The "mode" command allows to query the player state and returns one of "play", "stop" or "pause". If the player is off, "mode ?" returned value is undefined. > Example: > Request: "04:20:00:12:23:45 mode ?<LF>" > Response: "04:20:00:12:23:45 mode stop<LF>" -------------------- > > > > So the pcp_lms_mode function handles the "play", "stop" or "pause" > responses. It should have extra code to check for undefined and return > "off".
Where is the undefined response mapped to "stop", currently? Because "pcp mode" response is "stop" after "pcp power off" command sent. Maybe LMS response is also "stop" in this case? ------------------------------------------------------------------------ sakos's Profile: http://forums.slimdevices.com/member.php?userid=70470 View this thread: http://forums.slimdevices.com/showthread.php?t=110277 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
