-
-
Notifications
You must be signed in to change notification settings - Fork 709
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
WIP: MPRIS module #456
WIP: MPRIS module #456
Conversation
I will check out the pr later today. As for the logic of the mpd module you should probably ignore it as it's rather messy. |
bump any update on this? |
Hello @jereksel, |
@Lomadriel |
@Lomadriel another idea we had was to implement a playerctl module. It's interface is a lot simpler than implementing the whole of the MPRIS spec Ref: https://github.com/polybar/polybar/projects/1#card-10511466 |
@patrick96 Yeah, that's what I (and most other people I know) use right now. A custom module that runs a playerctl based script periodically. |
Hum okay, this might be a good idea but my goal was to add dbus into polybar to allow to use other bus interface like for example upower (to fix the battery problems). |
@Lomadriel I think you can agree with me that we should postpone this until we are done with some of the major refactoring. I am also wondering if it might not be a little overkill to add DBUS for only the backlight. |
Yeah that's what I was planning to do, I think it is better to wait (at least) until we split polybar in modules. |
This pull requests adds MPRIS module suggested here: #84 (comment).
Basic stuff (song name/artist, pausing, stopping works). I must find a way to generate .c and .h from .xml in CMake and logic must be also reviewed. I was also thinking about combining mpd and mpris modules, but there seems to be a lot of logic differences.
TODO: