Xlobby40 and Girder - Need Help

Help each other out

Xlobby40 and Girder - Need Help

Postby jrg on Tue Mar 09, 2004 5:51 pm

I have a basic Girder file (up, down, left, right, enter) that works to navigate around Xlobby with my remote. All of these work.

I want to be able map music events like play, pause, next, previous to my remote, so I can press the remote button and not have to navigate to the on screen buttons to control the playlist.

How do i do this? I know the new event manger is supposed to make it easier, but the older Xlobby version had the Girder event code right there in the skin editor. You just typed in a code, then made sure that number corresponded in your Girder file. I have no idea what to do in the new Event Manager.

A short tutorial would really help. I am so close being able to put up the keyboard, please help!
jrg
 
Posts: 28
Joined: Thu Nov 06, 2003 8:10 pm

Postby jrg on Tue Mar 09, 2004 6:22 pm

OK, still have not done it from the Event Manager, but...

Found that by adding the trigger code:

Code: Select all
<triggers>
   <trigger>
    <type>os</type>
    <execute>send message</execute>
    <parameter>55555</parameter>
    <parameter>304</parameter>
   </trigger>
  </triggers>


where '304' corresponds to your Girder Event, this will work.

I added this code to the Music.xml file, in the EventGroups dir, into each eventid i wanted to manipulate with Girder.

So where the eventid 'next' used to look like:
Code: Select all
<event>
  <name>next</name>
    <commands>
   <command>
    <type>music</type>
    <execute>next</execute>
   </command>
  </commands>
 </event>


it now looks like:
Code: Select all
<event>
  <name>next</name>
  <triggers>
   <trigger>
    <type>os</type>
    <execute>send message</execute>
    <parameter>55555</parameter>
    <parameter>304</parameter>
   </trigger>
  </triggers>
  <commands>
   <command>
    <type>music</type>
    <execute>next</execute>
   </command>
  </commands>
 </event>


I will get the hang of this yet... :lol:
jrg
 
Posts: 28
Joined: Thu Nov 06, 2003 8:10 pm

Postby Twit on Wed Mar 10, 2004 4:00 am

EXAMPLE.

Load event manager,

Got to Music then play. With play highlighted on the left click triggers on the right(top)

Click the send message tab (bottom) and enter your 55555 and 304 (example) then click add.

You have now associated a send message trigger to the play button.

Got to girder and activate it as you normally would.

Much easier than hacking the xml file.
Twit
 
Posts: 258
Joined: Thu Nov 20, 2003 4:14 am
Location: South Africa

Postby jrg on Wed Mar 10, 2004 5:11 pm

i have gotten pretty good with cut and paste for the xml files, though. These fancy gui's will never catch on anyway. :D
jrg
 
Posts: 28
Joined: Thu Nov 06, 2003 8:10 pm