Status of 777es after startup (variables)

User avatar
rtarver
Senior Member
Senior Member
Posts: 118
Joined: Fri Dec 23, 2005 6:51 pm
Contact:

Status of 777es after startup (variables)

Postby rtarver » Mon May 25, 2009 9:11 pm

I've been trying to automate my play commands and in the process I've realized that when mlcx777es starts, it doesn't create the server variables cx777es_n_power. My logic requires these values, so I added the following commands to my MLStartup plugin. I thought somebody else out there might benefit from them.

Code: Select all

MLServeCmd.MLCX777ES|Status~1
MLServeCmd.MLCX777ES|Status~2
MLServeCmd.MLConditional|IsNE##{{cx777es_1_power}}##1##MLServeCmd.SetVariable|cx777es_1_power~0##
MLServeCmd.MLConditional|IsNE##{{cx777es_2_power}}##1##MLServeCmd.SetVariable|cx777es_2_power~0##


This code runs the status command, which will update the variables if the changer is on. If it's not on, then no variables are populated and the logic results in setting the power variable to 0.

Russ
Warp Speed now, and don't give me
any of that dilithium crystal crap!!!

Return to “Sony”

Who is online

Users browsing this forum: No registered users and 1 guest