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".


------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=110277

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to