SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-07-2004, 11:15 PM
AJ Bertelson AJ Bertelson is offline
Sage Expert
 
Join Date: Dec 2003
Location: Maple Grove, MN
Posts: 532
The WAF killer, getting myHTPC to go in fron when sage sleeps

This the WAF killer for me. The three main components on my HTPC are

-Zoomplayer for media playback
-myHTPC for all front end utilities
-Sage for TV viewing purposes

Girder runs all of these components.


The problem is that when I put sage into sleep it minimizes to the system tray and myHTPC is no longer onto so I have lost the navigation control buttons on my remote. I have to left click and I get the the control back of myHTPC.

Some one once fixed this problem before here but I was wondering if anyone else knew how to fix this problem with girder?
Reply With Quote
  #2  
Old 03-07-2004, 11:34 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Check out the GML I'm attaching. It's a little messy but there are a couple things that might help you. (Don't even ask about the placement).

The first thing I'd look at is way at the bottom in the Winamp group I have two commands "myHTPC Exists" that is learned to the "On Taskswitch" event (change All to Girder Events I think). The next is "Set Focus" which is called from "myHTPC Exists" whenever there is a taskswitch. This may (probably will) require closing myHTPC when not using it.
Attached Files
File Type: txt all.gml.txt (238.9 KB, 247 views)
Reply With Quote
  #3  
Old 03-08-2004, 07:27 AM
falchulk falchulk is offline
Sage Icon
 
Join Date: Sep 2003
Posts: 1,150
I do exactly that as well. The diffrence is that I use the irremote application in conjuction with girder. When I hit the power button while in any application, it runs the exit routine (ctrl + x, Ctrl + w, alt + f4, etc..) and then does an alt + tab. Works great for me.
Reply With Quote
  #4  
Old 03-08-2004, 09:10 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
If SetFocus doens't seem to do the trick, try inserting a delay prior to doing SetFocus.
Reply With Quote
  #5  
Old 03-08-2004, 03:28 PM
andrewswright andrewswright is offline
Sage Advanced User
 
Join Date: Aug 2003
Posts: 75
My alternative method is to have a multigroup that puts SageTV to sleep, then moves the mouse to coordinates 0,0, then left clicks the mouse. This brings myHTPC to the foreground.

I can attach my gml file when I get home if you are interested.

Andrew
Reply With Quote
  #6  
Old 03-14-2004, 12:01 AM
AJ Bertelson AJ Bertelson is offline
Sage Expert
 
Join Date: Dec 2003
Location: Maple Grove, MN
Posts: 532
Quote:
Originally posted by andrewswright
My alternative method is to have a multigroup that puts SageTV to sleep, then moves the mouse to coordinates 0,0, then left clicks the mouse. This brings myHTPC to the foreground.

I can attach my gml file when I get home if you are interested.

Andrew
I finally found some time this weekend to work on it could you please attach this file?
Reply With Quote
  #7  
Old 03-14-2004, 03:39 PM
andrewswright andrewswright is offline
Sage Advanced User
 
Join Date: Aug 2003
Posts: 75
It's admittedly ugly, but the gml works well for me, controlling Sage, myHTPC, and Zoomplayer. Not all commands are represented, as the Windows MCE rmote controls some things out of the box.

Andrew
Attached Files
File Type: txt copy of htpc.gml.txt (107.6 KB, 262 views)
Reply With Quote
  #8  
Old 03-14-2004, 10:54 PM
AJ Bertelson AJ Bertelson is offline
Sage Expert
 
Join Date: Dec 2003
Location: Maple Grove, MN
Posts: 532
whoa, thats going to take awhile to figure out unless you can point me to the instance where girder registers Ctrl-Z then moves the mouse to (0,0)
Reply With Quote
  #9  
Old 03-31-2004, 11:23 AM
tangfj tangfj is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 104
I don't think this topic has been posted to since the release of .15, but I have had problems getting Girder to play nice with SageTV since the release of .15.

I don't have any problems getting myHTPC regaining focus with a button press on the remote as I simply add a command to a multigroup to set focus to myHTPC when the exit button is pressed, the problem comes when I use the Sleep button from the main menu of Sage. Does anyone have a workaround for this?

I have tried using 'is foreground' for this and then saying that if SageTV is not the foreground app to 'set focus' to myHTPC, but when I do this Girder gets stuck in a loop and always sets focus to myHTPC no matter what. I've tried almost everything that I can think of in Girder to work around this, so if anyone has successfully regained focus to myHTPC after pressing the sleep button from the main menu of Sage I would really like to know how you did it!! Thanks.
Reply With Quote
  #10  
Old 03-31-2004, 11:31 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Most Girder users may not have dealt with the new Sleep button (it's new in this build) yet.

I'll probably ignore it and continue to cause sleep by a command that originates in Girder. The problem you mention is symptomatic of the general fact that Sage cannot yet provide any feedback to Girder as to button presses and the like.

The Girder window exists / is foreground functions work ok in some cases and not in others. [EDIT: it's mostly about timing and slow windows... I'm not trying to state that Girder is unreliable.] I've found it best to (when possible) start things in Girder so that Girder has a specific spot in its GML to go from, rather than having to do too much detecting of (foreground) windows.

That's one reason while I'll probably avoid the sleep button in the Sage GUI. The other is that I have a bunch of button on my remote which all cause immediate Sage sleepage, so it would be silly for me to bother navigating to a button to accomplish this.

Last edited by salsbst; 03-31-2004 at 11:41 AM.
Reply With Quote
  #11  
Old 03-31-2004, 11:38 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Yeah, that's probably the first thing I'll do with Studio, get rid of the Sleep button and put the Play DVD button back. I have to be careful not to hit the sleep button since thats where the Setup button used to be.

tangfj,
You might want to take a look at the GML I have linked in my sig, it contains Sendmessages for every command in Sage (except the few added in .15).

edit.
I updated the GML in my sig to include all .15 commands

Last edited by stanger89; 03-31-2004 at 12:01 PM.
Reply With Quote
  #12  
Old 03-31-2004, 11:59 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
I'll make it unanimous & say not to use the new sleep men ubutton... and I don't even use Girder! If whatever program you are using to handle your remote's input is tracking the status of whatever is active at the moment, using the new sleep menu button will throw it all out of sync.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #13  
Old 03-31-2004, 12:03 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I am glad it's there so hopefully we won't see all the "How do you put Sage to sleep?" posts. I'll just be happy when I can get rid of it.
Reply With Quote
  #14  
Old 03-31-2004, 12:12 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally posted by stanger89
I am glad it's there so hopefully we won't see all the "How do you put Sage to sleep?" posts.
Yup... and that's probably one reason it was put back -- the fact that too many people didn't know about sleep or how to start sleeping. Of course, it will start this whole new topic, as we've seen here... so, now we'll start saying to ignore the button!

Hey... at least it is easy to stop LiveTV w/o going to sleep now!

- Andy
Reply With Quote
  #15  
Old 03-31-2004, 12:31 PM
jominor's Avatar
jominor jominor is offline
Sage Expert
 
Join Date: Dec 2003
Posts: 573
Re: The WAF killer, getting myHTPC to go in fron when sage sleeps

Quote:
Originally posted by AJ Bertelson
This the WAF killer for me. The three main components on my HTPC are

-Zoomplayer for media playback
-myHTPC for all front end utilities
-Sage for TV viewing purposes

Girder runs all of these components.
girder?
Do you have myHTPC invoking Sage? If so, how?
Reply With Quote
  #16  
Old 03-31-2004, 12:54 PM
tangfj tangfj is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 104
jominor, the way I have myHTPC launching Sage is by creating a new group in myHTPC and then creating a program within that group which launches the exe for Sage with the parameter -awake in the parameters field. Of course, you could just create a program from the main menu of myHTPC.

I just did it this way in case I didn't really want to run Sage I could still back out of the Sage group I created in myHTPC. If you want I can try to make some screenshots of my setup.
Reply With Quote
  #17  
Old 03-31-2004, 02:02 PM
falchulk falchulk is offline
Sage Icon
 
Join Date: Sep 2003
Posts: 1,150
To tell you the truth, you have not needed the awake switch for a long time. Just calling the app works fine with a program entry in Myhtpc.
Reply With Quote
  #18  
Old 03-31-2004, 02:15 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Yup... the last time I tested the "-awake" parameter, all it accomplished was to not start the program if it wasn't already running. If it was already running, using it made no difference regarding waking SageTV, as far as I could tell.

Running SageTV.exe again, when not sleeping, is a good way to have it regain focus, btw.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #19  
Old 04-01-2004, 09:24 AM
tangfj tangfj is offline
Sage Advanced User
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 104
FWIW, it seems like with the client version, you have to use the -awake parameter. Otherwise it will actually start another instance of SageTVClient. Let me know if there is a way around this.
Reply With Quote
  #20  
Old 04-01-2004, 09:35 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally posted by tangfj
FWIW, it seems like with the client version, you have to use the -awake parameter. Otherwise it will actually start another instance of SageTVClient.
Oh yeah... I forgot to mention that... the client has a known problem where it will actually run multiple instances. And, if you use -awake & it isn't already running, it won't start, if I remember correctly. I've reported this as a bug in the past, but I suppose it is still there. It should be an easy fix for them. If this is happening with beta 15, why don't you submit it again? Bug Submission Form

- Andy
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:16 AM.


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