SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-16-2004, 08:58 AM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Sage sending a message to Girder

How can I get Sage to send a message to Girder?

I want to use Sage as the main menu for the Home Theatre.

So, when the system is turned on, you get Sage main menu. Since I use an external DVD player, I want to have a menu that says "DVD Player" and have it send a message to Girder that will run the proper Girder command to change the TV input, turn on the DVD player, switch the Amp, etc.

The latter already works, I just want to know how I can get the menu selection on Sage to initiate something in Girder.

Thanks,

Stacy
Reply With Quote
  #2  
Old 12-16-2004, 09:17 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
I don't believe you can do this by default within Sage. You may be able to get Cayars or someone with Studio, to add it to their STV. This would add all kinds of nice capability.
Reply With Quote
  #3  
Old 12-16-2004, 12:07 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
If using my dynamic menu system (or Cayar's STV) then you can define a menu action to execute the command 'event.exe' which is delivered with Girder and generates a Girder Event... Here is one of my event commands (triggers an event which shuts down RealPlayer running in the background)
Code:
        <actionMenuItem
          title="Close Radio Player">
          <actionList>
            <extCommand
               window="normal"
               command="C:\Program Files\girder32\event.exe"
               arguments="-silent  CloseRealPlayer"
               waitforexit="0"
               />
          </actionList>
        </actionMenuItem>
If you want to trigger events on keypress hen you will have to use Girder directly
Reply With Quote
  #4  
Old 12-16-2004, 12:23 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Very nice,
thanks,
Reply With Quote
  #5  
Old 12-16-2004, 12:35 PM
Cayars Cayars is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 2,029
The only problem I'd see is that this isn't "bound" to a key. It's a menu choice. So it would work well for changing things/components but as soon as you leave the "SageTV" interface you now don't have an easy way to switch back to SageTV as you would have to fly blind not being able to see the SageTV menu.

Or did you solve this problem by binding one key on the remote that always takes you back to SageTV? That would actually work pretty well now that I think about it as you could build out all kinds of menus in the Dynamic Menu system to do a lot of things but only have to have one button dedicated to getting you back to SageTV.
Reply With Quote
  #6  
Old 12-16-2004, 12:54 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Quote:
Originally Posted by Cayars
The only problem I'd see is that this isn't "bound" to a key. It's a menu choice. So it would work well for changing things/components but as soon as you leave the "SageTV" interface you now don't have an easy way to switch back to SageTV as you would have to fly blind not being able to see the SageTV menu.

Or did you solve this problem by binding one key on the remote that always takes you back to SageTV? That would actually work pretty well now that I think about it as you could build out all kinds of menus in the Dynamic Menu system to do a lot of things but only have to have one button dedicated to getting you back to SageTV.
Carlo,

Once I leave sage and go to the external DVD player, if I hit a button on the remote, Girder will run the same power-on sequence that will make sure everything's turned on then go to the SageTV home menu.
Reply With Quote
  #7  
Old 12-16-2004, 01:33 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
How do I program am event for this?
Right click the command/multigroup
'Add EventString'
select the event object (and rename it if you want)
in the dropdown next to the 'Learn Event' button, select 'Girder Event'
Click Learn Event, and you get a popup box.
You can now just type the event string passed in the command line to event.exe (case sensitive)
Reply With Quote
  #8  
Old 12-16-2004, 03:12 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Quote:
Originally Posted by nielm
Right click the command/multigroup
'Add EventString'
select the event object (and rename it if you want)
in the dropdown next to the 'Learn Event' button, select 'Girder Event'
Click Learn Event, and you get a popup box.
You can now just type the event string passed in the command line to event.exe (case sensitive)
Actually, I found a much easier way. Just click LEARN EVENT, then switch windows back to Sage, click on the menu and it will register that automatically in Girder.

Thanks for the help

Stacy
Reply With Quote
  #9  
Old 12-17-2004, 03:48 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by srothwell
Actually, I found a much easier way. Just click LEARN EVENT, then switch windows back to Sage, click on the menu and it will register that automatically in Girder.
I have the TaskSwitch Plugin enabled in my girder config, so switching windows is an event -- which makes it a pain to learn!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.