Powerscheduler goes to Hibernate during a recording (1 Viewer)

Bavarian

Retired Team Member
  • Premium Supporter
  • April 4, 2005
    698
    167
    Germany, Bayern
    Home Country
    Germany Germany
    Problem is found :)

    No channel numbers, no frequencies are stored for your channels.

    Please scan for your TV channels with the Configuration.Exe prog.


    Bavarian
     

    Dado

    Portal Pro
    April 10, 2006
    105
    0
    Italy
    Recorder Object

    Hi Bavarian,
    as I told you, I would use only composite input of PVR-350 with set top box... Unfortunately in Italy there is no EPG precise so I have only one channel into MP: Composite (frequency is 20003) and use set top box EPG (that's very accurate!!); I haven't any channels in EPG.

    (...I hope that this configuration is possible into MP...)

    I have watched Powerscheduler code and I have tried to make some tests (with logging):

    I have recompile dll with checks for states of Recorder.IsAnyCardRecording, IsRecording, Is***, ecc: after pc is resume, Mp starts to record correctly but after 5 minutes powerscheduler hibernates (in this case there is no Recorder.Is*** function that returns TRUE..!)

    I have noticed that in some cases during a recording after resume, in homepage there is "Rec" image visible and all works correctly, but in some other cases the "Rec" image in homepage is INvisible (but Mp is recording anyway!!) and in these cases Powerscheduler hibernates after 5 minutes....

    Why my checks (Recorder.IsAnyCardRecording, ecc) returns FALSE during a recording after resume?

    My checks (into ShutdownCheck() sub) are these:

    Code:
          if (m_shutdownMode.StartsWith("Hibernate"))
            {
                Log.Write("--------------------------------------------------------------------");
                Log.Write("PowerScheduler (DP Mod): Recorder Status: " + Recorder.IsAnyCardRecording().ToString());
                Log.Write("PowerScheduler (DP Mod): Recorder Status: " + Recorder.IsRecording().ToString());
                Log.Write("PowerScheduler (DP Mod): Recorder Status: " + Recorder.IsRecordingChannel("Composite").ToString());
                Log.Write("PowerScheduler (DP Mod): Recorder Status: " + Recorder.IsTimeShifting().ToString());
                Log.Write("PowerScheduler (DP Mod): Recorder Status: " + Recorder.IsViewing().ToString());
                Log.Write("PowerScheduler (DP Mod): Recorder Status: " + Recorder.IsRadio().ToString());
                Log.Write("PowerScheduler (DP Mod): Recorder Status: " + Recorder.Running.ToString());
                Log.Write("PowerScheduler (DP Mod): Recorder Status: " + Recorder.GetTVRecording().EndTime);
                Log.Write("--------------------------------------------------------------------");
    
                if ((!Recorder.IsAnyCardRecording()) || 
                    (!Recorder.IsRecording()) || 
                    (!Recorder.IsRecordingChannel("Composite")) || 
                    (!Recorder.IsTimeShifting()) || 
                    (!Recorder.IsViewing()) || 
                    (!Recorder.IsRadio()) ||
                    (Recorder.GetTVRecording().EndTime <= DateTime.Now))
                {
                Log.Write("PowerScheduler (DP Mod): Hibernate system");
                Utils.HibernateSystem(m_bForceShutdown);
                //WindowsController.ExitWindows(RestartOptions.Hibernate, m_bForceShutdown);
              }
                else
                  Log.Write("PowerScheduler (DP Mod): Recorder is recording: Hibernate aborted");
            }

    I love MP and I'm working on Powerscheduler bug (the only big bug for me) since 2 months ago...!!!

    Please help me to solve this problem!!

    Thanks a lot,
    Dado
     

    Bavarian

    Retired Team Member
  • Premium Supporter
  • April 4, 2005
    698
    167
    Germany, Bayern
    Home Country
    Germany Germany
    Hi Dado,

    which connections on your PVR350 are you actually using and how do you set your 'channels' up?

    A good way would be to use one of the pre-defined CVBS channels.


    Bavarian
     

    Dado

    Portal Pro
    April 10, 2006
    105
    0
    Italy
    Info

    Hi,
    I use configurator:

    - Connect Composite input on PCI Hauppauge card (I don't use Svhs)
    - Add Pvr-350 board (that sw recognize).
    - Add Composite channel by click "Add" in channels and select "RGB" from drop-down (so I use predefined channel...)
    - Select default standard tv system
    - Audio mappings are ok by default
    - Tv works fine

    - Also Empty EPG database (for security....) with button in EPG

    Hauppauge application works fine, too...

    If you want to know other things, please ask to me!

    Thanks,
    Dado
     

    Dado

    Portal Pro
    April 10, 2006
    105
    0
    Italy
    News

    Hi Bavarian,
    there are some good news for me ??

    Thanks a lot,
    Dado
     

    Users who are viewing this thread

    Top Bottom