Uploaded image for project: 'MediaPortal 2'
  1. MediaPortal 2
  2. MP2-900

Play/Pause OSD button restarts playback from beginning if pressed whilst seeking

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.4.1
    • Skin - general
    • None

    Description

      <p>Most skins currently use the <a href="https://github.com/MediaPortal/MediaPortal-2/blob/af8ddf459565d9534004284ce50d84a1bf2282a6/MediaPortal/Source/UI/SkinEngine/SpecialElements/Controls/PlayerControl.cs#L1682">PlayerControl.TogglePause method</a>&nbsp;to implement a play/pause toggle button in the player OSD, however this method only&nbsp;checks whether the player is either paused or playing, and if neither, e.g. seeking, it restarts playback from the beginning. The expected behaviour for the OSD button is to resume playback at the normal rate when pressed whilst seeking.</p>

      Attachments

        Activity

          People

            brownard Brownard
            brownard Brownard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: