playerctl

playerctl is a useful Linux command line tool which can be used to control Music players.

# Command the first instance of VLC to play
playerctl --player=vlc play

# Command all players to stop
playerctl --all-players stop

Last updated