Options (4)
-l, --list-allbooleanList all players
Example:
playerctl {{[-l|--list-all]}}-p, --playerbooleanSend a command to a specific player
Example:
playerctl {{[-p|--player]}} {{player_name}} {{play-pause|next|previous|...}}-a, --all-playersbooleanSend a command to all players
Example:
playerctl {{[-a|--all-players]}} {{play-pause|next|previous|...}}-f, --formatbooleanDisplay metadata about the current track
Example:
playerctl metadata {{[-f|--format]}} "{{Now playing: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"Examples (7)
Toggle play
playerctl play-pauseGo back to the previous track
playerctl previousList all players
playerctl [-l|--list-all]Send a command to a specific player
playerctl [-p|--player] player_name play-pause|next|previous|...Send a command to all players
playerctl [-a|--all-players] play-pause|next|previous|...Display metadata about the current track
playerctl metadata [-f|--format] "{{Now playing: \{\{artist\}\} - \{\{album\}\} - \{\{title\}\}}}"made by @shridhargupta | data from tldr-pages