------------------------------------------------------------------------
A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=79524
------------------------------------------------------------------------
Question: Are you interested in IR-over-IP?
    
- Yes, I'd like to have IRoIP.
- No, I don't care.
------------------------------------------------------------------------

kika1992;579172 Wrote: 
> Hi Indifference Engine,
> 
> I got my system working fine now with the attached xml-file.
> I ended up with SBS 7.5.0 and SqueezeIR 0.92.
> 
> To make it perfect, I have one question regarding menuevents. As you
> see in the file I have 3 submenus (Audionet Stereo, TV, Xtreamer) that
> are shown, when entering the SqueezeIR menu in controller's extras.
> I've done that to make the whole structure more tidy and to avoid
> having lists with 20 or 30 items. Now I want the controller to turn on
> the TV and the Topfield-Receiver when I enter the TV menu.
> 
> I've tried already to insert a menuevent section into the "TV" menu,
> but that doesn't work.
> 
> Hope you can help,
> 
> Thank you very much in advance.

You're almost there! The <menuevent> is a special one used only if you
are entering the menu directly from the Extras menu, whereas you are
going through another menu first.  All you need to do is copy your
<menuevent><actions> and put them into the "SqueezeIR" menu <item> so
it will look like this in your "SqueezeIR" menu definition:

Code:
--------------------
    
  <item order="2">
  <caption>TV</caption>
  <events>
  <event ID="all">
  <override>true</override> <!-- strictly you do not need this as there is no 
default action for a menu but leaving it will not hurt. -->
  <target>TV</target>
  <actions>
  <action order="1">
  <remote>Topfield</remote>
  <command>Power</command>
  </action>
  
  <action order="2">
  <remote>LG</remote>
  <command>power</command>
  </action>
  </actions>
  </event>
  </events>
  </item>
--------------------


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

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to