Normal
[USER=79284]@wjw[/USER] : I would have expected the above to work, but getting the double-quotes correct can be a bit of a challenge (so don't give up straight away). However, for an alternative...My home network went through a phase where the HTPC would not recognise the network, and so MP could not see any of the media on other devices in the network. I solved this by invoking my "restart_network.bat" from the left side menu on MP's "Home" panel. This requires modifying the xml file for the "Home" panel. I added this definition to the left side menu:[code]<control> <description>External application</description> <type>button</type> <id>19</id> <application>C:\Users\Iceman\Desktop\Restart Network.lnk</application> <arguments></arguments> <label>Restart network</label> <onup>18</onup> <ondown>16</ondown> <onleft>130</onleft> <onright>130</onright></control>[/code]This actually invokes a shortcut on the desktop, but the shortcut invokes the BAT file. The advantage of invoking a shortcut is that you can specify that it is to run minimised or maximised or in a normal window. Invoking the BAT file directly ought to work (but I have not tried it). The ids in the xml above are specific to my "Home" panel -- you should change them to whatever is appropriate for your skin. This is what the result looks like:[ATTACH]209844[/ATTACH]-- from CyberSimian in the UK
[USER=79284]@wjw[/USER] : I would have expected the above to work, but getting the double-quotes correct can be a bit of a challenge (so don't give up straight away). However, for an alternative...
My home network went through a phase where the HTPC would not recognise the network, and so MP could not see any of the media on other devices in the network. I solved this by invoking my "restart_network.bat" from the left side menu on MP's "Home" panel. This requires modifying the xml file for the "Home" panel. I added this definition to the left side menu:
[code]<control>
<description>External application</description>
<type>button</type>
<id>19</id>
<application>C:\Users\Iceman\Desktop\Restart Network.lnk</application>
<arguments></arguments>
<label>Restart network</label>
<onup>18</onup>
<ondown>16</ondown>
<onleft>130</onleft>
<onright>130</onright>
</control>[/code]
This actually invokes a shortcut on the desktop, but the shortcut invokes the BAT file. The advantage of invoking a shortcut is that you can specify that it is to run minimised or maximised or in a normal window. Invoking the BAT file directly ought to work (but I have not tried it). The ids in the xml above are specific to my "Home" panel -- you should change them to whatever is appropriate for your skin. This is what the result looks like:
[ATTACH]209844[/ATTACH]
-- from CyberSimian in the UK