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

Guzzi

Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,161
    747
    Country flag
    ( WARN with slow TVE system. this can do freeze your client )
    @regeszter
    I think this should be put in a separate issue - while I agree, it IS an issue - but it is not directly related to this feature change - we have the problem today already, that when you start a client from S3, it sometimes takes quite a while until TVS (separate system) is startedf and ready to connect.
    During this time, MP client seems to "freeze" (can take quite some time, as TVS needs to be started and then takes some time until network connections are ready to go). We might need to put that "waiting for TVS to be ready" routine into a thread - this should avoid the client to "feel frozen" - plus any start of TV related feature (e.g. autostart TV, entering TV plugin) of course still needs to wait until TVS is ready.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,610
    5,237
    France - IDF
    France France
    Country flag
    Hello Guzzi,
    i'm aggree with you. for example :
    My HTPC : E6400 + 4GB RAM + SSD OS ( Resume 5-10seconde )
    My TVE-SERVER : Sempron 2800+ - 1GO - HDD OS + Timeshift. ( i know it's not the best. but for test, and know what i need, it's usefull ) Resume 10-30sec

    With the old usage, when HTPC start, it start also TVE-serveur ( also if not needed :cautious: ), but this can give more time to TVE to start and be ready.

    with the feature of this thread, it start only when i select TV plugin, ( sound good for me ), but this lock MP and i can do nothing else, to rest on the transition screen between homepage and TV plugin ... this morning 2-3 min was locked. ( i think due to EPG XML grabbing too ). if we can have TVE detect/ready for not lock MP anymore ... would be awesome
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    Hello All!

    I agree with @Guzzi and @azzuro, but as you know there is code freeze in TVE, so I can not make so big changes in TVplugin. It means this feature won't merge to master/TVE3.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,610
    5,237
    France - IDF
    France France
    Country flag
    one week after setup this patch, it seems work fine, but not tested yet, if server go to standby if user is not inside TV or Radio section.

    Question : you think if user is on TV Gui, but tv is not started, it consider than you use TV, and TVE is not set to standby ?
    if yes, for me it's the good result.

    Only one thing, not sure if related to this patch, on my remote i press "Record" button, i have dialog who say me, record actual show, or manual stop.

    when i press manual stop choice, i have the topbar with " you record ... " but when i look in record section, i have nothing in active record ...
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    Question : you think if user is on TV Gui, but tv is not started, it consider than you use TV, and TVE is not set to standby ?
    if yes, for me it's the good result.
    Yes.

    Only one thing, not sure if related to this patch, on my remote i press "Record" button, i have dialog who say me, record actual show, or manual stop
    I do not know. It needs more test and LOGS. :p
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    i know, but my Teamviewer don't work, today ... pfff, so i can't acces from my work on my personal network .. for take log
    My setup to access my local network: ;)

    • router with openwrt
    • ssh to router from the internet (from work)
    • wake on lan command from the router to any pc on my home network
    • vnc inside ssh tunnel to access any pc on my home network
     

    Users who are viewing this thread

    Similar threads
    OP Title 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 11
    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 [solved] Add CI AppVeyour to github account MediaPortal 1 46
    M Add Radio channels and EPG to Mediaportal xmlTV 3
    horned_reaper [solved] Add support for Bluetooth events Improvement Suggestions 2
    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

    Similar threads

    Top Bottom