命令行工具,用于播放给定文件夹中的随机媒体
playrandom的Python项目详细描述
随机播放
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.
#安装
The fastest way to install playrandom is to use your systems tools:
pip install playrandom
##要求
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, …).
#入门
After installation run playrandom –help to get a first overview of command line options and usage.
#开发playrandom
Contributions are very welcome! Write issues for feature requests or directly file a pull-request with your contribution and/or contact me directly!
测试
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这将自动测试临时打包的版本。在
或者,您可以手动运行pytest 详细信息](https://docs.pytest.org/en/latest/usage.html)。在
##发布
The release workflow is mostly automated and is in the [release/](release/) folder.
- 项目
标签: