huxley-skill-audiobooks
Local-library audiobook playback for Huxley. Pause, resume, position-persist; multi-language; ffmpeg-backed.
Status: bundled with the Huxley repo as a workspace member. Installed automatically by
uv syncfrom the repo root. The on-PyPI publication path is the same as for any third-partyhuxley-skill-*package — seedocs/skills/installing.md.
What it does
search_audiobooks— "do you have anything by García Márquez" — fuzzy matches title + author against the local library scan.play_audiobook— "play One Hundred Years of Solitude" — resumes from the last persisted position, narrates a chime if the persona opted in.pause_audiobook— "pause the book" — saves position; the nextplay_audiobookresumes from there.
Streaming is via ffmpeg: the framework's turn coordinator receives an AudioStream side effect from the skill's tool result and pipes the PCM16 frames out through the WebSocket as the model talks (and after it finishes).
Configure
skills:
audiobooks:
library_path: "audiobooks/" # resolved against ctx.persona_data_dir
ffmpeg: "ffmpeg" # PATH lookup; override for non-standard installs
ffprobe: "ffprobe" # ditto; only used at library scan time
sounds_path: "sounds" # for the start-of-playback chime
sounds_enabled: true
i18n: # per-language tool descriptions
es:
search_desc: "Busca un audiolibro en la biblioteca local..."
en:
search_desc: "Search the local audiobook library..."
Library directory layout:
<library_path>/
├── Gabriel García Márquez/
│ ├── Cien años de soledad.m4b
│ └── El coronel no tiene quien le escriba.m4b
└── Jorge Isaacs/
└── María.m4b
config_schema = None — i18n maps + filesystem paths don't fit JSON Schema cleanly; v2's PWA falls back to "edit YAML directly."
Requirements
ffmpegandffprobeavailable on the host (brew install ffmpegon macOS; system package manager on Linux).- Audiobook files in M4B (preferred — preserves chapter metadata) or MP3.
Development
uv run --package huxley-skill-audiobooks pytest server/skills/audiobooks/tests
uv run ruff check server/skills/audiobooks
uv run mypy server/skills/audiobooks/src
License
MIT — see LICENSE.
Metadata
Release files for huxley-skill-audiobooks 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| huxley_skill_audiobooks-0.1.0.tar.gz | 30.6 kB | Without provenance | Details for huxley_skill_audiobooks-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| huxley_skill_audiobooks-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for huxley_skill_audiobooks-0.1.0-py3-none-any.whl |
Total release size: 55.4 kB
Release files / huxley_skill_audiobooks-0.1.0.tar.gz
| Download URL | huxley_skill_audiobooks-0.1.0.tar.gz |
|---|---|
| Size | 30.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7207656b7cc26497b6d5950fff5ae07ddc34d1e28f79e3b13673afaf24fa78ff
|
|
BLAKE2b-256 checksum How to use checksums |
88edf500687b0b2239fcaf77c1f4bbfb7023315bbaad06823332d4bffca35237
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|
Release files / huxley_skill_audiobooks-0.1.0-py3-none-any.whl
| Download URL | huxley_skill_audiobooks-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb3dba98fe46861c931db32f140c951cefb1f5fa3dd420bfffbbc72057ef29b4
|
|
BLAKE2b-256 checksum How to use checksums |
d166fa81f2528c14cb510843959d197afb616744eac841cc6af86e1a7054ceee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|
Security for huxley-skill-audiobooks 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.