play audio in any available way
Project description
Play audio in any available way.
ffplay mpv vlc mpg123 cmus simpleaudio pyaudio playsound 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.5.tar.gz
(7.1 kB
view details)
Built Distribution
anyplayer-0.0.5-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file anyplayer-0.0.5.tar.gz
.
File metadata
- Download URL: anyplayer-0.0.5.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 770fdf9ba6df0e71e4921446e41241d9d8b66036f5b2092cfbd551768bf3d957 |
|
MD5 | cc0dec8e5515b3c88ef20cef15f119e1 |
|
BLAKE2b-256 | b6a5dbc68217b460595f5a17111b181ed50e4964413fd10cd4106b1c3aeeca0c |
File details
Details for the file anyplayer-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: anyplayer-0.0.5-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78f08c05c8ff8cb2728964ca263068135ce43c6c82ff36457716a28d48f865d2 |
|
MD5 | ae3da7cabfff3f5a982c1d95dbbea694 |
|
BLAKE2b-256 | bfe9674d79748115c062b92ea6c57e75ccbad037b792ef71a586843b349af2e2 |