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 08-21-2003, 12:51 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Starting SageTV as a Service

I've got an idea how to do this....many have asked for it on XP for various reasons (user switching, recording while logged off, etc). Give this a try and let me know what happens.

1. Setup SageTV to load at startup in the system tray.
2. Quit SageTV
3. Open RegEdit and go to:
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
4. There will be a SageTV value there. Make an identical one underneath:
HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices
(you may need to create the RunServices key)
5. Quit RegEdit
6. Start SageTV and disable loading at startup.
7. Quit SageTV and restart Windows.

Let me know what happens. Thanks in advance for the help.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #2  
Old 08-22-2003, 05:00 AM
jmeeks jmeeks is offline
Sage Aficionado
 
Join Date: Feb 2003
Location: St. Louis
Posts: 309
Narflex, does this only apply for XP? Will it work for W2K?
__________________
John Meeks
Reply With Quote
  #3  
Old 08-22-2003, 05:36 AM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,481
I tried it and I didn't get anything. In other words SageTV didn't start, as a service or otherwise. I had to create the RunServices key so maybe I mistyped something. Did anyone else have any luck?

PS:Jeff, did you change the way Sage works with fast user switching? Or the way the SageTV setup works for "install for this user only"? While trying this experiment, I noticed a change in Sage's behavior. After the service test failed I started SageTV manualy. I then used fast user switching to go to my wife's account. Now SageTV doesn't try to start a second instance for her account. When I go back to the main account Sage is fine. No loss of sound or recording gaps like before.

Not sure if this is the result of this experiment, 1.4.9RC2, or the new install that occurred with 1.4.9. Either way it's good since multiple active accounts don't seem to be a problem anymore. I just hope it stays like this.
Reply With Quote
  #4  
Old 08-22-2003, 09:58 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
justme, SageTV didn't try to start a second instance, because you removed the run on startup option when doing this experiment. I would imagine if you placed a shortcut in your startup folder, then sagetv would start when you're logged in, but not for anybody else. This would allow you to do fast user switching like you've done.

Last edited by malore; 08-22-2003 at 10:08 AM.
Reply With Quote
  #5  
Old 08-22-2003, 10:05 AM
malore's Avatar
malore malore is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Iowa
Posts: 877
Narflex, this MSDN page seems to indicate that the RunServices key is only for Windows 95/98/ME.

Has anyone tried using http://www.firedaemon.com/. "FireDaemon is a utility that allows you to install and run virtually any native Win32 application or script (eg. BAT/CMD, Perl, Java, Python, TCL/TK) as a Windows NT/2K/XP/2K3 service." I've read about people using it for distributed computing projects.

Last edited by malore; 08-22-2003 at 10:08 AM.
Reply With Quote
  #6  
Old 08-22-2003, 10:14 AM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,481
Quote:
I would imagine if you placed a shortcut in your startup folder, then sagetv would start when you logged in, but not for anybody else.
Thanks for the tip. Unfortunatly I don't use the "start in system tray" normally. I have been using a shortcut in my startup directory. But I'd still like to have Sage run as a service, since Sage has occasionally lost sound(not video) when I use fast user switching. This is just one of many reasons.

Quote:
Has any tried using http://www.firedaemon.com/.
Thanks, I'll try the daemon method later tonight. I've got to get some sleep now.

Last edited by justme; 08-22-2003 at 10:17 AM.
Reply With Quote
  #7  
Old 08-22-2003, 03:17 PM
drifting drifting is offline
Sage User
 
Join Date: Aug 2003
Location: Kent
Posts: 12
Run as

I wonder if the runas utility that comes with the Win2K resource kit would work? really must get round to trying it.

As for Firedaemon, it does work well, and the free version is limited to only strating a couple of services (But then you only want one)

Regards Paul.
__________________
Infamy, Infamy, they all have it In For Me!
Reply With Quote
  #8  
Old 08-22-2003, 11:40 PM
insomniac's Avatar
insomniac insomniac is offline
Sage Icon
 
Join Date: May 2003
Location: Concord, Ca.
Posts: 1,104
service+

service+
If you want a great little utility to help create a service out of anything, check out service+

http://www.activeplus.com/default.a.../sp/default.asp

You can also use the utility that microsoft provides with all nt based OS(you can find it in the reskit): instsrv.exe

ill host them for a bit for anyone that wants to dl them..

http://mezor.bounceme.net/service/


I.

edit:

usage would go something like this:

Go to DOS prompt and type in "INSTSRV <service name> C:\srvany\srvany.exe" This
>will create a service named "service name"

Last edited by insomniac; 08-22-2003 at 11:49 PM.
Reply With Quote
  #9  
