[confirm] MediaPortal hibernates during recording (1 Viewer)

alexirion

MP Donator
  • Premium Supporter
  • February 8, 2010
    170
    12
    52
    St. Georgen im Schwarzwald
    Home Country
    Germany Germany
    Manually chosing Hibernate from the MediaPortal menu hibernates the system, also when there is currently a recording happening. This was not the case with earlier versions.
     

    Attachments

    • log_tvserver.zip
      1.1 MB

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    Manually chosing Hibernate from the MediaPortal menu hibernates the system, also when there is currently a recording happening. This was not the case with earlier versions.
    Manual Hibernate cannot be prevented (other than manual sleep requests). This is a Windows "feature" and you cannot do anything against it. So I would say this is no bug.

    Michael
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    3,611
    2,639
    Southampton
    Home Country
    United Kingdom United Kingdom
    Manually chosing Hibernate from the MediaPortal menu hibernates the system, also when there is currently a recording happening. This was not the case with earlier versions.
    I have this problem with Windows Media Center. For various reasons, sleep does not work too well on my HTPC, but hibernation works much better. If I set the power button on the remote control to cause hibernation, I have the same problem that you do -- it terminates immediately any recording that may be taking place. I circumvent this by not manually hibernating the system. Instead I set the hibernation timeout to a short period in the power plan. Then, when I switch the TV off, after the hibernation timeout has expired, Windows hibernates the system (if it is not recording a programme).

    Without any extra software, you could set the hibernation timeout to something like 15 minutes. Then your HTPC will hibernate 15 minutes after you have switched off your TV (provided that it is not recording a programme).

    As I am a bit of a cheapskate, I did not like the HTPC running for 15 minutes unnecessarily, so I use a program that monitors the state of the TV and sets the hibernation timeout to 2 hours if the TV is on, and to 10 seconds if the TV is off. So when I switch the TV off, the HTPC hibernates within about 20 seconds (if it is not recording).

    -- from CyberSimian in the UK
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Manually chosing Hibernate from the MediaPortal menu hibernates the system, also when there is currently a recording happening. This was not the case with earlier versions.
    Manual Hibernate cannot be prevented (other than manual sleep requests). This is a Windows "feature" and you cannot do anything against it. So I would say this is no bug.

    Michael

    Presumably selecting this from MediaPortal then calls the system to hibernate, so we should in principle have an opportunity to check for recordings and give the user a chance to cancel?
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Home Country
    Germany Germany
    Manually chosing Hibernate from the MediaPortal menu hibernates the system, also when there is currently a recording happening. This was not the case with earlier versions.
    Manual Hibernate cannot be prevented (other than manual sleep requests). This is a Windows "feature" and you cannot do anything against it. So I would say this is no bug.

    Michael

    Presumably selecting this from MediaPortal then calls the system to hibernate, so we should in principle have an opportunity to check for recordings and give the user a chance to cancel?
    This would only work for recordings and not for other tvserver activities configured in PowerScheduler and it would not prevent stopping the PC with the remote (depending on the type of remote) or power button. But it would be better than nothing.

    Michael
     

    Users who are viewing this thread

    Similar threads

    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the plugin has. It might be 32-bit, or it might be "any cpu". The plugin is not listed by the "MP Extensions" tool, so I don't know whether it has been tested with the most-recent MP releases. -- from...
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the...
    I'm looking for a better recording scheduler. Many recording titles (at least in the UK) change between episodes, sometimes being...
    Replies
    4
    Views
    1K
    Good to hear you got it working.(y) I have attached a screenshot of my Power Scheduler settings and, yes my TV does stay off when a scheduled recording starts. Regarding the monitor sleeping when playing music, if the screensaver option is set in your MP skin settings try disabling it, I have a vague recollection it may get...
    Good to hear you got it working.(y) I have attached a screenshot of my Power Scheduler settings and, yes my TV does stay off when...
    Hi, everytime my computer awakes for scheduled recordings, the monitor awake too and does not switch of during the whole recording...
    Replies
    5
    Views
    2K
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    2K
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall rules were set to Public. I couldn't connect to the new TV Server from my old single-seat installation running 32-bit until I changed all MP-related firewall rules on the new machine to Private. Before I did...
    Thank you for this tip! I'm moving MP TV Server to a new machine. I installed the 64-bit version and most of the MP firewall...
    Server and client on modern uptodate Windows 11 desktop. Software is Server and Client version x86 1.38.003 Remote client on...
    Replies
    26
    Views
    2K
    i think info but I'm really not sure
    i think info but I'm really not sure
    When I import new films using Moving Pictures, it takes an incredibly long time for the information to be found and downloaded...
    Replies
    3
    Views
    705
    Top Bottom