TeamNewPipe / NewPipe

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

press media button 3 time go to next video instead of previous video #11513

Open error-reporting opened 3 weeks ago

error-reporting commented 3 weeks ago

Checklist

Affected version

0.27.2

Steps to reproduce the bug

  1. go to any video and press play
  2. then try pressing headphone media button 3 time

Expected behavior

go back to previous video

Actual behavior

it goes to 1 or more next video depending on how many time you attempt to press headphone button 3 time

Screenshots/Screen recordings

https://github.com/user-attachments/assets/de5e6d38-c168-4015-b906-18849f3154fe

Logs

No response

Affected Android/Custom ROM version

Android 10 / coloros 7.2

Affected device model

oppo a15s (cph2179)

Additional information

No response

opusforlife2 commented 5 days ago

@error-reporting ?

error-reporting commented 5 days ago

l'm back now

opusforlife2 commented 5 days ago

Your video is quite chaotic. Can you show just one instance of the bug?

Also, other players work fine?

error-reporting commented 5 days ago

how one instance can show a bug which you could only see when you press the headphone media button three time

error-reporting commented 5 days ago

the video looks messy because of that bug which pressing headphone media three time for now do the same as pressing headphone media button two time and focus on between 0:07 to 0:13 second in the video

opusforlife2 commented 5 days ago

Nothing is happening in that time period. The video remains the same.

error-reporting commented 5 days ago

it's actually from 0:20 second onward

opusforlife2 commented 5 days ago

Alright I see it now. Lol, how did you get confused about your own video? xD

Also, other players work fine?

What about this part?

error-reporting commented 5 days ago

does the video player for your question have to be open-source

opusforlife2 commented 5 days ago

Not at all. And testing multiple players would be better.

error-reporting commented 5 days ago

vlc : headphone media button work's in forward and pause/play only next player : headphone media button work's in pause/play only mpv: headphone media button work's in pause/play only km player : headphone media button work's in forward and pause/play only mx player : headphone media button work's in pause/play and prev/next video

opusforlife2 commented 5 days ago

So only MX accepts the 'previous video' command?

error-reporting commented 4 days ago

yeah it seems to be so and all open source media player i tried seems to have problem with pressing two/three time headphone button Commands