SageTV Community  

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

Notices

Gemstone for v7 This forum is for discussing the user-created Gemstone custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-21-2013, 09:59 AM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
New client too fast for Gemstone?

I recently replaced the client I have in my kitchen with an i5-3570k, 8 GB of DDR3-1600 memory and a Crucial M4 SSD running Win 7 x64. This machine is very snappy - in fact, it appears as though it's too snappy. I have the machine automatically log me in when booted and automatically start SageTV full screen (through a shortcut in the Startup menu).

Since the upgrade, SageTV is up and running before the machine has had a chance to initialize the NIC (Intel PRO/1000CT). Note this is not before the machine has obtained an IP through DHCP (I did test with a static IP with the same results). It really is before the NIC is recognized by the operating system. So I get the screen saying that SageTV has lost connection to the SageTV server and will try to reconnect:



After 20-30 seconds or so the client will reconnect to the server, but I won't have any menus. Moreover, the recording widgets and disk space bar at the bottom of the screen populate with accurate data, but not the weather widget:



Sage will stay in this state until I restart the client, then everything goes back to normal:



If I don't have SageTV start automatically on boot, and manually start SageTV after the NIC has initialized, the client works fine the first time it's loaded.

Is this a problem with Gemstone, SageTV, a config setting on my computer or should I just quit my bitching that my new computer is too fast?
Reply With Quote
  #2  
Old 02-21-2013, 11:55 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
http://superuser.com/questions/32873...l-be-available
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #3  
Old 02-21-2013, 12:02 PM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
Thanks for the suggestion, but the client isn't part of a domain, so that setting has no effect and the machine boots, logs in and starts the SageTV client just as fast.
Reply With Quote
  #4  
Old 02-21-2013, 12:31 PM
RedR's Avatar
RedR RedR is offline
Sage Advanced User
 
Join Date: Nov 2004
Location: Dallas TX
Posts: 205
Kind of a hack fix but why not batch file SageTV client with a delay before kicking off the client?
Reply With Quote
  #5  
Old 02-21-2013, 12:32 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
bummer, in that case just use a batch, powershell, autoit script to sleep 30,60,90,whatever then launch SageTV.

I took a look at task scheduler, but it didn't have a delay component.

post back on what you end up with.

eg:
Code:
@echo off
timeout 60
start "C:\Program Files (x86)\SageTV\SageTV\SageTV.exe"
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #6  
Old 02-21-2013, 12:37 PM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
I could do that, but it seems like something else is going on.

The client does connect to the server successfully after the network initializes (evidenced by the fact the recording widgets populate). Since the network does come up and the client does connect to the server, why should the weather widget not populate? Moreover, why are the menus not coming up at all? I would think the menus are stored in the local properties file and should come up whether there's a network connection or not, but I'm sure someone will correct me if I'm wrong.
Reply With Quote
  #7  
Old 02-21-2013, 01:09 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by Boolah View Post
I could do that, but it seems like something else is going on.

The client does connect to the server successfully after the network initializes (evidenced by the fact the recording widgets populate). Since the network does come up and the client does connect to the server, why should the weather widget not populate? Moreover, why are the menus not coming up at all? I would think the menus are stored in the local properties file and should come up whether there's a network connection or not, but I'm sure someone will correct me if I'm wrong.
I have found this to be a problem with both Gemstone and ADM. It seems that the client needs something from the server in order to properly load ADM or the ADM part of GEMSTONE. It is very annoying.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #8  
Old 02-21-2013, 01:56 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Try first narrowing the issue to Gemstone or Sage. Just disable the Gemstone plugin and then load the default SageTV7 STV and reboot and see if the issue is still there.

As for the menus... they come from the STV\Gemstone\Menus (from memory so might be slightly different) folder and not from the sage properties. but there are other Gemstone settings in the properties that need to be loaded. As well, all of the Phoenix core functions need to be loaded and the Phoenix core does some internet calls I believe to see if some xml files are current (again from memory). So it could be that.

k
Reply With Quote
  #9  
Old 02-21-2013, 02:10 PM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
Reverting to the default STV works without issue on boot. I still get the "not connected to server" message, but the client automatically connects once the NIC initializes. The menus show up and all content plays fine.

The strange thing is if I switch back to Gemstone at this point, the menus come up and the recordings widgets populate, but the weather widget still doesn't populate:



Closing the client and starting it back up brings everything back to normal. I presume that something needs to get loaded from the server at the time Gemstone first starts up in order for everything to work right.
Reply With Quote
  #10  
Old 02-21-2013, 02:33 PM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
In case anyone else runs into this issue, I've worked around it by creating a task in Task Scheduler which loads SageTV at logon.

You'll need to select to only run the task if "any" (or select a specific connection if necessary) network connection is available (on the Conditions tab). This will cause the task to fail on boot (since the network won't be available at the time), so you'll need to set "if the task fails, restart every" on the Settings tab to 1 minute. This means that when you boot the machine, Sage will automatically start 1 minute after the machine has booted.

I rarely boot the machine in the kitchen and I don't even have a keyboard/mouse hooked up to it (which is why I wanted to automate the startup process).
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
Gemstone FAQ jusjoken Gemstone for v7 9 05-24-2013 12:57 PM
Test/play with Gemstone on client only? btrcp2000 Gemstone for v7 4 12-26-2012 05:16 PM
Gemstone video hackzaw Gemstone for v7 1 10-21-2012 09:05 PM
Updated Client from Diamond to Gemstone.... t4runnr Gemstone for v7 31 10-15-2012 09:11 AM
Gemstone API Failed Joebob Gemstone for v7 2 09-29-2012 12:16 PM


All times are GMT -6. The time now is 07:54 PM.


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