tiliado / nuvolaplayer

Nuvola Player - Tight integration of web-based media streaming services with your desktop
https://nuvola.tiliado.eu/
BSD 2-Clause "Simplified" License
334 stars 27 forks source link

KDE Media Keys not working #582

Closed blauch closed 4 years ago

blauch commented 4 years ago

My system: Manjaro Linux (18.1.5) KDE 5.66.0 Plasmashell 5.17.5 kernel 5.4.15-2 Flatpak 1.6.0.

Previously I was able to control Nuvola media players (e.g. Soundcloud or Amazon Music) with the media keys in KDE. The app would be visible in the media player widget. I believe this functionality was broken with some recent update. At the time when I was able to use the media keys I saw the app in the media player widget - since it is not there anymore I am also unable to use XF86AudioPlay, XF86AudioPause and XF86AudioStop. Volume controls are still working. I can control other players like VLC without problems.

jiri-janousek commented 4 years ago

Hello @blauch. Do you have features Media Player DBus Interface and Multimedia Keys toggled on in preferences?

blauch commented 4 years ago

I have re-installed the apps but still no luck. Thanks for the hint with the DBus interface. Now the app shows up in the media player widget in KDE. But I am still not able to use the media buttons to play / pause / stop / skip

jiri-janousek commented 4 years ago

You still haven't replied whether you have Multimedia Keys toggled on in Nuvola preferences.

blauch commented 4 years ago

Yes, I have both enabled but it's still not working.

Jiří Janoušek notifications@github.com schrieb am Mi., 5. Feb. 2020, 12:04:

You still haven't replied whether you have Multimedia Keys toggled on in Nuvola preferences.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tiliado/nuvolaruntime/issues/582?email_source=notifications&email_token=AEOJBQGMTCKK64J7UWGNLEDRBKMMZA5CNFSM4KPBXCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK3AXRQ#issuecomment-582355910, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOJBQEZUTFETHFIOTAPVT3RBKMMZANCNFSM4KPBXCYQ .

jiri-janousek commented 4 years ago

In bug triaging, it is harmful to make any assumptions. That's why I needed to get explicit confirmation from you.

Could get debugging output? Then save it as a text file (*.txt) and attach it to the bug report.

blauch commented 4 years ago

I have opened SoundCloud in debug mode and hit the play button a few times. Please see attached debug output: debug.txt

I also noticed some warnings in the system logs when hitting the play button

Feb 05 15:05:05 christoph-xps eu.tiliado.Nuvola[1018]: Master: [WARNING Δ01s210706us Nuvola] XKeyGrabber.vala:162: Unknown keybinding AudioPlay
Feb 05 15:05:08 christoph-xps eu.tiliado.Nuvola[1018]: Master: [WARNING Δ03s110016us Nuvola] XKeyGrabber.vala:162: Unknown keybinding AudioPlay
Feb 05 15:05:09 christoph-xps eu.tiliado.Nuvola[1018]: Master: [WARNING Δ538877us Nuvola] XKeyGrabber.vala:162: Unknown keybinding AudioPlay
Feb 05 15:05:10 christoph-xps eu.tiliado.Nuvola[1018]: Master: [WARNING Δ01s180981us Nuvola] XKeyGrabber.vala:162: Unknown keybinding AudioPlay
Feb 05 15:05:11 christoph-xps eu.tiliado.Nuvola[1018]: Master: [WARNING Δ459005us Nuvola] XKeyGrabber.vala:162: Unknown keybinding AudioPlay
Feb 05 15:05:21 christoph-xps eu.tiliado.Nuvola[1018]: Master: [WARNING Δ10s871347us Nuvola] XKeyGrabber.vala:162: Unknown keybinding AudioPlay
Feb 05 15:05:23 christoph-xps eu.tiliado.Nuvola[1018]: Master: [WARNING Δ01s728833us Nuvola] XKeyGrabber.vala:162: Unknown keybinding AudioPlay
jiri-janousek commented 4 years ago

That's from Nuvola service. Could you provide the full log? It must be launched before SoundCloud.

flatpak run --command=nuvola eu.tiliado.Nuvola --debug
blauch commented 4 years ago

My bad! Here the correct debug output

jiri-janousek commented 4 years ago

Could you test with the latest Nuvola (4.16.30)?

blauch commented 4 years ago

the update for the latest Nuvola (4.16.30) came through and the problem is solved!

Many Thanks!