Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4302

Powerscheduler registers for PBT_POWERSETTINGCHANGE event

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.6.0
    • 1.5.0, 1.5.100
    • Powerscheduler plugin
    • None

    Description

      <p>The PBT_POWERSETTINGCHANGE event (e.g. indicating "enter away mode") is sent twice, since both the MP core and PowerScheduler register for it. This is an unlucky cooincidence of a rework in MediaPortal.Application\MediaPortal.cs (which is registering the event since 1.5 pre-release) and the integration of PowerScheduler (which is registering the event since its beginnings because it was not handled by MP so far...). One effect of this is that PowerScheduler tries to stop the player twice, which results in exceptions.</p><p>The fix removes the registering for the PBT_POWERSETTINGCHANGE event from the PowerScheduler code, since this is done by MediaPortal.Application\MediaPortal.cs.</p>

      Attachments

        Activity

          People

            michael_t michael_t (Inactive)
            michael_t michael_t (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: