You're almost there.  The <profiles> section look ok but the <menus> bit
should be outside of it. Therefore, the tail-end of your file should
look like this:

Code:
--------------------
    
  </keys> <!-- OK up to this point (after VOLUME_MUTE) -->
  <menu>Listen To Classic</menu> <!-- when the profile is active, this menu 
shoulkd be used, usually goes at the start of profile but doesn't matter -->
  </profile>
  </profiles>
  
  <menus>
  <menu>Listen To Classic</menu>
  <items>
  <item order="1">
  <caption>Turn Everything ON</caption>
  <events>
  <event ID="press">
  <override>true</override> <!-- don't need this in menus but it won't hurt -->
  <actions>
  <action order="1">
  <remote>PRONTO</remote>
  <command>AMP ON</command>
  </action>
  <action order="2">
  <remote>PRONTO</remote>
                                <command>SB3 ON</command>
  </action>
  <action order="3">
  <pause>10</pause> <!-- pause goes inside action -->
  <remote>PRONTO</remote>
  <command>AUX</command>
  </action>
  <action order="4">
  <remote>PRONTO</remote>
  <command>STEREO</command>
  </action>
  <action order="5">
  <remote>PRONTO</remote>
  <command>PLASMA OFF</command>
  </action>
  </actions>
  </event>
  </events>
  </item>
  <item order="2">
  <caption>All Off</caption>
  <events>
  <event ID="press">
  <actions>
  <action order="1">
  <remote>PRONTO</remote>
  <command>AMP OFF</command>
  </action>
  <action order="2">
  <remote>PRONTO</remote>
  <command>SB3 OFF</command>
  </action>
  </actions>
  </event>
  </events>
  </item>
  </items>
  </menu>
  </menus>
  </squeezeIR>
  
--------------------


This should mean that when the "PRONTO" profile is active in the
SqueezeIR settings then the "Listen To Classic" menu will be available
from Extras->SqueezeIR.  Incidentally, there is a LIRC file for the SB3
which would have made your <remotes> section alot smaller.  Also, if you
give the "PRONTO" profile the same name as your SB3 has in SqueezeCenter
then it will automatically be activated whenever you connect your
controller to it.


-- 
indifference_engine
------------------------------------------------------------------------
indifference_engine's Profile: 
http://forums.slimdevices.com/member.php?userid=20698
View this thread: http://forums.slimdevices.com/showthread.php?t=66795

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to