SageTV Community  

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

Notices

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-15-2004, 11:33 AM
Muchacho Muchacho is offline
Sage Advanced User
 
Join Date: Nov 2003
Posts: 202
Multiple SageTV Clients opening?

I use myHTPC to launch Sage client. I have it set to go to sleep when I want to go abck to myHTPC. All that works well until I go back to sage, b/c it opens another instance of sageclient so that 2 are now running... I am using girder, so it should be pretty easy to make it just re-open the client, but I cant seem to figure out how to do it. Unfortunately sageclient does not recognize the other instance and myHTPC doesent really have a way to easliy send girder an event to awaken sage... Anyone have a way to do this that works for them? Thanks for the help!
Reply With Quote
  #2  
Old 04-15-2004, 11:41 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Use "SageTVClient.exe -awake" to wake it when sleeping, or else it will run a 2nd instance of the program. The downside is that if it isn't already running, the "-awake" option prevents it from running a new instance.

On the other hand, maybe someone else has a Girder-specific solution...

- 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
  #3  
Old 04-15-2004, 12:04 PM
Muchacho Muchacho is offline
Sage Advanced User
 
Join Date: Nov 2003
Posts: 202
Thanks- I think I will be able to get this working... I will just need to start sageTV on startup so that it will always be running in the background.

I will have to add it to the startup folder though as the load on windows startup option doesent seem to work for me for the client. It works fine for SageTV though. Thanks again.
Reply With Quote
  #4  
Old 04-15-2004, 03:36 PM
SamVimes2 SamVimes2 is offline
Sage User
 
Join Date: Aug 2003
Location: NYC
Posts: 46
I also cannot get the start with windows option to work for the client. Anyone have any comment on this?
Reply With Quote
  #5  
Old 04-16-2004, 12:31 AM
TunaBoo TunaBoo is offline
Sage Advanced User
 
Join Date: Jan 2004
Posts: 202
Send a message via ICQ to TunaBoo Send a message via AIM to TunaBoo Send a message via Yahoo to TunaBoo
What OS?
Reply With Quote
  #6  
Old 04-16-2004, 09:18 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally posted by Agonostis
I also cannot get the start with windows option to work for the client. Anyone have any comment on this?
Try adding this line to the sage.properties file (should already be there but probably with a different value).
ui/startup_type=2

This is from my SageTV box, but it starts Sage in sleep mode with windows.
Reply With Quote
  #7  
Old 04-16-2004, 05:22 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Just thought I would follow up & mention that, as the beta 16 release notes say, the client will now run only one instance, unless you specify -multi as a command parameter. So... you don't need to worry about using -awake to make sure only 1 copy runs now.

- 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
  #8  
Old 04-22-2004, 11:57 AM
AndyS AndyS is offline
Sage Aficionado
 
Join Date: Apr 2004
Location: Orange County, CA
Posts: 383
Quote:
Originally posted by Opus4
Just thought I would follow up & mention that, as the beta 16 release notes say, the client will now run only one instance, unless you specify -multi as a command parameter. So... you don't need to worry about using -awake to make sure only 1 copy runs now.

- Andy
That doesn't seem to be the case for me. If I run SageTV.exe multiple times, I get multiple copies opening

The first instance is started as a service with '-startup'. Subsequent instances are started from the command-line without params, and I do, indeed, still get multiple instances.

It seems to me that there should never be an occasion when multiple instances of the server should run - won't they fight for control and resources? I can see that you might have multiple clients (for instance if you're running terminal-server or something like that) but the server? - I suspect that should not be allowed.

Andy.
Reply With Quote
  #9  
Old 04-22-2004, 01:02 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally posted by AndyS
If I run SageTV.exe multiple times, I get multiple copies opening

The first instance is started as a service with '-startup'. Subsequent instances are started from the command-line without params, and I do, indeed, still get multiple instances.
I wonder if that has anyting to do with running it as a service... whenever I run the server, it wakes up the current sleeping instance, or it switches Windows focus to it if it isn't sleeping.

You could always report it.

- Andy
Reply With Quote
  #10  
Old 04-22-2004, 04:33 PM
sixdoubleo's Avatar
sixdoubleo sixdoubleo is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: Sacramento, CA
Posts: 304
Send a message via Yahoo to sixdoubleo
Quote:
Originally posted by Muchacho
Thanks- I think I will be able to get this working... I will just need to start sageTV on startup so that it will always be running in the background.

I will have to add it to the startup folder though as the load on windows startup option doesent seem to work for me for the client. It works fine for SageTV though. Thanks again.
I have the same issue, which I solved with a batch file. Girder doesn't help much because when SageTVClient is asleep Girder doesn't see it. Fortunately, it shows up in the Windows tasklist.

Configure your SageTV menu item in myHTPC to run the following batch file. It will detect whether it's already running and run the appropriate command so that you always only get one instance. Using this method it's not required to run Sage in your startup. However it is usually nice to have it already loaded for speed reasons.



@echo off

rem This batch file detects whether SageTVClient is already running.
rem If it ISN'T, it launches it normally.
rem If it IS, it wakes it.

rem Uses the Windows XP and above command "tasklist" and greps it...

:check4sage
tasklist | find /I "SageTVClient.exe"

if errorlevel 1 goto nosage

:sagerunning
call "c:\program files\frey technologies\sagetv\sagetvclient" -awake
goto end

:nosage
call "c:\program files\frey technologies\sagetv\sagetvclient"
goto end


:end
exit
Reply With Quote
  #11  
Old 04-22-2004, 04:42 PM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
Is there a reason you guys need to use the -awake command? If I run SageClient it either launches or starts the sleeping copy.
Reply With Quote
  #12  
Old 04-22-2004, 04:52 PM
sixdoubleo's Avatar
sixdoubleo sixdoubleo is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: Sacramento, CA
Posts: 304
Send a message via Yahoo to sixdoubleo
Quote:
Originally posted by mlbdude
Is there a reason you guys need to use the -awake command? If I run SageClient it either launches or starts the sleeping copy.
I think we're running 1.4. I know I am. Aren't you running version 2?
Reply With Quote
  #13  
Old 04-22-2004, 04:53 PM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
Yup .
Reply With Quote
  #14  
Old 04-22-2004, 04:59 PM
sixdoubleo's Avatar
sixdoubleo sixdoubleo is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: Sacramento, CA
Posts: 304
Send a message via Yahoo to sixdoubleo
Quote:
Originally posted by mlbdude
Yup .
If I didnt have a bunch of other projects going on I wouldn't mind testing v2...but I just need everything to stay stable for now so I'm sticking with 1.4 until the official release of v2. I actually think the 1.4 interface rocks and it suits every need I have.

But looking at the post, it was posted to Beta Test Software Forum. Maybe the original poster is running 2.
Reply With Quote
  #15  
Old 04-22-2004, 05:47 PM
jblust's Avatar
jblust jblust is offline
Sage Advanced User
 
Join Date: Apr 2004
Posts: 84
With the -multi parameter, how does it work running two clients on the same machine? I'm considering running a client on my server, and using a modulator and ir-distribution system to display the interface on other TV's in the house. If I wanted to make two different client instances available on two different channels, could I run two clients on the same server:

With two PVR-350's, having one client output on each of the 350-outs?

With one client on the 350-out, and the other client on my video card-out?
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 07:59 AM.


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