<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1700" Guid="{7A77982F-AAF9-4CD6-BC4D-5A3D64C5B55D}" Time="1426147011.6">
    <Autostart Name="Autostart" Expanded="True">
        <Plugin Identifier="DirectoryWatcher" Guid="{003FABA6-AA6A-4395-9DB6-DC88EB07F5FE}" File="DirectoryWatcher">
            gAJYEQAAAEY6XERvd25sb2Fkc1xYRkVScQCIhnEBLg==
        </Plugin>
        <Plugin Identifier="XBMC2" Guid="{8C8B850C-773F-4583-AAD9-A568262B7933}" File="XBMCRepeat">
            gAJYCQAAADEyNy4wLjAuMXEAWAIAAAA4MHEBhnECLg==
        </Plugin>
    </Autostart>
    <Folder Name="amc" Expanded="True">
        <Macro Name="Disable: AMC" Expanded="True">
            <Event Name="DirectoryWatcher.Created" />
            <Action Name="Wake STORAGE-PC">
                System.WakeOnLan(u'14-DA-E9-0E-A4-2F')
            </Action>
            <Action>
                EventGhost.DisableItem(XmlIdLink(14))
            </Action>
            <Action Name="Backup trigger 120sec">
                EventGhost.TriggerEvent(u'Enable: AMC', 120.0)
            </Action>
        </Macro>
        <Macro Name="Enable: AMC" Expanded="True">
            <Event Name="DirectoryWatcher.Updated" id="11" />
            <Event Name="Main.Enable: AMC" />
            <Action>
                EventGhost.EnableItem(XmlIdLink(14))
            </Action>
        </Macro>
        <Macro Name="AMC" id="14" Expanded="True">
            <Event Name="DirectoryWatcher.Updated" id="15" />
            <Action>
                EventGhost.DisableItem(XmlIdLink(11))
            </Action>
            <Action Name="AMC">
                System.Execute(u'F:\\Media Center\\AMC.bat', u'', 0, True, 2, u'', True, False, u'', False, False, False)
            </Action>
        </Macro>
        <Macro Name="Media Companion" Expanded="True">
            <Event Name="DirectoryWatcher.Deleted" />
            <Action>
                EventGhost.EnableItem(XmlIdLink(15))
            </Action>
            <Action Name="Media Companion">
                System.Execute(u'F:\\Media Center\\Media Companion 3.615b\\mc_com.exe "mc_com.exe -e -m"', u'', 0, True, 2, u'', True, False, u'', False, False, False)
            </Action>
            <Action Name="Update XBMC">
                XBMC2.UpdateVideoLibrary()
            </Action>
            <Action Name="Launch/focus XBMC">
                System.Execute(u'C:\\Program Files (x86)\\Kodi\\Kodi.exe', u'', 0, False, 2, u'', True, False, u'', False, False, False)
            </Action>
        </Macro>
    </Folder>
</EventGhost>
