LinuxCommandLibrary

audtool

Command-line interface for controlling the Audacious media player.

TLDR

Get current song

$ audtool current-song
copy
Play/Pause playback
$ audtool playback-playpause
copy
Skip to next track
$ audtool playlist-advance
copy
Get playback status
$ audtool playback-status
copy
Set volume
$ audtool set-volume [75]
copy

SYNOPSIS

audtool command [arguments]

DESCRIPTION

audtool is a command-line interface for controlling the Audacious media player. It allows remote control, playlist management, and status queries without opening the GUI.
The tool is useful for scripts, keybindings, and automation.

PARAMETERS

playback-play

Start playback
playback-pause
Pause playback
playback-playpause
Toggle play/pause
playback-stop
Stop playback
playback-status
Show playback status
playlist-advance
Next track
playlist-reverse
Previous track
current-song
Print current song info
current-song-filename
Print filename of current song
set-volume n
Set volume (0-100)
get-volume
Get current volume
playlist-length
Number of tracks in playlist
playlist-song n
Get song at position n

CAVEATS

Requires Audacious to be running. Commands fail if player is not active. Some features depend on Audacious version.

HISTORY

audtool was developed alongside Audacious to provide scriptable control, continuing the tradition of beep-media-player-control and xmmsctrl.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community