This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A command line utility to control a running vlc player instance.

Project Description

Lets you control a running instance of vlc player, start a new instance, get track information, etc.

Supported platforms

  • python 2.7 / 3.4
  • Linux

Features

  • Controls vlc player over dbus.
  • Play, pause, shuffle, toggle, prev, next, stop commands.
  • Play all files in a directory (recursively added).
  • Add files / directories based on inclusion and exclusion patterns.
  • Change volume / fade volume.
  • Print current track info.
  • Quit vlc.
  • Quit based on return code of another command.
  • Can be used as a cron job.

Dependencies

  • vlc player, of course.

  • python-dbus or python3-dbus

    On Ubuntu: >apt-get install python-dbus or >apt-get install python3-dbus

Usage

  • Pause:

    vlc-ctrl pause
    
  • 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:

    vlc-ctrl info
    
  • For more commands, see:

    vlc-ctrl -h
    
Release History

Release History

This version
History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
vlc-ctrl-1.0.8.tar.gz (9.9 kB) Copy SHA256 Checksum SHA256 Source Sep 9, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting