[fixed] [MP2-811] Forced client wake-up at 2:00 (1 Viewer)

Gcarr

MP Donator
  • Premium Supporter
  • August 17, 2014
    95
    21
    United States of America United States of America
    Country flag
    Well, that ruled out the the "...importerworkersettings". There is stll the other config file "MediaPortal.Common.Services.TaskScheduler.TaskSchedulerSettings.xml" which is still set to "WakeUpSystem True" I don't know the relationship of those two config files though.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    MediaPortal.Common.Services.TaskScheduler.TaskSchedulerSettings.xml
    I don't know the relationship of those two config files though
    Just checked the logic myself a bit further.

    The ImporterWorkerSettings enable/disable the automatic refresh at the given hour. When the Importer runs, it looks for a Task (read from TaskSchedulerSettings) and updates/deletes it depending on ImporterWorkerSettings.
    When the ImporterWorkerSettings were deleted once, I could imaging the old Task remains inside the TaskCollection and a new Task is created. So you might check the TaskSchedulerSettings for duplicate entries (in both client and server config folders). And you can edit the "<WakeupSystem>true</WakeupSystem>" to false.

    The wakeup times are controlled by the TaskScheduler class. It considers all known tasks and calculates the next due time of a run (and a wakeup if required).
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    When the ImporterWorkerSettings were deleted once, I could imaging the old Task remains inside the TaskCollection and a new Task is created.
    Client PCs don't require such a task as the Importer only runs on the server.

    At my side I never had a single-seat setup and only installed the client part on client PC's. Therefore any schedule at the client is meaningless and respective code should IMHO removed.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    At my side I never had a single-seat setup and only installed the client part on client PC's. Therefore any schedule at the client is meaningless and respective code should IMHO removed.
    Have you ever configured client-specific media sources? In this case the client should be online when the server imports such sources.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Have you ever configured client-specific media sources?
    No. Also this wouldthen apply to the specific client, right? Not to all three PC's that @Gcarr is using, nor to my own clients that have no local shares.
     
    Last edited:

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    I only wanted to point you to other possible use case that are required to be considered, before "removing meaningless code".
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Wouldn’t this be better controlled by the server? Local shares are noted there and the pc wake up would be better controlled from there.
     

    Gcarr

    MP Donator
  • Premium Supporter
  • August 17, 2014
    95
    21
    United States of America United States of America
    Country flag
    Ok so, I now have the single seat client/server and standalone client with all 6 config files set to false (importerworkersettings and taskschedulersettings). Assuming this stops the wakeup, will I now have to somehow manually trigger a share refresh periodically? Or will that happen automatically at some other unscheduled time, like an event maybe?
     

    Gcarr

    MP Donator
  • Premium Supporter
  • August 17, 2014
    95
    21
    United States of America United States of America
    Country flag
    So, my dog woke me up at 1:55am last night. I think the TV waking up at 2 is part of her schedule haha. Anyway, same thing with the settings as listed in my previous post. Attaching the logs.
     

    Attachments

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    The one on the server was set to "false". I now also changed the one on the clients.
    This seems to cure the 2:00 wake-up of the client. So the question is if this can be rolled out as "false" in a new client install.
     

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

    OP Similar threads Forum Replies Date
    H MP2 database won't keep in synch with recordings General 3
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 58
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 1
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    CyberSimian MP2 synchronising of stoptime MediaPortal 1 Talk 5
    M Initial Setup MP2 (On Wndows 10) General 2
    R [solved] MP2 Client ist extrem langsam Allgemeines Support- und Diskussionsforum 5
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    T Amazon und Netflix in MP2 - Wie? Allgemeines Support- und Diskussionsforum 6
    J [solved] How to in MP2 General 19
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    Similar threads

























    Top Bottom