A audio player extension for schemdule.
Project description
schemdule-extensions-audioplay
A audio player extension for Schemdule.
- Platform
- Python
- All extensions
Install
Install dependencies:
# Install dependencies on Linux (only)
sudo apt-get install -y python3-dev libasound2-dev
# Install ffmpeg
choco install ffmpeg # Windows
apt-get install -y ffmpeg # Linux
brew install ffmpeg # MacOS
Use pip:
pip install schemdule-extensions-audioplay
Or use pipx:
pipx inject schemdule schemdule-extensions-audioplay
# Upgrade
pipx upgrade schemdule --include-injected
Check if the extension installed:
schemdule ext
Usage
This extension provide a AudioPlayerPrompter
and add the following extension methods on PrompterBuilder
.
class PrompterBuilder:
def useAudioPlayer(self, final: bool = False)) -> "PrompterBuilder":
...
Use the extension in the schema script.
# schema.py
ext("audioplay")
prompter.useAudioPlayer()
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
Built Distribution
Close
Hashes for schemdule-extensions-audioplay-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1311e8e45fa2f8fe0d9646411d2d86ffa0725be5bdf59519e228f7362596d2a4 |
|
MD5 | 7dcbaae6f1fa0839a4e13a91cdc3a576 |
|
BLAKE2b-256 | 15d6b7b617388cb936373d90932ed599b0f30c7cacd15ffea8e85e4b6ed041ee |
Close
Hashes for schemdule_extensions_audioplay-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8f51b6ba7844b63db186e4b6a9a75e30b5374fb97bc1024e5b3277320b8402 |
|
MD5 | 1a7751709fe4dfebbc4f54b8b5caa0ed |
|
BLAKE2b-256 | ce41b33e14750dd5bee870a0f4acb2509ea20067cc901a4d732bb96e31cf4692 |