|
SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
|||
|
|||
Please submit a bug report. I have been told that it is likely due to server 2k3. They need some XP reports. Interestingly enough, I was able to reproduce it easily by turning on and off an mvp 10-12 times.
I don't have a fix, but I am patched. I run a "Scheduled Task" at 3:00AM sc stop sagetv 3:01AM sc start sagetv Runs daily, no lockup since B |
#42
|
||||
|
||||
Just restarted Sage Server with the logging enabled. Will send this to bug submission/tech support next time the problem shows up.
Could you tell me how to implement the scheduled restart of SageTV?- don't want to be manually restarting SageTV every so often.
__________________
Sage Server: Antec Solo, Seasonic S12 430W, AM2 3800, Gigabyte GA-M61P-S3 Mobo, XFX 7600GS 512MB, 2GB DDR2 800, 3 TB SATA, Hauppauge HVR1600, HDHR, indoor antenna, Win 7 Ultimate, MCE05 remote. Sage Client: Foxconn NT330i Intel Atom Dual Core, 1 GB DDR2 667 RAM, Windows 7 Ultimate. |
#43
|
|||
|
|||
I have Sage running in service mode. If you do as well, the utility sc.exe can control services with simple command line parameters.
sc stop sagetv sc start sagetv Just use the built in Scheduled Tasks function in control panel. HIH b |
#44
|
||||
|
||||
bcjenkins - could you please guide me through the process.
I could get the commands to work on the cmd screen and I found the scheduled task options...I just can't figure out how to pass the command line text input once I add the task (to run cmd).....am I doing something wrong here?
__________________
Sage Server: Antec Solo, Seasonic S12 430W, AM2 3800, Gigabyte GA-M61P-S3 Mobo, XFX 7600GS 512MB, 2GB DDR2 800, 3 TB SATA, Hauppauge HVR1600, HDHR, indoor antenna, Win 7 Ultimate, MCE05 remote. Sage Client: Foxconn NT330i Intel Atom Dual Core, 1 GB DDR2 667 RAM, Windows 7 Ultimate. |
#45
|
|||
|
|||
I am confused why Sage support wont just do this themselfs.
I discovered how to reproduce the problem, several here have been able to reproduce it, it's simple to reproduce, so why wont Sage just do it themselfs? I have not been home enough lately to be able to run it in debug mode and send in all the files. |
#46
|
||||
|
||||
Quote:
The batch file just needs: shutdown -r -t 60 The -t just tells it how many seconds to wait, so if you're still up you can cancel it. I have it shut down my MyTheatre sessions first.
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients |
#47
|
|||
|
|||
Quote:
Also, if you are like most here, your system may not boot up every single time. I usually get 1 in 30 or so times when my PC wont boot up with some weird error. If this happens at the wrong time, you could end up with multiple recordings being missed. This "fix" is a terrbile idea and I will stay the course that Sage should fix it. I did not have this problem in V5, so this is a new bug that Sage introduced in V6. Last edited by joe123; 03-02-2007 at 11:00 AM. |
#48
|
||||
|
||||
I think we all agree that Sage should fix this bug....but I think most people are trying for 'temporary' solutions - just so that they don't have to manually reboot the server each time or sit down with remote in hand in front of the TV to watch something only to realize that the MVP does not connect well.....
I think we also agree that 'Shutdown' may not work all the time...but most of our servers don't run too many applications and hence one of Window's processes waiting for an input to shutdown maybe a smaller chance....at least weighed against a manual reboot everytime..... But I wonder if there is a way to send some sort of 'Kill' signal to all processes...like I've seen my NASlite server do when I shut down...that way- its a no questions asked shutdown.... At least this is my approach...so I would still like some pointers on how to create the batch files mentioned in rickgillyon's and bcjenkins' posts...I'm not very savvy with this stuff so any help is appreciated....
__________________
Sage Server: Antec Solo, Seasonic S12 430W, AM2 3800, Gigabyte GA-M61P-S3 Mobo, XFX 7600GS 512MB, 2GB DDR2 800, 3 TB SATA, Hauppauge HVR1600, HDHR, indoor antenna, Win 7 Ultimate, MCE05 remote. Sage Client: Foxconn NT330i Intel Atom Dual Core, 1 GB DDR2 667 RAM, Windows 7 Ultimate. |
#49
|
|||
|
|||
Quote:
|
#50
|
||||
|
||||
Quote:
Quote:
Quote:
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients |
#51
|
||||
|
||||
Quote:
Code:
shutdown -r -t 60 Code:
shutdown -r -f -t 60 Quote:
Code:
shutdown -r -t 60
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients |
#52
|
||||
|
||||
Thanks rickgillyon!!
I'll search for the scripts you mentioned to check for ongoing recordings. I typically do not like to restart the media server everyday, but then again, I don't like the 'SageTV Media Center is Booting Up....' either . Then again I also see merit to your argument that the processes run smoother...I've noticed the mem usage being a problem on the sageserver with MVP usage(sort of a drifting baseline usage gradually upwards). I'll see if this fixes it.
__________________
Sage Server: Antec Solo, Seasonic S12 430W, AM2 3800, Gigabyte GA-M61P-S3 Mobo, XFX 7600GS 512MB, 2GB DDR2 800, 3 TB SATA, Hauppauge HVR1600, HDHR, indoor antenna, Win 7 Ultimate, MCE05 remote. Sage Client: Foxconn NT330i Intel Atom Dual Core, 1 GB DDR2 667 RAM, Windows 7 Ultimate. |
#53
|
|||
|
|||
If it helps anyone, it appears as though my problems have been resolved by switching to the version of the tuner plugin mentioned above.
Hope you guys get your issues resolved soon. Andy. EDIT: Just in case you don't know what I did to fix my problem, here's the post (#35) where I mentioned it. Last edited by AndyS; 03-05-2007 at 12:08 PM. |
#54
|
|||
|
|||
Quote:
If you have favorites setup, it will record shows at whatever time the EPG data says to record. This changes from day to day. The entire purpose of Sage or TiVo or any other type of PVR is the fact that you don't care when a recording happens, just the fact that it happens. That recording may be at 1pm or 1am. You mention that there are scripts available to know if recordings are currently under way or not. This is one of the things I see wrong with these Forums. Of course they are available and you need a freaking person knowledage in 25 different things to figure it out. The average person here knows a lot, but falls far short of knowing enough to put together all of these complicated things. Case in point, you were not able to provide a sample script on how to tell if recordings were in progress or not before rebooting. I am willing to bet that if you come back with a "sample script" for knowing when to reboot, it will entail having to install new this and that and configure this and that and a lot of work. A lot of work that needs not be if the BUG was fixed. Joe |
#55
|
|||
|
|||
Here you go. This will check up to 5 drives for activity. If no activity is happening it will restart the server. If you do not have 5 drives you can just simply change the remaining drives all to C:
do 'WScript.sleep(1 * 1000) Set objFSO = CreateObject("Scripting.FileSystemObject") secondstowait=60 Set objDrive = objFSO.GetDrive("M:") Set objDrive2 = objFSO.GetDrive("N:") Set objDrive3 = objFSO.GetDrive("O:") Set objDrive4 = objFSO.GetDrive("T:") Set objDrive5 = objFSO.GetDrive("U:") diskm1=objDrive.DriveLetter & "=" & objDrive.AvailableSpace diskn1=objDrive2.DriveLetter & "=" & objDrive2.AvailableSpace disko1=objDrive3.DriveLetter & "=" & objDrive3.AvailableSpace diskt1=objDrive4.DriveLetter & "=" & objDrive4.AvailableSpace disku1=objDrive5.DriveLetter & "=" & objDrive5.AvailableSpace Wscript.Sleep (secondstowait * 1000) Set objDrive = objFSO.GetDrive("M:") Set objDrive2 = objFSO.GetDrive("N:") Set objDrive3 = objFSO.GetDrive("O:") Set objDrive4 = objFSO.GetDrive("T:") Set objDrive5 = objFSO.GetDrive("U:") diskm2=objDrive.DriveLetter & "=" & objDrive.AvailableSpace diskn2=objDrive2.DriveLetter & "=" & objDrive2.AvailableSpace disko2=objDrive3.DriveLetter & "=" & objDrive3.AvailableSpace diskt2=objDrive4.DriveLetter & "=" & objDrive4.AvailableSpace disku2=objDrive5.DriveLetter & "=" & objDrive5.AvailableSpace if diskm1=diskm2 and diskn1=diskn2 and disko1=disko2 and diskt1=diskt2 and disku1=disku2 then 'msgbox "equal will reboot" Set objShell = CreateObject("WScript.Shell") objShell.Run "s:\ResstartServer.bat",2,true else 'msgbox "not equal will not reboot" end if loop ResstartServer.bat below "s:\Program Files\SageTV\SageTV\SendMessage.exe" -C SageClientApp -N SageWin -m 16 0 0 "s:\Program Files\SageTV\SageTV\SendMessage.exe" -C SageApp -N SageWin -m 16 0 0 net stop dirmon2 net stop SageTV shutdown -r -f
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 03-05-2007 at 02:04 PM. |
#56
|
|||
|
|||
Does the script simply check for disk activity during the last 1000 seconds?
Dosen't SageTV check all drives every few minutes for all the recordings it knows about. If so, won't this make your script not work? EDIT: Ah, ok, it's checking for disk space. So if a recording starts right after the 2nd part of test, won't this script think that there is NO disk writes and go through with the reboot? Some shows start at weird hours. Last edited by joe123; 03-05-2007 at 05:03 PM. |
#57
|
|||
|
|||
Joe, have you filed a bug report yet? I would like to have them resolve the issue as well, but until they have a bug report from XP, I am out. Help me help you get this resolved.
TIA B |
#58
|
|||
|
|||
Quote:
I have not been home much and when I am home, either my daughter or my wife is using the darn thing. I have tweaked Sage so much that if it breaks again, my wife and daughter will want TiVo back and Sage out and that is bad, BAD news. It's like going back to the dark ages with TiVo. |
#59
|
|||
|
|||
Quote:
secondstowait=60 means it waits for 1 minute between checks. You can set that to whatever you want. Currently I have mine to run at 6:05 am. It will continue checking if the drive is being used at 6:05 until it finds a point in time where there is no recordings. My Server Takes a few seconds to reboot... I have never missed a recording yet . :-)
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#60
|
||||
|
||||
Quote:
I have never missed a show by rebooting at 5am. What's on at 5am that isn't already a repeat anyway? The whole reboot takes a couple of minutes. As I said before, if you don't have a quiet period that solution is not for you. Quote:
Quote:
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|