Old 01-05-2004, 10:23 AM
RAlfieri RAlfieri is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: Houston, TX
Posts: 147
I'm trying to do this as well. I tried it with AppToService from Basta and had trouble. SageTV kept asking for my registration key and getting errors loading Java libraries.

Has anyone done this successfully?

Cheers,
Rob
Reply With Quote
  #10  
Old 01-05-2004, 12:00 PM
RAlfieri RAlfieri is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: Houston, TX
Posts: 147
After reading through the forums, I tried starting SageTV in Scheduled Tasks using the -startup option.

Upon reboot, SageTV did show in the task list as having been started. The issue is that I cannot get SageTV's attention when I log in. I have tried running using the -awake command and that does not work.

SageTV is running in the background and making recordings (good thing), but I cannot get it to interact with the desktop after I log in (bad thing).

Ideas?

Cheers,
Rob
Reply With Quote
  #11  
Old 01-05-2004, 12:58 PM
edmc edmc is offline
Sage Aficionado
 
Join Date: Feb 2003
Location: Pleasanton, CA
Posts: 325
> SageTV is running in the background and making recordings (good thing), but I cannot get it to interact with the desktop after I log in (bad thing).

Have you tried using SageTVClient?

As I understand it, there is no way to get to the GUI of SageTV when run as a Service. However, SageTVClient can certainly be configured to look for the Server on "localhost".
Reply With Quote
  #12  
Old 01-05-2004, 02:28 PM
danward79's Avatar
danward79 danward79 is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Brighton & Hove, Sussex UK
Posts: 251
Did anyone get this to work?

Did you try an app called at your service?

Dan
Reply With Quote
  #13  
Old 01-05-2004, 03:49 PM
RAlfieri RAlfieri is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: Houston, TX
Posts: 147
Hmm... that seems to make sense. I'll give it a try...


Quote:
Originally posted by edmc
> SageTV is running in the background and making recordings (good thing), but I cannot get it to interact with the desktop after I log in (bad thing).

Have you tried using SageTVClient?

As I understand it, there is no way to get to the GUI of SageTV when run as a Service. However, SageTVClient can certainly be configured to look for the Server on "localhost".
Reply With Quote
  #14  
Old 01-05-2004, 04:40 PM
insomniac's Avatar
insomniac insomniac is offline
Sage Icon
 
Join Date: May 2003
Location: Concord, Ca.
Posts: 1,104
Ive had it working just fine. I created it as a service and started sage as the account that it is installed as. The option that you stated "interact with desktop" is necessary. Not sure where you had the problem...I can take a look at my rig and post more specifics if your interrested.

BTW:

In the past, I had posted instructions on doing just this with a link to a service creating utility. Poke around..It might still be in this board somewhere..


I.

Quote:
Originally posted by RAlfieri
After reading through the forums, I tried starting SageTV in Scheduled Tasks using the -startup option.

Upon reboot, SageTV did show in the task list as having been started. The issue is that I cannot get SageTV's attention when I log in. I have tried running using the -awake command and that does not work.

SageTV is running in the background and making recordings (good thing), but I cannot get it to interact with the desktop after I log in (bad thing).

Ideas?

Cheers,
Rob
__________________
If you're not cheating, your not trying...

My sage rigs:
Server - Windows 2003, Intel 865 PERLL w/ P4 3.2g 1gb ram, 3-PVR250, 3-PVRUSB's, 1 Skystar2, 1 twinhan 102g, 1 starbox DVB-S Cards. Evo network QAM encoder. 1.2TB storage 6.x server + MTSAGE for DVB
Client 1/Master BR - MediaMVP running a 30" Olevia LCD TV.
Client 2/Front Room - Shuttle ST61G4 XPC 1gig ram, 60gb HD, BTC9019 wireless keyboard/mouse & Harmony 880. 6.x client. GF6600GT driving a Sony WEGA 55" rear projection tv.
Reply With Quote
  #15  
Old 01-05-2004, 05:58 PM
RAlfieri RAlfieri is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: Houston, TX
Posts: 147
Thanks. I would like to see the values in the Sage Properites file. I tried this again and still could not get it to work. I would log in, the service would be running; however, I could not interact with it.

I even tried installing the SageClient and had minimal success. My system dragged down to a crawl.

I'll keep trying...

Thanks,
Rob


Quote:
Originally posted by insomniac
Ive had it working just fine. I created it as a service and started sage as the account that it is installed as. The option that you stated "interact with desktop" is necessary. Not sure where you had the problem...I can take a look at my rig and post more specifics if your interrested.

BTW:

In the past, I had posted instructions on doing just this with a link to a service creating utility. Poke around..It might still be in this board somewhere..


I.
Reply With Quote
  #16  
Old 01-05-2004, 06:48 PM
BigGator's Avatar
BigGator BigGator is offline
Sage Advanced User
 
