abdallahmehiz / mpvKt

A media player for android, based on mpv-android and built with Jetpack Compose.
Apache License 2.0
413 stars 12 forks source link

Opening a new video while in PiP causes video opened to not load metadata #35

Closed CaidenBlock closed 2 weeks ago

CaidenBlock commented 2 weeks ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Open any video (using android content handler)
  2. Switch to PiP
  3. Close PiP player by clicking on 'x' (Tested, even just opening a new video while in PiP will cause)
  4. Open a different video

Expected behavior

New video loads with correct title and resume point.

Actual behavior

Watch progress and title are retained from first video.

Screenshots

Here's a screen recording demonstrating the issue.

https://github.com/user-attachments/assets/a818b661-e7a9-4088-8cc3-19a361de247f

Additional info (please complete the following information):

CaidenBlock commented 2 weeks ago

Just wanted to say I really like this app, supports resume, nice UI, good gestures, proper subtitle support from mpv, and it's open source and not super bloated unlike MX player.

Video players that "just work" are hard to find, so I was really happy to find this.