meetube icon indicating copy to clipboard operation
meetube copied to clipboard

[Bug]: Background playback stops after some time when the screen is locked

Open Ishaanj2007 opened this issue 1 month ago • 1 comments

Checklist

MeeTube version

3.2.1

Phone or tablet, and Android version

pixel 9a

Signed in to a Google account?

Yes

Network when it happened

Both

What happened

Description

When listening to music or podcasts/vid using MeeTube's music-only feature, playback unexpectedly stops after approximately 5–7 minutes when the phone screen is locked.

Both background running and the background service are enabled, but the issue still occurs. I'm unsure whether this is caused by my device/ROM configuration or a bug within MeeTube itself.

Steps to Reproduce

  1. Open MeeTube and start playing music or a podcast using the music-only feature.
  2. Lock the phone screen.
  3. Wait approximately 5–7 minutes.
  4. Observe that playback stops unexpectedly.

Expected Behavior

Audio should continue playing in the background while the screen is locked, until the user pauses playback or the content ends.

Actual Behavior

Playback stops after approximately 5–7 minutes with the screen locked, despite background running and the background service being enabled.

Environment

  • Device: Google Pixel 9a
  • Android: Android 17
  • Feature: Music-only / background playback

Investigation Request

I'm not sure whether this issue originates from my device, crDroid's background or battery management, Android's power restrictions, or MeeTube's playback implementation.

Could you please investigate why background playback stops after the screen remains locked for several minutes? In particular, please check whether the playback service is being terminated or interrupted, whether audio playback correctly survives device idle/Doze mode, and whether any background execution or audio focus handling issues could be responsible.

If possible, please help determine whether this is an app-side bug or an environment-specific issue, and suggest any additional logs or testing needed to identify the root cause.

meetube-diagnostics-20261029-195203-823.txt

Video link

No response

Diagnostic log

meetube-diagnostics-20261029-195203-823.txt

Anything else

No response

Ishaanj2007 avatar Oct 29 '26 14:10 Ishaanj2007

Thanks for the detailed report. The attached log starts 11 s after the app was reopened, so it doesn't cover the stop itself. It does show Application was force-stopped, which points to the previous process being force-stopped rather than crashing or pausing. On crDroid that usually comes from its battery or app-killer features, or from swiping the app out of recents.

Could you try these:

Settings → Apps → MeeTube → App battery usage → Unrestricted. Check crDroid's battery settings for anything that kills background apps when the screen locks, and exempt MeeTube. Lock the screen and wait. If playback stops, don't swipe MeeTube away from recents; open it and export the diagnostic log straight away. The next version adds the reason Android gives for the last process deaths to the diagnostic log, so one more log will tell us exactly what is stopping it.

yashoncode avatar Oct 31 '26 08:10 yashoncode