TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.52k stars 3.06k forks source link

Video resumes automatically after pausing and turning device off #11373

Open SomexJames opened 3 months ago

SomexJames commented 3 months ago

Checklist

Affected version

0.27.2

Steps to reproduce the bug

  1. Go to Settings > Video and audio > Minimize on app switch > Select "Minimize to popup/background player"
  2. Play a video in the main video player (preferably at least 1080p and 60fps)
  3. Pause the video and turn off (lock) device within a few seconds

Expected behavior

Video stays paused, and when device is unlocked, the video is still in main video player that it was in when it was locked

Actual behavior

App switches to popup player and automatically resumes video

Screenshots/Screen recordings

https://github.com/user-attachments/assets/dc9bae62-fbb8-4379-a273-3b3c1c910e7c 2_Screenshot_after_Locking_Device

3_Screenshot_after_Unlocking_Device

Logs

No response

Affected Android/Custom ROM version

Android 12

Affected device model

Samsung Galaxy Note 10+

Additional information

opusforlife2 commented 3 months ago

Works fine here. This looks like a Samsung bug. Could you try on a non-Samsung device?

saupolo commented 3 months ago

I have the same thing happening to me. OnePlus A6003 android 11

SomexJames commented 3 months ago

Tried with Cricket Outlast 5G (Android 13) Still getting the same outcome

opusforlife2 commented 3 months ago

Does the Cricket phone have a custom OS layer like Samsung and Oneplus? Or is it stock Android?

SomexJames commented 2 months ago

No custom OS layer. Just stock Android

KnockoffFeline commented 2 months ago

I can confirm this with my Redmi Note 11 Pro 5G, which runs Android 13 with MIUI 14.0.6. This also occurs when "Minimize on app switch" is set to "Minimize to background player".