![]() |
|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Okay, here's a rule of thumb: Before asking how to add functionality, it's best to check whether the functionality is already present. Turns out I already can wake the server from the HD100. Hooray for LightsOut, and many thanks to logsvp whose software makes it easy to use with Sage.
|
#22
|
|||
|
|||
Quote:
![]()
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#23
|
|||
|
|||
Quote:
![]() ![]()
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#24
|
|||
|
|||
Uh oh. STVLOS seems to be throwing some error messages. Looks like they're related to the difference between UK and USA date handling. Here's a sample:
The description for Event ID ( 0 ) in Source ( STVLOS ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Service failed on execute: ''18/01/2010 18:30'' is not a valid date and time. Perhaps there's still part of the code that relies upon the UK date format? |
#25
|
|||
|
|||
Actually, I was wrong about the successful test. I had suspended the WHS via mouse locally, and then went upstairs and successfully powered up the HD100. I assumed the HD100 woke up the WHS. But another similar test just now was unsuccessful; my conjecture is that other network activity awakened the WHS box while I was coming up the stairs. Sorry about that.
|
#26
|
|||
|
|||
Quote:
![]() I will look at it again tomorrow (UK time). In the meanwhile, It might be worth stopping the service, uninstalling it and re-installing it (double check that the version ends in .22 - just in case ![]()
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#27
|
|||
|
|||
So far so good
Logsvp,
I just installed your app and so far so good. Thanks for the great work. There is no need for me to keep my WHS Sage server on all the time and this solves that problem. Thanks! -Allen |
#28
|
|||
|
|||
Thanks for the feedback, I am glad it is proving useful
![]() I have just uploaded a new version that provides more error checking, a revised folder structure for the log files and backup files and also implements log file and backup file housekeeping ![]()
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#29
|
|||
|
|||
I have just uploaded a new version (now at version 1.0) which has an improved/corrected algorithm for determining required uptime. In some instances the WHS was being asked to resume earlier than required (specifically when a certain combination of parallel recordings were encountered).
The new algorithm should also ensure that the WHS doesn't hibernate/suspend if the WHS is running and the next scheduled recording is due within the time specified as the 'MinimumDowntime'. I have also added additional instructions regarding LightsOut settings; in order that STVLOS is stopped before a suspend/hibernate and started on the resume. I would recommend that STVLOS users should upgrade to this version ![]()
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#30
|
|||
|
|||
Quote:
![]() Hopefully I have now corrected this in Version 1.0.0.32 - as before, I suggest that STVLOS users should upgrade to this new version ![]()
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#31
|
|||
|
|||
uhm, apparently not
![]() I have now uploaded version 1.0.0.34 which corrects a problem where if there was a program that ended later than one starting after it (but ending earlier), the stop time was taken from the program ending earlier - the result would be a truncated recording for the program ending later. Again, I suggest users upgrade to version 1.0.0.34. Also in this version, if you select a Log Mode of 'Full', the log file now shows a summary of the calendar events and associated recordings ![]()
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#32
|
|||
|
|||
what is the best configuration for this? I have it set up but can't get the server to go to sleep/hibernate when not in use. I basically want it to go to sleep when we are not using the hd200 but we don't turn them off. How would I configure lightout to tell the server to hibernate if possible while the hd200's are on? Thanks.
__________________
Sage WHS - Intel Q6700, 4GB, Norco 5 bay hot swap x2, WD Black(OS), 6TB (dvd, bluray, music, pictures, videos) LG Blu-ray player, HVR-1600 x2 OTA SageMC 6.3.9b pre-release 23 HD200: 46" LCD & HD200:26" LCD |
#33
|
|||
|
|||
I am not sure about this - I switch my HD100/200s off so that LightsOut doesn't register them as being active.
STVLOS will create the calendar entries for you in LightsOut telling LightsOut when it should keep the WHS running but if in the meanwhile if LightsOut sees the HD200s being permanently on and you have configured it not to hibernate when they are on - obviously it won't hibernate. I think there are other techniques/options that can be used in LightsOut, like: CPU, Disk and network activity. However, I am not sure these will work in your situation. I think the best thing would be to post your question in the LightsOut forum @ http://forum.wegotserved.com/index.p.../89-lightsout/
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#34
|
|||
|
|||
logsvp great plugin, I ve been testing it the last few days. Still trying to figure out how to do the WOL from the hd200. I also found an issue with firewire channel change. After coming out of hibernation the firewire channel change would break and sage needed to be restarted. I just had LightsOut stop and start sagetv after coming out of hibernation.
I am also having issues with the pc freezing while coming out of hibernation, I am hoping its something simple like drivers. I'll find out this weekend. |
#35
|
|||
|
|||
Glad you find it useful
![]() I also have problem with some of my tuners not working when coming out of hibernation - I am hoping this issue will resolve itself when WHS 2 (aka Vail) is released with updated add-ins. To get round this problem, I have lights out to reboot the PC two minutes after coming out of hibernation which resets the problem tuners so that they work OK. Only downside is that it takes ~5 mins from WHS coming out of hibernation to have SageTV fully operational. To get Lights-Out to reboot the PC I set the following options in LightsOut Settings (accessed via the Home Server Console): ################################################# On action Start/Stop these services on resume/suspend: DriveExtenderMigrator,SageTV,STVLOS,Spooler Run this program on resume: shutdown /r /f /t 120 /p:01:01 /c "Lights-Out Forced Restart" ################################################## The '/t 120' gives two minutes for the system to settle down after a resume before re-booting it in order to avoid any complications. I haven't found out how to get WOL from a HD200 to work but instead use an App on my iPhone to do it or just power the PC on from the Power switch. I will be uploading a small update to STVLOS within a week (or so) that handles a situation where STVLOS can end if it attempts to read the SageTV file at the same time that SageTV is writing to it. I also might include an Add-In that shows the times and reasons that STVLOS has scheduled the up-time for. I haven't done an installer for this so it has to be manually installed (one of the reasons I haven't uploaded it yet).
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) |
#36
|
|||
|
|||
I have a client in the livingroom, I am thinking of leaving that one on all the time and just using the programs mentioned in http://forums.sagetv.com/forums/show...9249&page=3#49. I figure my client will use less power than my server of 13 hdds. Plus my server is in my bedroom and it gets hot in there.
|
#38
|
|||
|
|||
Quote:
In the meanwhile (after a bit of googling), I found this .vbs script which I have only tested on Win7 X64. Whether it will be able to execute fast enough before the WHS hibernates or not I don't know. I saved it as check_hibernate.vbs and ran it from the command line - it executes and appears to end but it is still running - look for a wscript.exe process running in the Task Manager Processes tab. After testing (by Sleeping and restarting my PC) I cancelled it via the Task Manager. Code:
MsgBox "Hibernate Check starting!" Set colMonitoredEvents = GetObject("winmgmts:").ExecNotificationQuery("Select * from Win32_PowerManagementEvent") Do Set strLatestEvent = colMonitoredEvents.NextEvent Select Case strLatestEvent.EventType Case 4 MsgBox "Entering suspend." Case 7 MsgBox "Resuming from suspend." Case 11 MsgBox "OEM Event happened, OEMEventCode = " & strLatestEvent.OEMEventCode Case 18 MsgBox "Resume Automatic happened" End Select Loop ![]()
__________________
Server h/w : MB='ASUS P8P67 Pro', CPU='I5 2500K', Mem='8GB', HD='10.0TB', Tuners='BlackGold BGT3500/3550 (6xDVB-T), TBS 6981 (4xDVB-S2)' Server s/w : OS='WIN 7 X64', Services=' DigiGuide, SmartPower, STVSMP, MyMovies', Apps='SageTV 7.1.9, LM DVB Smart Recorder, XMLTV Importer, dvblogic' Client h/w : MB='Gigabyte Z77X-UP5 TH', CPU='i7 3770S', Mem='32GB', HD='10TB' Client s/w : OS='Win8 X64', Apps='SageTV 7.1.9 Client (V7 STV)' Extenders : 2 x HD300 (V7 STV) Last edited by logsvp; 05-01-2011 at 06:32 AM. Reason: spelling correction |
#39
|
|||
|
|||
Hmm, I was thinking of creating a service that would be kicked off by lightsOut. I believe they can start a service suspend/resume. So what it will do is check to see if hdpvr is running if it is then turn off the stb through firewire which turns off the hdpvr and then go into hibernate. when it starts up the service checks to see if hdpvr is on if it is it does nothing but if it's off it sends a power on to the stb which will turn on the hdpvr. that way my hdpvr is off when i am not recording. I think i have all the scripts needed to accomplish this. My main issue now is that the whs server freezes 1 out of about 8 times coming out of hibernation. Only way to fix this is pressing the reset button. I am hoping i can fix it with a driver update this weekend. Might need to do a bios update but I am afraid of screwing up the system.
|
#40
|
|||
|
|||
Will this work with SageTV Ver. 7.x?
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does STV have a Browser- or Utility-based interface for advanced settings? | Savage1701 | SageTV Software | 4 | 07-08-2009 01:27 PM |
Question about possible functionality of SageTV | SGA | SageTV Software | 16 | 09-20-2008 04:57 AM |
Using HD-PVR, WHS, and SageTV Client | Beefcake550 | SageTV Software | 2 | 08-14-2008 01:16 PM |
Web Interface integration on WHS | JohnBCasey | SageTV Customizations | 4 | 04-09-2008 05:39 AM |
DD5.1 and PVR Functionality | ftlee | General Discussion | 5 | 03-04-2003 02:28 PM |