MP does not go to S3 from away mode after TV recording is finished if the timeshiffting is ON (1 Viewer)

marttoma

MP Donator
  • Premium Supporter
  • March 24, 2014
    282
    88
    Praha
    Czech Republic Czech Republic
    There are 3 scenarios - and last does not work well:

    1. There is planned TV recording and PC is in S3 mode: PC wake ups, make a recording and go to S3 back - this is fine

    2. There is life TV with no recording & no timishifting) and than command to go to S3 by remote control: HTPC goes to S3
    - this is fine

    3. There si life TV with recording & timishifting and than command to go to S3 by remote control: HTPC goes to away mode, after the recording is finish it should go to S3 but it remains in away mode - this is I think not correct.
    To be more specific to point 3 the HTPC does not go to S3 mode only when timeshifting is ON. When the timeshift is OFF (TV is switch OFF), then the HTPC goes to S3 mode from away mode after the recording has finished.

    This kind of behaviour for situation 3 is also common for DVR machines - user does not care about status of the DVR, when the user wants to switch off DVR, customer just press the sleep button and does not care any more - when no TV recording than DVR goes to S3 immediatelly, when DVR is recording something, it goes to away mode and after the recording it goes to the S3 mode automatically.
    In case of Windows Media Center it also does not go to S3 mode from away mode when the recording has finished, but there is workaround available - MCE Standby Tool SW (http://slicksolutions.eu/mst.shtml), which manage to go MCE to S3 from away mode when the TV recording is finished (while the htpc is in away mode already during the recording).

    M.
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Germany Germany
    MP will go to S3 from away mode when the recording is finished and if there is no more timeshifting (= watching live tv) neither on the local system nor on a remote client (if any). What I do not understand is: How can your system still be timeshifting after you shut it off (from the user's point of view) with the remote? I would like to see logs (full logs in debug log level on client and server) of this situation (scenario 3) to analyse it.

    Michael
     

    blub

    MP Donator
  • Premium Supporter
  • October 1, 2013
    223
    82
    Giessen
    Germany Germany
    I might have something similar:

    We were watching a movie from my NAS and a programmed recording was started during that time. When we were finished watching our movie I checked what MP was currently recording - so live TV was started.
    After I was done I turned the system off while it was still recording.
    When I was up early (around 4am) the HTPC was still on despite no one connected (single seat) - I turned it off manually.

    If that fits I can provide the logs tomorrow.
     

    marttoma

    MP Donator
  • Premium Supporter
  • March 24, 2014
    282
    88
    Praha
    Czech Republic Czech Republic
    In my case when the HTPC is recording TV and the TV is ON (i.e. timeshifft is ON) and I press sleep button (either on HTPC or on remote control), it goes to away mode (due to TV recording) and it remains in away mode even the TV recording latter finish - it will not go to sleep mode anytime latter.

    In case I am not recording any TV but the TV is ON (i.e. timeshifft is ON) and I press sleep button (either on HTPC or on remote control), the HTPC goes to S3 mode (which is fine).

    I would give you log, but I dont have idea, when I can find it or created - please let me know.
     

    marttoma

    MP Donator
  • Premium Supporter
  • March 24, 2014
    282
    88
    Praha
    Czech Republic Czech Republic
    I already founbd out how to create log files, please have a look to attached one
     

    blub

    MP Donator
  • Premium Supporter
  • October 1, 2013
    223
    82
    Giessen
    Germany Germany
    Ok here are my logs - sorry its a lot of data.

    However this might narrow it down a bit:

    • Turned HTPC on at around 18:46 in April 9th
    • Started watching a TV series from my NAS at around 19:06
    • Stopped watching TV series and went into Live-TV to check what was currently recording and programmed a new recording at around 20:52
    • Turned the HTPC off a couple of minutes later when it was still recording - Live TV was still on because I just pressed "off" on my remote
    • Because it was still on and not recording anything (recording ended at around 22:30 I think) I turned it off manually at around 03:43
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Germany Germany
    I already founbd out how to create log files, please have a look to attached one
    Sorry, but I cannot find the buggy situation in your logs. But I saw that your PS configuration is a bit problematic (away mode for epg grabbing, no sleep if the MP client is down). So please activate plug & play mode in PowerScheduler config to get clean basic settings. To ease debugging you could temporarily set your sleep timeout from 30 minutes to 5 minutes (not so much waiting ;)). Then make a restart of the tvservice and reproduce the situation where you press the sleep button during a recording while you are watching tv and see if your system goes to sleep after the recording is finished. If not, please send me logs again...

    Michael
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Germany Germany
    Ok here are my logs - sorry its a lot of data.

    However this might narrow it down a bit:

    • Turned HTPC on at around 18:46 in April 9th
    • Started watching a TV series from my NAS at around 19:06
    • Stopped watching TV series and went into Live-TV to check what was currently recording and programmed a new recording at around 20:52
    • Turned the HTPC off a couple of minutes later when it was still recording - Live TV was still on because I just pressed "off" on my remote
    • Because it was still on and not recording anything (recording ended at around 22:30 I think) I turned it off manually at around 03:43
    I do not know what you mean with "Turned the HTPC off", since if you really turn it off, live TV cannot be on:confused::confused::confused:? To me it looks like you only shut off your tv set and your HTPC continued running with live tv on... At least there is no change to away mode or S3 (which must be there if you really switched off your HTPC) and your HTPC continued running all the time...

    Michael
     

    blub

    MP Donator
  • Premium Supporter
  • October 1, 2013
    223
    82
    Giessen
    Germany Germany
    I do not know what you mean with "Turned the HTPC off",
    I pressed "room off" on my remote control, that then switches off all devices in a specific oder.

    What your are telling me from the log would indicate a missed IR command. This is possible but very unlikely because the IR-Emitter is glued onto the IR-Receiver.

    I will try to reproduce the scenario and report back.
     

    marttoma

    MP Donator
  • Premium Supporter
  • March 24, 2014
    282
    88
    Praha
    Czech Republic Czech Republic
    I already founbd out how to create log files, please have a look to attached one
    Sorry, but I cannot find the buggy situation in your logs. But I saw that your PS configuration is a bit problematic (away mode for epg grabbing, no sleep if the MP client is down). So please activate plug & play mode in PowerScheduler config to get clean basic settings. To ease debugging you could temporarily set your sleep timeout from 30 minutes to 5 minutes (not so much waiting ;)). Then make a restart of the tvservice and reproduce the situation where you press the sleep button during a recording while you are watching tv and see if your system goes to sleep after the recording is finished. If not, please send me logs again...

    Michael
    I am using single-seat MP configuration, so I have "no sleep if the MP client is down" from admin reasons. I have also 30mins due to the fact that 5 mins is too short for me:). Anyway I set up PS according to your advice - i.e. plug&play mode and the sleep timeout to 5 min.

    I started MP in debug mode and I started live TV (i.e. timeshifting is ON). Then I started to record 1 TV channel, the recording should finish at 11am, ~10:50am I press sleep button on remote control, so HTPC went to the away mode due to TV recording, and HTPC remained in the away mode, it did not go to sleep mode when the TV recording has finish. The log is attached.
    I discovered that in case the TV is OFF (no timeshift), then HTPC goes from away mode (during TV recording) to sleep mode - this scenario works well.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    M WTV Files does not play on client, MPEG files works well General 0
    D Does Schedules Direct work with mp 1.24? General Support 3
    J [solved] Blu-ray disc playback does not work. Bugreports 13
    horned_reaper [solved] When playing music Fanart does not shuffle Fanart Handler 20
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    horned_reaper [solved] When playing music Fanart does not appear immediately after downloading Fanart Handler 272
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    L [solved] Why does Mediaportal 2 need access to my webcam? General 2
    R Directx 9.0 June 2010 does not install on Windows 10 x64, ends up with weird failure / no debug file Installation, configuration support 0
    M What does MP homeserver detection need at the client end, and what does the server need to transmit? General 6
    R TV menu icon does not work to return from sub-menu item Submit: Bug Reports 4
    N [confirm] Calling RemoveScheduleForProgramAsync does not stop the recording if it is currently in progress MediaPortal 2 1
    drumrob Time does not fit in white space 1.22 Pre Release 6
    N [Finished] [MP2-806] Playing a recorded radio program does not show screen to allow skipping forward, etc MediaPortal 2 141
    N [confirm] Playing a recording, then pressing stop does not leave cursor on the recording MediaPortal 2 21
    N [Finished] [MP2-783] Mapping Ctrl+Right as Next also does Right action when pressed. MediaPortal 2 21
    BlueMax1916 [Question] What does MP2 Server Service have to do with ...microsoft.com/filestreamingservice...? MediaPortal 2 3
    P Mediaportal does not allow my TV tuner to enter low power state General Support 1
    greybox 1.20 final does not update video duration automatically 1.20 10
    greybox 1.20 final does not update video duration automatically 1.20 Pre Release 1
    Terra MPTray does not start with Windows General Support 2
    A LNB supply voltage does not switch off General Support 0
    G Splash screen option pack does not download. StreamedMP 8
    gibman adaptive refreshrate does not work for TV Archive 16
    H TV Server does not start General Support 8
    Similar threads

























    Top Bottom