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

[Feature-Request] MPRIS2 support #110

Open
evamvid opened this issue Jan 24, 2019 · 5 comments
Open

[Feature-Request] MPRIS2 support #110

evamvid opened this issue Jan 24, 2019 · 5 comments

Comments

@evamvid
Copy link

evamvid commented Jan 24, 2019

This software seems like a great alternative to the official spotify GUI, which is a little resource heavy. However, MPRIS2 support would be awesome so that it can be controlled with the media keys, and song metadata can be piped to the status bar. That way, it could be basically dropped into existing setups!

@fabiofalci
Copy link
Owner

Hi @elquimista
Could elaborate a bit more? I don't know what MPRIS2 is.

@elquimista
Copy link
Contributor

@fabiofalci I don't know either.
cc @evamvid

@evamvid
Copy link
Author

evamvid commented Jan 31, 2019

@fabiofalci @elquimista MPRIS2 is basically a protocol that lets media player applications be controlled over dbus. So you can do things like assigning media keys or shortcuts that can be used to control the application from anywhere on the system. For example, I can be in my web browser, and play, plause, fast forward, or rewind my media player that's running in the background by using the media keys on my laptop/keyboard, because it goes through dbus -- I don't have to have the app in focus.

A practical example -- I have one keybinding in my WM config, which can send the play/pause command to the spotify client, vlc, or mpd, depending on which one I'm using at the moment, because they all have MPRIS2 compatibility.

@evamvid
Copy link
Author

evamvid commented Feb 28, 2019

@fabiofalci @elquimista maybe a better way to put is that instead of sonsify having to run its own server for interproccess communications, mpris does the same thing over dbus

@ruifm
Copy link

ruifm commented May 27, 2019

+1
I find it cumbersome to define different hotkeys for sconsify. With MPRIS support, I can use the same hotkeys for all media players.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants