[Approved] Fix for disabling the screen saver. (1 Viewer)

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,613
    4,014
    Lehmden
    Home Country
    Germany Germany
    Hi
    ATM I don't have Internet at home. DSL should be connected here September 26th but is delayed until October 7th so I can't download much. And I don't have recent source at home. A small binary I could download but not if I need to compile whole MP2....
    BTW this did not made it into a3
     

    mrj

    Portal Pro
    January 27, 2012
    252
    100
    Should work on alpha 3.
    I added one line
    settings.ScreenSaverEnabled = screenSaverEnabled;

    after the change
    function looks like this

    public void ConfigureScreenSaver(bool screenSaverEnabled, double screenSaverTimeoutMin)
    {
    AppSettings settings = ServiceRegistration.Get<ISettingsManager>().Load<AppSettings>();
    settings.ScreenSaverTimeoutMin = screenSaverTimeoutMin;
    settings.ScreenSaverEnabled = screenSaverEnabled;
    ServiceRegistration.Get<ISettingsManager>().Save(settings);
    _screenSaverTimeOut = TimeSpan.FromMinutes(screenSaverTimeoutMin);
    _isScreenSaverEnabled = screenSaverEnabled;
    }
    /mrj
     

    mrj

    Portal Pro
    January 27, 2012
    252
    100
    Hi
    To make everybody happy I have compiled the fix for alpha 3.
    Still works.
    Added the dll
    /mrj
     

    Attachments

    • SkinEngine.zip
      301.8 KB

    Users who are viewing this thread

    Similar threads

    Hello everyone. This isn't directly related to the issue discussed, but I noticed some people were looking for a recording splitter, and I'd personally recommend TSDoctor: Cypheros TS-Doctor Video Editor and Konverter It's commercial software but there is a trial option. It can do pretty much every thing you can imagine with TS files...
    Hello everyone. This isn't directly related to the issue discussed, but I noticed some people were looking for a recording...
    Hi, I've been using MP1 for many years but am new to the forum. When watching recorded TV shows with subtitles, normally they are...
    Replies
    40
    Views
    3K
    As noted in the title, I disabled the Fanart progress widget some time back, it's the one that shows on the home screen when you turn MP on. I've decided that I'd like to have it back now but I could not find where I disabled it. Anyone know where it would be? I had thought it was a feature in StreamedMP but no luck there either.
    As noted in the title, I disabled the Fanart progress widget some time back, it's the one that shows on the home screen when you...
    As noted in the title, I disabled the Fanart progress widget some time back, it's the one that shows on the home screen when you...
    Replies
    0
    Views
    282
    Yeah, I'm not seeing anything useful to help with the overscroll issue. Thanks! :cool:
    Yeah, I'm not seeing anything useful to help with the overscroll issue. Thanks! :cool:
    I'm looking at messing with the Old Eyes theme for DefaultWideHD. I'd like to create a new Layout in the skin editor, maybe called...
    Replies
    23
    Views
    2K
    MP1 MP2 EPG woes DE
    I had the same problem, I have got it working with EPG123 and batch files to rename move. Only issue is it didn't do time correction so I had to apply +1 in MP2, and when the clocks just changed back I had to then remove the +1. Not ideal and not as plug and play as MC2XML but got ti working before the wife noticed. As it is I had...
    I had the same problem, I have got it working with EPG123 and batch files to rename move. Only issue is it didn't do time...
    Does anyone know how to “fix” the MC2XML application, and hopefully permanently? Mine stopped working sometime after September 29...
    Replies
    19
    Views
    3K
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
    I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
    Replies
    7
    Views
    2K
    Top Bottom