Server going to sleep whilst playing recorded TV

Discussion in 'General Support' started by alister, March 17, 2019.

  1. alister
    • Premium Supporter

    alister MP Donator

    Joined:
    May 11, 2010
    Messages:
    58
    Likes Received:
    1
    Gender:
    Male
    Occupation:
    IT Server Manager
    Location:
    Aberdeen
    Ratings:
    +1 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    My server (MEDIA is system) is going to sleep whilst playing back recorded TV causing the Client (NUC7100) to crash

    I scheduled recorded the Andrew Marr Show 10:00 - 11:00 and was watching it play back on the client it crashed MP as the server backend went to sleep. This was during playback of the recording.

    From the windows system log

    Log Name: System
    Source: Microsoft-Windows-Kernel-Power
    Date: 17/03/2019 12:12:50
    Event ID: 42
    Task Category: (64)
    Level: Information
    Keywords: (1024),(4)
    User: N/A
    Computer: MEDIA
    Description:
    The system is entering sleep.

    Sleep Reason: System Idle

    ON NUC7100 I get

    [2019-03-17 12:13:19,669] [Log ] [MPMain ] [ERROR] - Exception: Error: DatabaseUnavailableUnclassified Gentle.Common.GentleException: The database backend (provider MySQL) could not be reached.

    Mediaportal client crashes

    On Server (Media) application logs

    Information 17/03/2019 12:12:50 TV Server 0 None PowerEvent handled successfully by the service.
    Information 17/03/2019 12:14:05 TV Server 0 None PowerEvent handled successfully by the service.
    Information 17/03/2019 12:14:05 TV Server 0 None PowerEvent handled successfully by the service.

    The PowerScheduler Plugin in active and in Expert Mode

    Network in enabled at 1000 - I didn't think I would need this



    Standby is Handled by Windows
    ----
    I haven't activated Win10 as yet - "new" build as I'm rationalising Hardware. This PC will be dedicated to being my TV server
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Have you got this active on *both* Client and Server?
     
  4. alister
    • Premium Supporter

    alister MP Donator

    Joined:
    May 11, 2010
    Messages:
    58
    Likes Received:
    1
    Gender:
    Male
    Occupation:
    IT Server Manager
    Location:
    Aberdeen
    Ratings:
    +1 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    The client is a different PC, would it make a difference? I'll test tonight with Top Gear and find out

    I've gone from a single seat to client server so might have missed this
     
  5. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,645
    Likes Received:
    542
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +962 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    I have never used an MP setup with separate client and server systems, so cannot offer any advice from personal experience. However, on looking through the various tabs for the "PowerScheduler" plugin in "TV Server Config", several of those tabs seem to have settings that might control when the server transitions to stand-by state (sleep or hibernation).

    As neither of us know how to use "PowerScheduler" for separate client/server setups, why not try the "Plug and Play" mode instead of "Expert" mode? If you look on the "General" tab, you will notice that there are several pre-defined profiles provided, for different sorts of usage. One of these is for a server system. So why not try "Plug and Play" mode with the "Server" profile, just to see how it behaves?

    -- from CyberSimian in the UK
     
  6. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    That's why I mentioned it :) (I think the client and server plugins talk to each other)

    Also read the Wiki pages for the PS plugin - PS - How it Works
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!