Sunamu icon indicating copy to clipboard operation
Sunamu copied to clipboard

not showing lyrics with `youtube-music`

Open mokurin000 opened this issue 2 years ago • 6 comments

I am on 2.1.0 (official .pacman build) denyList in my configuration is empty

dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames | grep org.mpris.MediaPlayer2
      string "org.mpris.MediaPlayer2.chromium.instance768356"

mokurin000 avatar Oct 14 '23 05:10 mokurin000

Please post more context. "chromium.instanceXXXX" doesn't tell us as much! Do any other MPRIS controllers see the playing instance. Does it have correct play/pause and seekbar reports?

NyaomiDEV avatar Nov 15 '23 00:11 NyaomiDEV

Please post more context. "chromium.instanceXXXX" doesn't tell us as much! Do any other MPRIS controllers see the playing instance. Does it have correct play/pause and seekbar reports?

oh. sorry for my lack of information I will try enable it's shortcut plugin, which provides their own MPRIS service Right now, without the plugin, it behaves as any other chromium-based app/browser without a custom mpris service I'd know it gives Playing status correctly, but I have no idea if chromium will send seek signal. However, its position call works well, or my waylyrics will not work with chromium instances

mokurin000 avatar Nov 15 '23 01:11 mokurin000

I will try to bisect this myself when I have some time. Are you using plain Chromium or something else?

NyaomiDEV avatar Nov 15 '23 20:11 NyaomiDEV

I will try to bisect this myself when I have some time. Are you using plain Chromium or something else?

I used youtube-music and it's behaviour should be the same with plain Chromium, unless it's Shortcut plugin was enabled

mokurin000 avatar Nov 16 '23 03:11 mokurin000

https://github.com/th-ch/youtube-music/blob/master/src/plugins/shortcuts/mpris.ts I will try to enable shortcut and test if Sunamu will works fine

mokurin000 avatar Nov 16 '23 03:11 mokurin000