conky
conky copied to clipboard
MPRIS (music player API) support
Issue
Many music players support an API, that allows desktops like Plasma to use an unified music player control. I do not know what the API is called, but I think it uses dbus.
It would be nice, if conky could use the songtitle/artist/time/progress information in a similar way as it already support it for MPD. This would both allow supporting unknown music players like for example spotify and seamless switching between music players without changing the conky configuration.
Are you referring to mpris?
https://specifications.freedesktop.org/mpris-spec/latest/
MPRIS support would very useful I think
Someone wrote a script, but using a daemon looks like a too complicated approach.
There is also this set of scripts that get the artist/title info from DBUS. Haven't tested it yet. https://github.com/gvc14/NowPlaying
I think MPRIS is 'standard' enough that it can be part of conky itself, only I don't have enough DBUS experience (yet, but I can do c++) to write a patch.
Feature needed!
you could use:
${execi xx playerctl metadata --format '{{artist}}: {{lc(title)}} '\}
change xx for the seconds you want this to update
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity.