play audio in any available way
Project description
Play audio in any available way.
ffplay mpv vlc mpg123 cmus simpleaudio pyaudio playsound pydub auto
Installation
python -m pip install anyplayer
with any supported player:
python -m pip install anyplayer[dev]
Simple Example
from anyplayer import get_player
player = get_player('auto', './ba.mp3')
player.start()
player.wait()
Recommended Optional Dependencies
Only wav audio or no audio: Python module simpleaudio.
Multiple audio (& video) formats supported: command-line tool FFmpeg.
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
anyplayer-0.0.4.tar.gz
(7.3 kB
view details)
Built Distribution
anyplayer-0.0.4-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file anyplayer-0.0.4.tar.gz
.
File metadata
- Download URL: anyplayer-0.0.4.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 426e7d957e085c9ad5ebb0214a999bf2f99bde1659853ac3b9f8ca8ace0288de |
|
MD5 | 3d96f0aad0c1317a0edc77b4e6192b7e |
|
BLAKE2b-256 | 10c027c913cdbaaebc5ebbe44b1899bea6b016b465f7ae462c6f314895689cdc |
File details
Details for the file anyplayer-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: anyplayer-0.0.4-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed376c3f6fe4dc70a0b0142331c23561efbaa193b5e00249f611a0175a750b79 |
|
MD5 | f799e3943847aaaac8bf903da4ac4937 |
|
BLAKE2b-256 | f55f257bec02e31f64092be24c97230cead14064d33084ae3005d07419f73e73 |