[WiP] TVLIB-93 | Powerscheduler: Add option to sleep TV Server if Client is online but TV Server is idle (1 Viewer)

regeszter

Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    Hi,

    the Improvement Suggestion was posted here: Powerscheduler: Add option to sleep TV Server if Client is online but TV Server is idle

    How it works:
    • The TvServer won't wake up on starting or resuming of the client.
    • The TvServer will start by WOL (wake on lan) when the user enter the TV or Radio section.
    • The TvServer can go to standby if the user in not in the TV or Radio section.
    GIT branch
    Jira Ticket : TVLIB-93

    Please test it and report me the issues with attached the client and server logs.

    The installer based on MP 1.10 Final.

    Thx,
    regeszter
     
    Last edited by a moderator:

    Guzzi

    Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    Country flag
    I really like the idea - can't test, as still on 1.7, so just out of curiosity: From memory, TVplugin constantly get's info to show "recording started" and "recording stopped" notifications - in GUI they should only be greyed/disabled, if user decides to let TVS sleep while MP is running, as that information isn't available in that case.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    I have attached a full installer based on 1.10 Pre Release.
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Have just those library files changed again or more now? Reason I ask, it would be easier to test if I didn't have to do a full install and could revert back by replacing files after using it a while..

    It's a useful client feature for me as more often than not the client is watching online videos or other media than live TV so could save some electricity if the TV Server machine need not be switched on. I'm also curious if (now it doesn't need TV Server on) it will speed up resumes on the client.

    Usually my machine sits waiting for x seconds on resume whilst the TV Server wakes up and it can talk to it <- this is one thing I'd like to get rid of :) Again in my case (I realize this isn't something for everyone) I would rather suffer the delay when I actually go into TV for the first time).
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Could you post just those two files again so I can update the client manually and save the old files please :)
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,366
    4,994
    France - IDF
    France France
    Country flag
    hum, i' have now, TVE server dedicated. and i have see one issue on my use.
    My TV-server go to standby after 20 minute without use TV stuff on client. normal behaviour.
    but after my movie ending, go to TV section. and PAF TVE don't start. and ask me for change the TV server name.

    PS : for sleep TVE i must check, "FORCE powerscheduler to sleep TVE if iddle"
    PS: the numero of Jira ?

    i must try your setup ...
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,366
    4,994
    France - IDF
    France France
    Country flag
    installed on my system.
    what i have see, TVE don't start anymore when MP. and start only when select TV plugin.
    For, me, with my old system, i have few freeze on Client side, due to Server is not ready yet. so TVE lock my client.

    not tested yet the standby mode.

    REsume :
    • The TvServer won't wake up on starting or resuming of the client.
    ( WARN with slow TVE system. this can do freeze your client )
    • The TvServer will start by WOL (wake on lan) when the user enter the TV or Radio section.
    • The TvServer can go to standby if the user in not in the TV or Radio section.
    (must test)
     
    Last edited:

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

    OP Similar threads Forum Replies Date
    bta489 [solved] System goes to Standby during Amazon Prime Playback OnlineVideos 2
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    D Media Portal wake schedule General Support 29
    ajs [WiP] 5030: Add UHD Thumb size to TV Server MediaPortal 1 0
    ajs [fixed] 5029: Add the ability to choose the type of pause for designers in the slideshow MediaPortal 1 4
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    raffe How to add 500+ streams? OnlineVideos 1
    T How to add missing buttons IR Server Suite (IRSS) 0
    R [solved] Moving pictures importer wont add files from a removable drive. Is there a work around ? Moving Pictures 8
    cbr954rr Possibillity to add more Movie Folders in Menu General 5
    ajs [solved] 4935: Add string.replace function to Skin engine MediaPortal 1 10
    haaitje Crashes when trying to add lyrics MPTagThat 0
    H Add site to home OnlineVideos 5
    E Can I add folder icons to my list of videos MediaPortal 1 Talk 9
    Timothy Cobb Mediaportal 2 Weather - Can't add Weather locations Plugin Development 5
    E How can I add some site to Online Video Plugin ? OnlineVideos 4
    J silly question: where do I add my login details!! OnlineVideos for MediaPortal 2 5
    Top Bottom