is able to manage multiple media players (e.g. mpc, mpv, firefox tabs, ...)
provides subcommands for media player actions which operate on the currently selected player, such as pause, continue, seek forward/backward, previous/next
provides subcommands for media player actions which operate on all players, such as pause all
provides a subcommand for selecting a media player to be the current one
provides a subcommand for querying the current media player's state
an eww widget is implemented, which shows that a media player is playing, and displays additional information when interacted with
Selected media player's name or identifier must be kept track in a temp file for example.
Updating the eww widget's state might be tricky. For maximum responsiveness, we would have to rely on the media player itself notifying us. This can be done with mpd IIRC, but the spotify desktop app is probably incapable of this. In that case we must poll playerctl.
Selected media player's name or identifier must be kept track in a temp file for example.
Updating the eww widget's state might be tricky. For maximum responsiveness, we would have to rely on the media player itself notifying us. This can be done with mpd IIRC, but the spotify desktop app is probably incapable of this. In that case we must poll playerctl.
https://github.com/altdesktop/playerctl