playerctl
Control media players via MPRIS. tldr-pages
On Linux
Linux
Toggle play
playerctl play-pauseIdentifySkip to the next track
playerctl nextIdentifyGo back to the previous track
playerctl previousIdentifyList all players
playerctl --list-allIdentifySend a command to a specific player
playerctl --player player_name play-pauseIdentifySend a command to all players
playerctl --all-players play-pauseIdentifyDisplay metadata about the current track
playerctl metadata --format "Now playing: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}"Identify