widgets/now_playing_mpris: rewrite#84
widgets/now_playing_mpris: rewrite#84acrisci wants to merge 1 commit intoLokaltog:developfrom acrisci:feature/mpris-rewrite
Conversation
Improve render quirks and support configuration-free mpris widget suitable for use with multiple media players. The widget polls for mpris players. When it finds one, it subscribes to events and updates the player status appropriately. If no player name is configured, when the player exits, polling starts again for another player.
|
Sorry for the rewrite, but this was the easiest way for me to do it given the new things I wrote into the library to make this possible. I think the configuration-free aspect of this is important because without it, people don't have to know what dbus is. With configuration, people have to know what a dbus interface is. On that, I would like to see "mpris" taken out of the name, because nobody knows what that is. |
|
Looks great! I'm thinking we could possibly join this widget and I'm thinking that we could create a new subdirectory ( |
|
I think that makes sense. I think I am going to add a server class to playerctl so I can write wrappers for the other players. Depending on how that goes, it might be enough to just use the mpris wrappers and only have one widget for mpd, cmus, etc. |
Improve render quirks and support configuration-free mpris widget
suitable for use with multiple media players.
The widget polls for mpris players. When it finds one, it subscribes to
events and updates the player status appropriately.
If no player name is configured, when the player exits, polling starts
again for another player.