polymorphicshade / Tubular

A fork of NewPipe that implements SponsorBlock and ReturnYouTubeDislike.
GNU General Public License v3.0
1.11k stars 24 forks source link

"Start playing in the background" doesn't start playback automatically in certain cases #68

Open fabian-st opened 2 months ago

fabian-st commented 2 months ago

Checklist

Affected version

0.27.0

Steps to reproduce the bug

  1. Open the context menu by long-pressing a video and tap "Start playing in the background"
  2. While the audio is playing in the background, repeat this step on another video -> audio is enqueued but playback stops
  3. Repeat this step again -> audio playback starts immediately as expected

Expected behavior

Audio playback should start immediately after selecting "Start playing in the background"

Actual behavior

Audio playback only starts every second time "Start playing in the background" is selected if any track was already enqueued previously

Screenshots/Recordings

screen-20240506-001022_001

Logs

No response

Affected Android/Custom ROM version

Android 14 / Lineage OS 21-20240422-NIGHTLY-guacamole

Affected device model

OnePlus 7T Pro

Additional information

No response