[fixed] - [MP2-811] Forced client wake-up at 2:00

Discussion in 'Submit: Bug Reports' started by Gcarr, May 4, 2019.

  1. Gcarr
    • Premium Supporter

    Gcarr MP Donator

    Joined:
    August 17, 2014
    Messages:
    67
    Likes Received:
    8
    Gender:
    Male
    Ratings:
    +16 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    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.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,581
    Likes Received:
    1,110
    Gender:
    Male
    Ratings:
    +2,384 / 21
    Home Country:
    Germany Germany
    Show System Specs
    That's a very interesting finding as I have been struggling with the same phenomenon and was not able to identify the cause.

    @henso, can you comment about the ImporterWorkingSettings? We may have a bug here.
     
  4. henso
    • Team MediaPortal

    henso Development Group

    Joined:
    February 16, 2012
    Messages:
    1,904
    Likes Received:
    451
    Gender:
    Male
    Ratings:
    +688 / 0
    Home Country:
    Denmark Denmark
    I’m not home until next weekend. I can take look when I’m home again.
     
  5. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,581
    Likes Received:
    1,110
    Gender:
    Male
    Ratings:
    +2,384 / 21
    Home Country:
    Germany Germany
    Show System Specs
    @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.
     
    • Thank You! Thank You! x 1
  6. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,992
    Likes Received:
    4,744
    Ratings:
    +6,788 / 11
    Home Country:
    Germany Germany
    Show System Specs
    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>
     
  7. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,581
    Likes Received:
    1,110
    Gender:
    Male
    Ratings:
    +2,384 / 21
    Home Country:
    Germany Germany
    Show System Specs
    Yes and no. The file is recreated with the standard settings but in the Client settings the automatic refresh continues to display as "No".

    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?
     
  8. Gcarr
    • Premium Supporter

    Gcarr MP Donator

    Joined:
    August 17, 2014
    Messages:
    67
    Likes Received:
    8
    Gender:
    Male
    Ratings:
    +16 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    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.
     
  9. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,581
    Likes Received:
    1,110
    Gender:
    Male
    Ratings:
    +2,384 / 21
    Home Country:
    Germany Germany
    Show System Specs
    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.

    Did they wake up this night?

    No, the user management is unrelated.
     
  10. Gcarr
    • Premium Supporter

    Gcarr MP Donator

    Joined:
    August 17, 2014
    Messages:
    67
    Likes Received:
    8
    Gender:
    Male
    Ratings:
    +16 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    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.
     
  11. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,581
    Likes Received:
    1,110
    Gender:
    Male
    Ratings:
    +2,384 / 21
    Home Country:
    Germany Germany
    Show System Specs
    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.
     
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!