Resume From S3 After DVB EPG Not working? (1 Viewer)

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    TV-Server Version: 1.0
    MediaPortal Version: 1.0
    MediaPortal Skin: Blue3 Wide
    Windows Version: XP Pro - SP3
    CPU Type: Intel E4500 2x2.2Ghz
    HDD: WD green 500Gb
    Memory: 2Gb DDR2-6400
    Motherboard: ASUS P5KPL-VM
    Video Card: ATI Radeon 3650
    Video Card Driver: Catalyst 8.11
    Sound Card: CMedia 8738 Generic Card
    Sound Card AC3:
    Sound Card Driver: Dogber's Drivers 1.2.2
    1. TV Card: Pinnacle 7010ix
    1. TV Card Type: Dual DVB-S and Dual DVB-T
    1. TV Card Driver: Latest
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: NVidia
    MPEG2 Audio Codec: NVidia
    h.264 Video Codec: PowerDVD 7
    Satelite/CableTV Provider: Freeview (DVB-T)
    HTPC Case: Antec Fusion
    Cooling: Scythe Mini-Ninja
    Power Supply: Antec 300W
    Remote: MCE
    TV: Sony 32v2000
    TV - HTPC Connection: VGA

    This is the follow on to several threads I have started about coming out of S3 standby / missing recordings. I think I have narrowed it down to the DVB-T EPG grabber. I have set the machine to wake at 5am every morning to grab EPG via PowerScheduler. Was going to say that this seems to work but looking at logs there is nothing in the EPG logs to suggest anything happend at 5am to the EPG. Also I get the following the error.log for TV Server
    Code:
    2009-01-06 05:01:20.312500 [PowerEventThread]: TV service PowerEventThread: Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
       at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       at System.Collections.Generic.List`1.Enumerator.MoveNext()
       at TvService.Service1.OnPowerEvent(PowerEventType powerStatus)
       at TvService.Service1.PowerEventThreadWndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
       at TvService.Service1.GetMessageA(MSG& msg, IntPtr hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
       at TvService.Service1.PowerEventThread()
    2009-01-06 07:38:19.171875 [PowerEventThread]: TV service PowerEventThread: Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
       at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       at System.Collections.Generic.List`1.Enumerator.MoveNext()
       at TvService.Service1.OnPowerEvent(PowerEventType powerStatus)
       at TvService.Service1.PowerEventThreadWndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
       at TvService.Service1.GetMessageA(MSG& msg, IntPtr hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
       at TvService.Service1.PowerEventThread()

    The machine does then go back to sleep but I do not think it is waking correctly afterwards.

    Looking at a normal standby entry in tv.log I see something like:
    Code:
    2009-01-06 04:07:14.687500 [Powerscheduler Suspender]: PowerScheduler.NextWakeupTime: inspecting handler:EpgGrabbingHandler time:1/6/2009 5:00:00 AM
    2009-01-06 04:07:14.687500 [Powerscheduler Suspender]: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:12/31/9999 11:59:59 PM
    2009-01-06 04:07:14.687500 [Powerscheduler Suspender]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:12/31/9999 11:59:59 PM
    2009-01-06 04:07:14.703125 [Powerscheduler Suspender]: PowerScheduler.NextWakeupTime: inspecting handler:ScheduledRecordingsHandler time:1/6/2009 5:52:00 AM
    2009-01-06 04:07:14.718750 [Powerscheduler Suspender]: PowerScheduler.NextWakeupTime: inspecting handler:EpgGrabbingHandler time:1/6/2009 5:00:00 AM
    2009-01-06 04:07:14.718750 [Powerscheduler Suspender]: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:12/31/9999 11:59:59 PM
    2009-01-06 04:07:14.718750 [Powerscheduler Suspender]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:12/31/9999 11:59:59 PM
    2009-01-06 04:07:14.734375 [Powerscheduler Suspender]: PowerScheduler.NextWakeupTime: inspecting handler:ScheduledRecordingsHandler time:1/6/2009 5:52:00 AM
    2009-01-06 04:07:14.750000 [Powerscheduler Suspender]: PowerScheduler: Set wakeup timer to wakeup system in 51.7541666666667 minutes
    which as you can see shows that at this point the machine is expecting to wake at 5am for EPG grabbing and again at 5:52 to record something.

    After the EPG grabbing however you do not get any [Powerscheduler Suspender] messages at all and you do get
    Code:
    2009-01-06 05:01:15.343750 [Powerscheduler Timer]: PowerScheduler.NextWakeupTime: inspecting handler:EpgGrabbingHandler time:1/7/2009 5:00:00 AM
    2009-01-06 05:01:15.343750 [Powerscheduler Timer]: PowerScheduler.NextWakeupTime: inspecting handler:PowerSchedulerClientPlugin time:12/31/9999 11:59:59 PM
    2009-01-06 05:01:15.343750 [Powerscheduler Timer]: PowerScheduler.NextWakeupTime: inspecting handler:GenericWakeupHandler time:12/31/9999 11:59:59 PM
    but you never see
    Code:
    2009-01-06 04:07:14.750000 [Powerscheduler Suspender]: PowerScheduler: Set wakeup timer to wakeup system in 51.7541666666667 minutes

    which suggests it is doing something different when going into standby after EPG grabbing than normal ????
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Why are you waking up for dvbepg grabbing, as it will do it at some idle point within the day anyway, this would normally only be used for xml TVGuide import.

    ps, if you want to check what your cards are doing, get this, i just extract it to a new folder within the team-mediaportal folder and have it set to start 1 minute after windows boot, so TVServer is loaded.

    I know it's not the question you asked, just do no see the point, especially with multiple cards as one will be idle at some time.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,257
    2,533
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Why are you waking up for dvbepg grabbing, as it will do it at some idle point within the day anyway, this would normally only be used for xml TVGuide import.
    good question !!!

    I guess it is because the machine sometimes goes for days without waking and I want the EPG up to date when I get in after working away.

    left it to wake at 11 today (at work now) and record something at 12. willl check on this when I get home
     

    Users who are viewing this thread

    Top Bottom