Join Date: Dec 2003
Posts: 129
Try FireDaemon, that may do the trick..

Fire Daemon
"-)
Reply With Quote
  #17  
Old 01-05-2004, 07:07 PM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,481
I tried all these suggestions and I kept having a problem with it logging on to my account. I don't mean the nornal windows logon, I use tweakui to bypass that. I mean the service apps couldn't seem to logon to my account. I verified my computers name and password but it kept failing. I believe this was with firedaemon. One of the others didn't even try to load as a service.

Right now I just use the startup folder in windows, but I'd really love to get this working. I use WinXP Pro. Any help would be great.
__________________
"Between you and me, my name's irrelevant."
Reply With Quote
  #18  
Old 01-05-2004, 08:22 PM
insomniac's Avatar
insomniac insomniac is offline
Sage Icon
 
Join Date: May 2003
Location: Concord, Ca.
Posts: 1,104
For some reason winblows does not use your password on a newely created service. e.g. if you setup a service and then tell it to use the "Administrator" account, you must go into it and re-enter your password. It is very commonly overlooked and usually always the root of the problem.

I.

Quote:
Originally posted by justme
I tried all these suggestions and I kept having a problem with it logging on to my account. I don't mean the nornal windows logon, I use tweakui to bypass that. I mean the service apps couldn't seem to logon to my account. I verified my computers name and password but it kept failing. I believe this was with firedaemon. One of the others didn't even try to load as a service.

Right now I just use the startup folder in windows, but I'd really love to get this working. I use WinXP Pro. Any help would be great.
__________________
If you're not cheating, your not trying...

My sage rigs:
Server - Windows 2003, Intel 865 PERLL w/ P4 3.2g 1gb ram, 3-PVR250, 3-PVRUSB's, 1 Skystar2, 1 twinhan 102g, 1 starbox DVB-S Cards. Evo network QAM encoder. 1.2TB storage 6.x server + MTSAGE for DVB
Client 1/Master BR - MediaMVP running a 30" Olevia LCD TV.
Client 2/Front Room - Shuttle ST61G4 XPC 1gig ram, 60gb HD, BTC9019 wireless keyboard/mouse & Harmony 880. 6.x client. GF6600GT driving a Sony WEGA 55" rear projection tv.
Reply With Quote
  #19  
Old 01-05-2004, 08:27 PM
insomniac's Avatar
insomniac insomniac is offline
Sage Icon
 
Join Date: May 2003
Location: Concord, Ca.
Posts: 1,104
RAlfieri:

Unfortunately, I blew up the box that i had sage recorder setup as a service. Firedaemon as mentioned earlier will help to simplify this service creation. Service+ is also a small and good app for this. Lastly, Microsoft released their own service .exe which requires a little more thought (In the Resource kit).

I create services out of apps, etc all the time, so it is pretty straight forward to me, but im sure that if you try out one of those apps, you will be fine.

If you want to fool around with mickysoft's ver of service creation, you can grab them off my site: http://mezor.bounceme.net/service

I.

Quote:
Originally posted by insomniac
Ive had it working just fine. I created it as a service and started sage as the account that it is installed as. The option that you stated "interact with desktop" is necessary. Not sure where you had the problem...I can take a look at my rig and post more specifics if your interrested.

BTW:

In the past, I had posted instructions on doing just this with a link to a service creating utility. Poke around..It might still be in this board somewhere..


I.
__________________
If you're not cheating, your not trying...

My sage rigs:
Server - Windows 2003, Intel 865 PERLL w/ P4 3.2g 1gb ram, 3-PVR250, 3-PVRUSB's, 1 Skystar2, 1 twinhan 102g, 1 starbox DVB-S Cards. Evo network QAM encoder. 1.2TB storage 6.x server + MTSAGE for DVB
Client 1/Master BR - MediaMVP running a 30" Olevia LCD TV.
Client 2/Front Room - Shuttle ST61G4 XPC 1gig ram, 60gb HD, BTC9019 wireless keyboard/mouse & Harmony 880. 6.x client. GF6600GT driving a Sony WEGA 55" rear projection tv.

Last edited by insomniac; 01-05-2004 at 08:31 PM.
Reply With Quote
  #20  
Old 01-05-2004, 08:50 PM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,481
Quote:
For some reason winblows does not use your password on a newely created service. e.g. if you setup a service and then tell it to use the "Administrator" account, you must go into it and re-enter your password. It is very commonly overlooked and usually always the root of the problem.
Thanks for the advice. I'll go back and try firedaemon again, probably latter on tonight.
__________________
"Between you and me, my name's irrelevant."

Last edited by justme; 01-05-2004 at 08:56 PM.
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 10:37 PM.


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