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.6.tar.gz
(7.2 kB
view details)
Built Distribution
anyplayer-0.0.6-py3-none-any.whl
(10.3 kB
view details)
File details
Details for the file anyplayer-0.0.6.tar.gz
.
File metadata
- Download URL: anyplayer-0.0.6.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d524617a0e9bc4f0ff77df8a44341d000e117b2401973eb8c4480f9bb301dcf |
|
MD5 | bf9fe77f0861bee2d0365bcf860802cd |
|
BLAKE2b-256 | d894efee1d6b869aaaa72974aadd7a64cf876f84a32c444c16a10445e61b306f |
File details
Details for the file anyplayer-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: anyplayer-0.0.6-py3-none-any.whl
- Upload date:
- Size: 10.3 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 | 1a2a5ffa631d1e33a43f4698d375f3727a214bb3826de89e14e4a82431e6a7d3 |
|
MD5 | 9fba31c8d757a2576717688db40804b1 |
|
BLAKE2b-256 | 85e0aa8f52aef02804997df9d9b3f306b7f9f4669669463a816fad8f9592fc1a |