SnapStream Forums

Go Back   SnapStream Forums > SnapStream Product Discussions > Beyond TV and Beyond TV Link
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-03-2009, 09:28 PM
Registered User
 
Join Date: Jan 2006
Posts: 46
System Suspend and Resume Problem - Solved

Hi,

I had an issue where btvnetworkservice.exe did not work correctly after the btv server "suspened" (S3) then resumed.

I ended up creating a vb script to resolve this that once invoked always stays running in a loop and whenever the system is resumed, invokes a bat file that kills btvnetworkservice.exe and BTV restarts it.

Here is the script:
Set oShell = CreateObject("WScript.Shell" )
Set colMonitoredEvents = GetObject("winmgmts:" )._
ExecNotificationQuery("Select * from Win32_PowerManagementEvent" )
Do
Set objLatestEvent = colMonitoredEvents.NextEvent
Select Case objLatestEvent.EventType
Case 7
' To run a batch file hidden, you can do like this:
WScript.sleep 60000
oShell.Run """C:\bat\killbtvnetworkservice.bat""", 0, False
' Launch Notepad
'oShell.Run "Notepad.exe", 1, False
'MsgBox "Resuming from suspend, task launched", _
'vbInformation + vbSystemModal, "Suspend"
End Select
Loop

(the value 7 in the case statment above is a system resume event).

And the bat file (which I grabbed the syntax from another post):
taskkill /F /IM BTVNetworkService.exe

This allows the "recorded shows" to be correct, after a system standy and resume.

Does anyone else have this issue? My solution isn't great as I am killing the process so it can be restarted.
__________________
Media Server: E5200 | 2 GB RAM | 1 PVR-150 | 1 PVR-1250| 1 PVR-2250 | 1.2 TB RAID 5 array | 2.0 TB RAID 5 array | xp pro | btv 4.9.2
Media delivered to several BTV LINK machines
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
System hang on wakeup solved rooobosmith Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 0 02-25-2009 02:20 PM
WMV Playback Problem (Pause/Resume) Carey Beyond TV and Beyond TV Link 4 02-16-2009 06:26 PM
Suspend and BTV Link problem tscales Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 2 05-07-2007 07:07 PM
Problem Solved mrgrocery Beyond Media Discussion 0 11-05-2005 09:32 AM
Annoying ATI problem - SOLVED! illianj Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 1 03-13-2002 03:20 PM


All times are GMT -6. The time now is 02:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 RC1
©2004-2006 Snapstream Media