Skip to main content

schemdule-extensions-audioplay

Schemdule

Downloads

A audio player extension for Schemdule.

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 and PayloadBuilder.

class PrompterBuilder:
    def useAudioPlayer(self: PrompterBuilder, endSpace: Optional[timedelta] = None, final: bool = False) -> PrompterBuilder:
        """
        endSpace: Stop audio before next event, default 10 seconds. The empty space leads to the next event outdated.
        """
        ...

class PayloadBuilder:
    def useAudio(self, files: Iterable[str]) -> "PayloadBuilder":
        ...

Use the extension in the schema script.

# schema.py
ext("audioplay")

at(..., payloads().useAudio(["file1"]))

prompter.useAudioPlayer()

Metadata

Release files for schemdule-extensions-audioplay 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for schemdule-extensions-audioplay 0.1.0
File Size Uploaded Provenance
schemdule-extensions-audioplay-0.1.0.tar.gz 3.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for schemdule-extensions-audioplay 0.1.0
File Interpreter ABI Platform
schemdule_extensions_audioplay-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / schemdule-extensions-audioplay-0.1.0.tar.gz

Download URL schemdule-extensions-audioplay-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2f0483dae409edfe10e0755752c97dce4d873c1e313a142a6c9aefd307debffc
BLAKE2b-256 checksum
How to use checksums
f5a6dda0bfa09f953b3bbd2b7de3926e4c2d54d075eb42dc5cc39b24a8702c35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.14

Release files / schemdule_extensions_audioplay-0.1.0-py3-none-any.whl

Download URL schemdule_extensions_audioplay-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a356da5dc0768f4bfe4e5fef69caf8058f5a1b2b302168c24bc27ad21fd0c74b
BLAKE2b-256 checksum
How to use checksums
97a0fcbcf84c9cd4dcb883ca7b80eb2144079eae28a9179f81de363297ac71e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.6.14

Security for schemdule-extensions-audioplay 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page