Closed jojommeke closed 1 week ago
same here on manjaro with spotube flatpak 3.7.1. It seems that MPRIS is broken or not working.
So media keys do not work, neither do external devices (bluetooth, usb , headsets etc...)
For example I often use playerctl to see what devices are up, but with spotube 3.7.1 I get this :
> playerctl -l
No players found
Same issue in Nobara (based on Fedora).
Thanks for a great app!
Seems to work if you change the session bus
org.mpris.MediaPlayer2.Spotube.*
to org.mpris.MediaPlayer2.com.krtirtho.Spotube.*
(use flatseal or something similar)
Thanks for the workaround! It works! Hope this can be implemented in the app :)
@diegopvlk when you're free can you update this permission in the flathub/com.github.KRTirtho.Spotube repo please?
Fixed the same issue on arch (kde), thanks @diegopvlk for workaround!
@diegopvlk when you're free can you update this permission in the flathub/com.github.KRTirtho.Spotube repo please?
Is this a good resolution? According to the MPRIS spec and D-BUS spec names should only contain ASCII characters '[A-Z][a-z][0-9]_-' and in case of MPRIS dots should only be used for handling multiple instances (which Spotube doesn't do). The examples shown don't use reverse dns names either because of that so I think this could be a spec violation and/or undefined behavior.
@C-512L that makes sense. I realized that the underlying plugin didn't require a separate specification for Linux instead it continued using android's notification channel name. Changing that com.krtirtho.Spotube
to just spotube
fixed the issue.
Since v3.8.0 the session bus is now set to org.mpris.MediaPlayer2.Spotube.*
, but the media controls still don't work
Yeah, doesn't work for me either, unfortunately
the flatpak version of 3.8.0 isn't out yet(or "discover" is telling me lies)? so i we can't judge yet if it works or can we?
I have spotube 3.8.0 installed. To get mpris working again, I opened flatseal and clicked on the "reset" button to revert to default settings (because I had manually changed the mpris bus to get it working with the previous workaround). It was still not working, but if you look closely in flatseal the Session BUS permission was unticked so I gave the permission and now it is working.
in flatseal the Session BUS permission was unticked so I gave the permission and now it is working
Same here. Thank you very much 😁👍️
I can't change the ticks under Session BUS in Flatseal. It looks like this:
I tried clicking Reset, but media keys still don't work
Since v3.8.0 the session bus is now set to
org.mpris.MediaPlayer2.Spotube.*
, but the media controls still don't work
I tested and according to https://github.com/KRTirtho/spotube/commit/a6e13ffc08691b264bd9fd2e60b53b8762e6f601 the session bus name now is org.mpris.MediaPlayer2.spotube.*
, not org.mpris.MediaPlayer2.Spotube.*
. The flatpak manifest and the code declare different session bus names. Personally I would go with the updating the manifest approach but @KRTirtho probably knows better than me on what side should this be fixed.
@forteller Hmm... I completely missed what @C-512L just pointed out and ticked the general right for the session D-Bus ("socket=session-bus"). But just changing "Spotube" to "spotube" in "Owns" does the trick. :+1:
I would like to confirm that ticking D-Bus session bus
in flatseal fixes the issue.
Thanks, @matyas-zavora, yes that worked for me too!
Hopefully this should mean that it's fairly easy to fix.
Is there an existing issue for this?
Current Behavior
if i open spotube 3.7.1 the icon tray works now, big thanks btw but archlinux + kde (steamos) doesn't detect the media, i can't use my play/pause or skip key, just my system doesn't detect it as media, i am using flatpak version
Expected Behavior
media shows up in tray, is detected by the system and media control keys work
Steps to reproduce
Operating System
Spotube version
3.7.1
Installation source
Flathub (Flatpak)
Additional information
No response
Self grab