A command line utility to control a running vlc player instance.
Lets you control a running instance of vlc player, start a new instance, get track information, etc.
vlc player, of course.
python-dbus or python3-dbus
On Ubuntu: >apt-get install python-dbus or >apt-get install python3-dbus
Play a directory:
vlc-ctrl play -p /home/user/music
Increase volume 10%:
vlc-ctrl volume +10% vlc-ctrl volume +0.1
Quit when return code of “command” is 0, retrying the command at most 5 times at 30s intervals and fade out in 10s:
vlc-ctrl quit -c command -r 5,30 -f 10
Get info on currently playing track:
For more commands, see: