[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
    Both of my v.2.2.1 PCs wakes up every night at 2am. The only setting I can find in settings is for share refresh, which I have set for 6am. I finally found two settings files (there may be more) that schedule a wakeup at that time.
    MediaPortal.Common.Services.MediaManagement.ImporterWorkerSettings.xml
    MediaPortal.Common.Services.TaskScheduler.TaskSchedulerSettings.xml
    I tried to edit them but they just change back to 2am on their own. Is there any way to change these? One of these PCs is in my bedroom so you can imagine what that's like.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    That's a very interesting finding as I have been struggling with the same phenomenon and was not able to identify the cause.

    I finally found two settings files (there may be more) that schedule a wakeup at that time.
    MediaPortal.Common.Services.MediaManagement.ImporterWorkerSettings.xml
    MediaPortal.Common.Services.TaskScheduler.TaskSchedulerSettings.xml
    @henso, can you comment about the ImporterWorkingSettings? We may have a bug here.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,170
    735
    Denmark Denmark
    Country flag
    I’m not home until next weekend. I can take look when I’m home again.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    @henso,
    Regardless of an active or inactive User Management the behavior stays the same. Deleting MediaPortal.Common.Services.TaskScheduler.TaskSchedulerSettings.xml leads to recreation of the file at the new start of the client app with 2:00 scheduled as wakeup time. Changing the times or the expiration date doesn't help either as reported by @Gcarr, in fact expiration is reset to 9999-12-31 at every start.

    I'll move this thread to the Bug section.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,389
    6,966
    Germany Germany
    Country flag
    Deleting MediaPortal.Common.Services.TaskScheduler.TaskSchedulerSettings.xml leads to recreation of the file at the new start of the client app with 2:00 scheduled as wakeup time
    This is an expected behavior: when settings files are deleted, they will be recreated with the defaults defined in code. For media importer it's 2 o'clock import run that is enabled by default.

    On a single seat system this file exists both for client and server. So for testing please open both files in text editor and change "true" to "false" here:
    <Property Name="EnableAutoRefresh">
    <boolean>true</boolean>
    </Property>
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    This is an expected behavior: when settings files are deleted, they will be recreated with the defaults defined in code. For media importer it's 2 o'clock import run that is enabled by default.
    Yes and no. The file is recreated with the standard settings but in the Client settings the automatic refresh continues to display as "No".

    So for testing please open both files in text editor and change "true" to "false" here:
    <Property Name="EnableAutoRefresh">
    <boolean>true</boolean>
    The one on the server was set to "false". I now also changed the one on the clients.

    EDIT: As this is only for the importer and share refresh, which is running server-based, I presume that the version on the client has no practical use and should not be there, correct?
     

    Gcarr

    MP Donator
  • Premium Supporter
  • August 17, 2014
    95
    21
    United States of America United States of America
    Country flag
    The one on the server was set to "false". I now also changed the one on the clients.
    Funny, on mine the server was enabled and set to 6am, which is what I had in my Settings. Both clients are still set to 2am. I set false for all 3 of them.
    @HTPCSourcer you asked earlier about whether I was running user management. I initially tried to set it up with users but disabled it. The two users I was setting up still exist though. Should I delete them? I was leaving them there because I thought I might try again when I get more familiar with MP2.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Funny, on mine the server was enabled and set to 6am, which is what I had in my Settings.
    That's the correct behavior. The file in the server part is reflects the what you've defined in the settings (and vice-versa). The automatic refresh is deactivated on my system, hence the file is set to false while the time has always been 2am.

    I set false for all 3 of them.
    Did they wake up this night?

    The two users I was setting up still exist though. Should I delete them?
    No, the user management is unrelated.
     

    Gcarr

    MP Donator
  • Premium Supporter
  • August 17, 2014
    95
    21
    United States of America United States of America
    Country flag
    Did they wake up this night?
    .
    Yes, they both woke up at 2am. I don't have time to post logs this morning but I will if you need them after work today.
     

    HTPCSourcer

    MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    Germany Germany
    Country flag
    Yes, they both woke up at 2am.
    Thanks. So setting this to false on the client has unfortunately no effect. We will need to wait for @henso to take a look at the situation when he returns from vacation.
     

    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 2
    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 57
    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