Skip to main content

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 sync from the repo root. The on-PyPI publication path is the same as for any third-party huxley-skill-* package — see docs/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 next play_audiobook resumes 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

  • ffmpeg and ffprobe available on the host (brew install ffmpeg on 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)

Source distribution for huxley-skill-audiobooks 0.1.0
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)

Table of built distributions (wheels) for huxley-skill-audiobooks 0.1.0
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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