I'm running XAMPP on my core system, which has EventGhost on it. It connects to the multiple XBMC systems and controls them nicely, however I want to do a little bit more with it. Longer term I will design a single HA console that will be the master system, but for now a simple webpage simply showing what is playing on the various systems.
I have added
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Name="Configuration Tree" Expanded="True" Version="851" Guid="{75D06BB1-5AA7-4D9D-9B24-2BB5CAE37537}" Time="1240851451.01">
<Autostart Name="Autostart" Expanded="True">
<Plugin File="FileOperations" Identifier="FileOperations">
gAIpLg==
</Plugin>
<Action>
EventGhost.PythonCommand(u'import urllib')
</Action>
</Autostart>
The bit, I'm trying to get joined together is the output from the urllib.urlopen statement, so that the FileOperations writes it to the file, which the XAMPP php server then displays.<Folder Name="Systems Monitoring" Expanded="True">
<Macro Name="File Operations: Write {eg.result} to file: C:\xampp\htdocs\alice\holosuite_status.txt" Expanded="True">
<Action>
EventGhost.PythonCommand(u'u\'urllib.urlopen("http://192.168.150.16/xbmcCmds/xbmcHttp ... tlyPlaying")\'')
</Action>
<Action>
FileOperations.Write(2, u'{eg.result}', u'C:\\xampp\\htdocs\\alice\\holosuite_status.txt', 0, 0, False, False, False, 'cp1252')
</Action>
</Macro>
Again, I might possibly be making this a lot harder than it needs to be
Thanks
Gav