Skip to main content

command line tool to play random media from given folders

Project description

# playrandom

This tool is a command-line interface to mplayer that uses directories as playlists. Media files are played in random order until all files are played, then successively the least recent files are released to enable a loop in random order.

# Install

The fastest way to install playrandom is to use your systems tools:

pip install playrandom

## Requirements

All python required packages are listed in environment.yaml. In case you installed playrandom via a package management system like pip, anaconda, miniconda, … all dependencies should already be installed automatically. The only “external” dependency is [mplayer](http://www.mplayerhq.hu), which is usually installable by your systems package manager (apt, yum, …).

# Getting Started

After installation run playrandom –help to get a first overview of command line options and usage.

# Developing playrandom

Contributions are very welcome! Write issues for feature requests or directly file a pull-request with your contribution and/or contact me directly!

## Tests

This project uses the [PyTest framework](https://docs.pytest.org/en/latest/) with tests defined in the [tests/](tests/) sudirectory. It is added into the setuptools config, so that it can be run with

python setup.py test

This automatically tests a temporarily packaged version.

Alternatively you can run pytest manually with all it [glory details](https://docs.pytest.org/en/latest/usage.html).

## Releases

The release workflow is mostly automated and is in the [release/](release/) folder.

Project details


Download files

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

Source Distribution

playrandom-0.0.2.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file playrandom-0.0.2.tar.gz.

File metadata

  • Download URL: playrandom-0.0.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for playrandom-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b02a38f426db94e254883782291a7c46b32051f45dfc00496b33a9f83b7a9662
MD5 e7182fcbe84739df7280dc71b0b3523e
BLAKE2b-256 b60cfda6dd65eabd75a311e73ea305bb6560c34f60c92951c2968a57c977e077

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page