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 10-20-2008, 05:07 AM
cortechs cortechs is offline
Sage User
 
Join Date: Jan 2007
Location: France
Posts: 52
Delaying SageTV Service.

Hello,

The SageTV service seems to give me some problems... When I boot-up my server, SageTV doesn't connect to the DVB Network Encoder.
The reason is that I ask Mytheatre to start 30 secs after the boot process to allow enough time for most of my services on the server to be fully loaded.

The consequence is that SageTV shows me a lot of conflicts from my "MyTheartre" lineup and don't pick-up that particular lineup until I manually switch to a channel form the "faulty" lineup.

So I'm wondering if there are some settings I can play with to delay the SageTV Service while my server is starting ?

I've seen the following settings in the sage.properties file but I don't know what they're for:

Code:
mstry_start_delay=10000
startup_delay=0
Regards,

Cortechs.
__________________
Server (headless)
. - Core 2 Duo E6600 - 2 GB - Intel DG965WH
. - WinTV Nona-T 500 - 2x WinTV-NOVA-S-Plus
. - XP Pro SP3 - DX 9.0c - JRE 1.6 - SageTV 7.1.2.249
. - Cyberlink Video & Audio Decoder (PowerDVD 7)
Plugins: MyTheatre DVB Network Encoder Plugin - XMLTV Import Tool from StephaneM - Comskip Playback
STV: Dynamic Menu Import 6.2
Clients: 4 MVP wired on GigaEthernet network
Reply With Quote
  #2  
Old 10-20-2008, 06:13 AM
CarlR's Avatar
CarlR CarlR is offline
Sage User
 
Join Date: Aug 2007
Posts: 63
I ran across this thread last night when I was looking for info on a different problem. It might work for you.
Reply With Quote
  #3  
Old 10-20-2008, 06:29 AM
Fastrack Fastrack is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Toronto, Ontario, Canada
Posts: 268
Send a message via ICQ to Fastrack
Quote:
Originally Posted by CarlR View Post
I ran across this thread last night when I was looking for info on a different problem. It might work for you.

I use this option and works perfectly, my problem was a bit different then described, but basically if I didn't delay the startup SageTV service would take almost 10 minutes to load.
__________________
Ben
Intel Core2Duo E6600 2.4GHz - Win7 64bit
Antenna: Homemade Gray-Hoverman DBGH, Channel Master 7777 pre-amp, Mid-60s CM Rotor
Tuners: HDHomeRun v1, Hauppauge HVR1600
Video: BenQ W5000 1080p, ASUS ATI 6670
Storage (10TB): Seagate 2TB, Hitachi Coolspin 2TB x 4 Data Drives + 2TB x 2 Parity Drives using FlexRaid 2.0 (RAID6 T2+)
SageTV: 7.1.9 Final ?
Reply With Quote
  #4  
Old 10-20-2008, 08:03 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Enable logging, I thought I was having this issue because my database had grown to the point it couldn't be loaded before the autologin. The reality is I had some corrupt mp3s in my library that Sage would cycle over repeatedly slowing the process down. Removed and reripped and I was off and running again in no time.
Reply With Quote
  #5  
Old 10-20-2008, 08:55 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
In the past, I've used a batch file to do this. I set the service to be a manual start, then run a batch file in my "startup" folder.

THe batch file just runs (something like):
sleep 60
net start sagetv

"sleep" is from the windows resource kit, IIRC.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #6  
Old 10-20-2008, 10:48 AM
zoundz zoundz is offline
Sage Advanced User
 
Join Date: Sep 2004
Location: Jericho, VT
Posts: 205
There's a useful little freeware app called Startup Delayer that you can get from http://www.r2.com.au/ that allows you to delay the startup of virtually everything that starts when you login. That combined with the previously mentioned batch file to start the service can provide a very civilized way to do it.
Reply With Quote
  #7  
Old 10-20-2008, 01:16 PM
cortechs cortechs is offline
Sage User
 
Join Date: Jan 2007
Location: France
Posts: 52
Hello,

Well seems to me that there are no elegant ways to manually do this ...
I mean we don't have any command line to start the service with.

So for now I will stick with yet another firedeamon "service" which starts SageTV after Mytheatre is fully loaded (dependency).

It's really a "net start" service which just launch SageTV and rely only on the good faith in the SageTV service to recover itself upon crash as Firedeamon can't monitor a service, or process for that matter, that it didn't start.

Anyway, thanks for all your suggestions!

Regards,

Cortechs
__________________
Server (headless)
. - Core 2 Duo E6600 - 2 GB - Intel DG965WH
. - WinTV Nona-T 500 - 2x WinTV-NOVA-S-Plus
. - XP Pro SP3 - DX 9.0c - JRE 1.6 - SageTV 7.1.2.249
. - Cyberlink Video & Audio Decoder (PowerDVD 7)
Plugins: MyTheatre DVB Network Encoder Plugin - XMLTV Import Tool from StephaneM - Comskip Playback
STV: Dynamic Menu Import 6.2
Clients: 4 MVP wired on GigaEthernet network
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving from Sage Client to Sage Service DSSavant SageTV Software 1 09-20-2008 04:49 PM
6.4.7 - broke everything (Service hung) ybrew SageTV Beta Test Software 3 08-18-2008 10:10 AM
Service Mode under Vista 64 GStiles SageTV Software 4 12-19-2007 01:06 PM
Sage Server as a service in Win2003 drive mapping eguy SageTV Software 9 07-27-2007 01:10 PM
Service mode help needed please kkeller20 SageTV Software 2 01-20-2006 02:43 PM


All times are GMT -6. The time now is 10:06 PM.


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