Skip to main content

vlc-ctrl

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

Download

Metadata

Release files for vlc-ctrl 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vlc-ctrl 1.0.8
File Size Uploaded Provenance Actions
vlc-ctrl-1.0.8.tar.gz 9.9 kB Without provenance Details for vlc-ctrl-1.0.8.tar.gz

Release files / vlc-ctrl-1.0.8.tar.gz

Download URL vlc-ctrl-1.0.8.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4ed47e2f0fa057bfe86a17d921852f386201c7133740bf750ce1ca8170a552f8
BLAKE2b-256 checksum
How to use checksums
7a586ff09ed0f0e92bdd9dbf9154c0efd89a88c75cc2493833c7d4dbb81ed490
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for vlc-ctrl 1.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page