Skip to content

Video playback breaks after screen is locked for a prolonged time #8051

@aemogie

Description

@aemogie

Steps to reproduce

This is a bit hard to reproduce, but I believe it is to do with Android Doze or other sleep mechanism.

  1. Play a video
  2. Halfway into the video, lock the screen
  3. Wait a while (I haven't measured, but to get the video for raising this issue I waited ~5mins)
  4. Unlock and try to play video again
  5. Video doesn't play
  6. Try to play a different video (with the miniplayer active)
  7. Video doesn't change
  8. Close the video and play it again
  9. Playback works again

Expected behavior

Video resumes where it stopped, and when switching to a different video, the existing video changes to the other one.

Actual behavior

Please refer to the below recording for the behaviour (recorded after the unlocking later)

Note: The section where the mini-player expands and collapses is me trying to play other videos on the channel that was opened, instead of playing they expand the miniplayer into the previous (broken) video.

Broken.LibreTube.Playback.mp4

LibreTube version

0.29.1

Android version

Android 16

Other details

This occurs frequently enough that it gets annoying, as I often just lock the screen whenever something comes up, and then come back to this bug often.

But as the workaround is just to close the player and reopen it (and video progress is often preserved so can just open from Watch History), it's not that big of an issue.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions