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

Music Share Watcher plugin blocks S3/S4 resume for a long period

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.0 RC 3
    • 1.1.0 RC 2
    • Music
    • None
    • Operating System: Windows 7
      Platform: Intel

    Description

      When resuming form a standby / hibernate Music Share Plugin blocks the application message handling, causing whole system wakeup (MP only) to freeze during that period.

      Depending how slow the music share location is (networks can be slow, attached log has 20 second delay. MP and PC itself are able to resume from the S3 state in a bit over 1 second and the plugin delays the wakeup 20 seconds).

      private void WatchShares() <-- should be done in a worked thread.

      h4. Steps to Reproduce
      1) Enable Music Shares Wather plugin
      2) Wakeup PC from S3/S4.

      h4. Additional Information
      2010-04-17 07:59:10.522460 [Info.][MPMain(1)]: Windows has resumed from standby/hibernate mode: Re-enabling file system watcher
      2010-04-17 07:59:10.522460 [Info.][MPMain(1)]: Monitoring active for following shares:
      2010-04-17 07:59:10.522460 [Info.][MPMain(1)]: ---------------------------------------
      2010-04-17 07:59:29.434570 [Info.][MPMain(1)]: \\SLAVE\Media files\MP3
      2010-04-17 07:59:29.434570 [Info.][MPMain(1)]: ---------------------------------------

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: