Skip to main content

Self-hosted music toolkit: convert / audit / retag rips into a clean tagged library, browse + play via a Textual TUI (local / internet radio / Subsonic-client / AirPlay), and stream over Tailscale via a Subsonic-compatible HTTP server.

Project description

musickit

Python 3.13 CLI for converting audio rips into a clean tagged library, browsing and playing it via a Textual TUI, and streaming it over Tailscale via a Subsonic-compatible HTTP server.

CI PyPI version Python 3.13+ License: MIT Documentation

Install

The lowest-friction way is uvx — it downloads, caches, and runs the latest published musickit in one step. No install step required:

uvx musickit --help

For daily / persistent use (PATH-installed, no per-run network check):

uv tool install musickit
musickit --help

You'll also need ffmpeg and ffprobe on $PATH for the convert pipeline:

brew install ffmpeg            # macOS
sudo apt install ffmpeg        # Debian / Ubuntu

Quickstart

uvx musickit convert ./input ./output       # convert
uvx musickit library audit ./output         # audit
uvx musickit tui ./output                   # TUI
uvx musickit serve ./output                 # Subsonic server

Screenshots

The TUI: artist browser on the left, drilled into an album, 48-band visualizer at the top.

Drilled-in album view

Fullscreen visualizer (f):

Fullscreen visualizer

More screenshots in the TUI guide.

Documentation

Full docs are at docs/ — built with MkDocs Material. Run them locally:

make docs-serve     # http://127.0.0.1:8000

Or jump straight to:

Status

v0.4.0 · ruff + mypy + pyright clean, full pytest suite green. Five top-level commands — convert, library, inspect, tui, serve — with library carrying the read / mutate / manage subcommands (tree, audit, fix, cover, cover-pick, retag, index). The TUI ships local-library playback, internet radio, Subsonic-client mode, AirPlay output (incl. pause + volume routing), mDNS discovery, ReplayGain normalisation, an incremental /-filter, in-place tag editing (e for track / album-wide), a 48-band FFT visualiser, and click-to-seek on the progress bar. Audio decoder + sounddevice callback run in a separate process so UI work in the main interpreter can't stall playback. The server is OpenSubsonic-compatible (multipleGenres, transcodeOffset, songLyrics extensions) and tested against Symfonium / Amperfy / play:Sub / Feishin clients on iOS / Android / desktop. A persistent SQLite library index at <root>/.musickit/index.db makes cold starts skip the filesystem walk + tag read; the filesystem watcher does per-album incremental rescans.

License

See LICENSE in the repo root.

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

musickit-0.4.1.tar.gz (151.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

musickit-0.4.1-py3-none-any.whl (192.5 kB view details)

Uploaded Python 3

File details

Details for the file musickit-0.4.1.tar.gz.

File metadata

  • Download URL: musickit-0.4.1.tar.gz
  • Upload date:
  • Size: 151.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for musickit-0.4.1.tar.gz
Algorithm Hash digest
SHA256 5b3b5f76cde91cf130d0ee868c584a1d371cdac893558286f677070230647979
MD5 9c2e63a557c721c66ed47b6b259fb41f
BLAKE2b-256 56029a048c70f305c540587b46844f7a67cfa36158a0930516ccc554cc1fca6a

See more details on using hashes here.

File details

Details for the file musickit-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: musickit-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 192.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for musickit-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 679afc0caa7903fb42306ad18aadcb689308616a5c7b151cd4f1f37418d35081
MD5 5e48cf68446823534664cfe357d19720
BLAKE2b-256 6f900566234b6b8f7a496f47f55d9e7bdab7c41f7f4e8b7d6f02929baf6a0826

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page