As you can see i have setup checks for power and source individually, based on the QSTN event. I am assuming there is a better way of doing this, by capturing the data that was returned via the initial power check or source check in the QSTN event, then populating the payload of the broadcast with that data. Instead of making all of those source checks and power checks etc. I could have a single broadcast with a dynamic payload.
So not really a problem as much as it is a, how should i go about doing this or can i, or how would you?
<Plugin Identifier="OnkyoISCP" Guid="{5B3B8AEB-08D7-4FD0-8BEE-8FE50C231E09}" File="OnkyoISCP">
gAJYDQAAADE5Mi4xNjguMS4xMjhxAE3g6lgBAAAAMXEBh3ECLg==
</Plugin>
<Plugin Identifier="BroadcastListener" Guid="{5E8DA56B-24AC-4092-9521-169343C5171C}" File="Broadcaster">
gAIoWAkAAABCcm9hZGNhc3RxAFgPAAAAMjU1LjI1NS4yNTUuMjU1cQFNNYKIWAIAAAAmJnECVQ0xOTIuMTY4LjEuMTIzcQN0cQQu
</Plugin>
<Plugin Identifier="FileOperations" Guid="{50D933C5-F93B-4A8A-A6CE-95A40F906036}" File="FileOperations">
gAIpLg==
</Plugin>
</Autostart>
<Folder Name="Onkyo Source Check" Expanded="True">
<Macro Name="Onkyo Check Source" Expanded="True">
<Event Name="Broadcast.Get_Source" />
<Action>
OnkyoISCP.SendCommand(u'SLIQSTN')
</Action>
</Macro>
</Folder>
<Folder Name="Check AVR PWR" Expanded="True">
<Macro Name="Onkyo Check PWR" Expanded="True">
<Event Name="Broadcast.AVR_PWR_Status" />
<Action>
OnkyoISCP.SendCommand(u'PWRQSTN')
</Action>
</Macro>
</Folder>
<Folder Name="Onkyo PWR Status On Broadcast" Expanded="True">
<Macro Name="Onkyo PWR Status" Expanded="True">
<Event Name="OnkyoISCP.PWR01" />
<Action>
BroadcastListener.Broadcast(u'event', u'eg.AVR_PWR&&PWR_on', 33000)
</Action>
</Macro>
<Folder Name="Onkyo PWR Status Off Broadcast" Expanded="True">
<Macro Name="Onkyo PWR Status" Expanded="True">
<Event Name="OnkyoISCP.PWR00" />
<Action>
BroadcastListener.Broadcast(u'event', u'eg.AVR_PWR&&PWR_off', 33000)
</Action>
</Macro>
</Folder>
</Folder>
<Folder Name="Onkyo Game Broadcast">
<Macro Name="Onkyo Check Source Game Broadcast" Expanded="True">
<Event Name="OnkyoISCP.SLI02" />
<Action>
BroadcastListener.Broadcast(u'event', u'eg.AVR_Source&&Game', 33000)
</Action>
</Macro>
</Folder>
<Folder Name="Onkyo CD Broadcast" Expanded="True">
<Macro Name="Onkyo Check Source CD Broadcast" Expanded="True">
<Event Name="OnkyoISCP.SLI23" />
<Action>
BroadcastListener.Broadcast(u'event', u'eg.AVR_Source&&CD', 33000)
</Action>
</Macro>
<Folder Name="Onkyo WD Broadcast" Expanded="True">
<Macro Name="Onkyo Check Source WD Broadcast" Expanded="True">
<Event Name="OnkyoISCP.SLI00" />
<Action>
BroadcastListener.Broadcast(u'event', u'eg.AVR_Source&&WD', 33000)
</Action>
</Macro>
</Folder>
</Folder>
<Folder Name="Onkyo BD/DVD Source Check" Expanded="True">
<Macro Name="Onkyo Check Source BD/DVD Broadcast" Expanded="True">
<Event Name="OnkyoISCP.SLI10" />
<Action>
BroadcastListener.Broadcast(u'event', u'eg.AVR_Source&&BD', 33000)
</Action>
</Macro>
</Folder>
</EventGhost>