Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: MPRIS may give incorrect Position #1726

Closed
3 of 5 tasks
mokurin000 opened this issue Feb 12, 2024 · 1 comment
Closed
3 of 5 tasks

[Bug]: MPRIS may give incorrect Position #1726

mokurin000 opened this issue Feb 12, 2024 · 1 comment
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version

Comments

@mokurin000
Copy link

mokurin000 commented Feb 12, 2024

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.2.2

Checklists

  • I use the portable version of the YouTube Music Application.
  • I can reproduce this issue in the official YTM web version.

What operating system are you using?

Other Linux

Operating System Version

Arch Linux x86_64

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

  1. play https://music.youtube.com/watch?v=0uhNOfBN0KA&si=8Ib5KEfNyrBSCFYq
  2. run playctl position numerous time

Expected Behavior

~/Repos/lyric-offset main ?1                                                        00:00:30
> playerctl position
45.000004
~/Repos/lyric-offset main ?1                                                        00:00:31
> playerctl position
46.xx

Actual Behavior

~/Repos/lyric-offset main ?1                                                        00:00:30
> playerctl position
45.000004
~/Repos/lyric-offset main ?1                                                        00:00:31
> playerctl position
45.000008

Enabled plugins

[YTMusic] Plugin in-app-menu::backend executed at 10.83ms
[YTMusic] Plugin shortcuts::backend executed at 12.13ms
[YTMusic] Plugin precise-volume::backend executed at 11.99ms
[YTMusic] Plugin picture-in-picture::backend executed at 11.90ms
[YTMusic] Plugin lyrics-genius::backend executed at 11.82ms
[YTMusic] Plugin adblocker::backend executed at 11.54ms
[YTMusic] Plugin "shortcuts::menu" loaded
[YTMusic] Plugin "precise-volume::menu" loaded
[YTMusic] Plugin "picture-in-picture::menu" loaded
[YTMusic] Plugin "lyrics-genius::menu" loaded
[YTMusic] Plugin "in-app-menu::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded
[YTMusic] Plugin "shortcuts::menu" loaded
[YTMusic] Plugin "precise-volume::menu" loaded
[YTMusic] Plugin "picture-in-picture::menu" loaded
[YTMusic] Plugin "lyrics-genius::menu" loaded
[YTMusic] Plugin "in-app-menu::menu" loaded
[YTMusic] Plugin "adblocker::menu" loaded

Additional Information

Found this when play with my external lyric OSD app, and lyric jitters backwards repeatedly, so I checked playerctl position

@JellyBrick JellyBrick added the bug Something isn't working label Feb 12, 2024
@JarneDel
Copy link

I was able to reproduce this issue

#!/env/bin/fish

# loop 1000 times
for i in (seq 1 1000)
    echo (playerctl position)
    sleep 0.001
end
1009.028051
1009.028044
1009.028043
1009.028045
1009.028051
1009.028042
1009.028044
1009.028045

While looking for a different but i came across this issue. For me the position just keeps adding up untill i skip a song, so sometimes position would be 40 mins big etc. Might create seperate issue for that

@JellyBrick JellyBrick changed the title MPRIS may give incorrect Position [Bug]: MPRIS may give incorrect Position Feb 17, 2024
@JellyBrick JellyBrick added the fix-available A fix to the issue is available in a new version label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version
Projects
None yet
Development

No branches or pull requests

3 participants