Skip to content

Background/pop-up/full-screen players open at the same time #3737

@theFireProject

Description

@theFireProject

Version

0.19.5

Steps to reproduce the bug

  1. Go to a video
  2. Start background playback
    tap 'Background'
  3. Start popup player
    tap 'Popup'
  4. Start in-app full screen player
    tap play button on the video thumbnail

Expected behavior

If a video is started in a different playback mode (background/popup/full-screen) while NewPipe is already playing a video, the first playback mode should be fully stopped, not only paused.
There should only be one player or playback mode open at a time.

Examples

  • There shouldn't be a paused pop-up player over the full-screen player playing a video.
  • There shouldn't be a paused background player (in the form of a second NewPipe notification) while a video is playing in pop-up mode.
  • When the playback method is changed, the notification of the first playback mode (background/popup) should be removed.

Actual behaviour

If done in the right order, it's possible to have two NewPipe playback notifications active, a pop-up player and the full-screen player at the same time.

Explanation
This behaviour doesn't make any sense because it's only possible to play one mode at a time. I don't need a paused pop-up player in front of my full- screen player if I'm trying to watch in full-screen mode. Also it is disturbing to have two playback notifications at the same time: A paused background player and a playing pop-up player. It only leads to mistakes because of tapping the wrong notification.

Screenshots

Video player

Screenshot_20200604-055625_NewPipe
   pop-up player and full-screen player
   two NewPipe notifications on the notification bar

Notification center

20200604_062132
   duplicate NewPipe playback notification

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions