NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 36 37 38 39 40 … 155 Next »
Script to increase my system reliability

 
  • 0 Vote(s) - 0 Average
Script to increase my system reliability
Satori
Offline

Member

Posts: 238
Threads: 42
Joined: Dec 2006
#1
2010-03-30, 05:15 PM
I wanted some opinions on running this script to make my system more reliable. As I mentioned in these posts I have a (non GBPVR) issue with my setup somewhere that causes it to occasionally not record programs:

http://forums.gbpvr.com//showthread.php?...&highlight=
http://forums.gbpvr.com//showthread.php?...&highlight=

In an effort to make the system more reliable I am going to try having the computer run this script at every resume from S3:

Code:
@echo off
Date /t >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
Time /t >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
devcon status PCI\??#1
if errorlevel 1 goto RestartTuner1
goto TestTuner2

:RestartTuner1
echo Restarting Tuner 1 >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
devcon restart PCI\??#1
@ping 127.0.0.1 -n 10 -w 1000> nul
devcon status PCI\??#1
if errorlevel 1 goto Restart
goto TestTuner2

:TestTuner2
devcon status PCI\??#2
if errorlevel 1 goto RestartTuner2
echo Tuners Working >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
goto End

:RestartTuner2
echo Restarting Tuner 2 >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
devcon restart PCI\??#2
@ping 127.0.0.1 -n 10 -w 1000> nul
devcon status PCI\??#2
if errorlevel 1 goto Restart
echo Tuners Working >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
goto End

:Restart
shutdown /r /c
goto End

:End
end

The script is not entirely original it is from a link in this post from Graham:
http://forums.gbpvr.com//showthread.php?...post367440

I modified it to suit my 2 tuners and will put in the actual HW IDs later.
Gateway GM5664 with Vista Premium SP1 Transferred to Antec Fusion HTPC case
AMD Phenom 9600 Quad Core 2.3GHZ, 3GB PC5300 667MHZ Memory
3 Tuners: Avermedia Duet PCIe, HVR-1250 PCIe
LG GGC-H20N Blu-ray / HDDVD ROM Drive, Visiontek HD 3650 512 MB Graphics (Cat 9.6)
Sound Blaster X-Fi XtremeGamer, Gyration Media Center Remote Control
HDD: 30GB OCZ Vertex SSD - OS, 1TB (2x500GB) - Recordings
GBPVR: 1.4.7, Plugins - SuperSimpleArchiver, GBPVRCLi/LCD Smartie for VFD, Music Plugin
TonyXL
Offline

Member

Posts: 140
Threads: 19
Joined: Jan 2007
#2
2010-03-31, 01:11 PM
I can't comment on your script but one thing that has helped me is a daily restart, done via a scheduled task as long as nothing is currently recording.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Minimum System Requirements VCR58 3 1,973 2016-08-16, 06:55 PM
Last Post: VCR58
  Operating System Change hootie318 1 960 2016-07-22, 12:18 AM
Last Post: ACTCMS
  win 7 system back up - incremental? jam_zhou 2 806 2012-10-26, 10:57 AM
Last Post: Nistrod
  Locking a tuner across the system allstarnz 3 1,210 2011-05-10, 04:12 PM
Last Post: sub
  Time to build a new system with two WinTV-HVR-1600's reefboy 2 968 2011-05-04, 07:05 AM
Last Post: reefboy
  Most difficult part of your GB-PVR system? McBainUK 38 7,216 2010-05-18, 04:41 AM
Last Post: ga_mueller
  Show Your System! ga_mueller 1 914 2010-03-14, 02:40 AM
Last Post: Dave72
  Favorite free incremental system backup program? dvasco 7 1,638 2009-08-10, 08:35 AM
Last Post: liteswap
  What's the best part of your GB-PVR system McBainUK 23 4,307 2009-07-24, 09:22 PM
Last Post: dvasco
  Questions for upgrading system in regards to digital, hi def, and Clear QAM channels skobydog 4 1,036 2008-11-04, 09:13 PM
Last Post: skobydog

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode