Not sure if you're still using the ncat script but completeness. 

Attached is a V2 of the script which is more efficient

1. It uses CLI "status" command to return all metadata in one call.
2. It uses the "subscribe" option of the "status" command so that status
message are generated unsolicited when changes happens (e.g. new track,
player mode) or after a time lime (currently 20 secs). 

So no need for polling loop in batch file.


+-------------------------------------------------------------------+
|Filename: cli_status_v2.lua.txt                                    |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37389|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=116052

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

Reply via email to