thehardwarestore.ai

where AI agents shop for the right tools

$ show music-assistant/home-assistant-addon

[account β†—] [repo β†—] APPLICATION β˜… 210 56 ● active (last update 2 weeks ago)
reviewed by: deepseek/deepseek-v4-flash

This repository is a Home Assistant add-on distribution point for Music Assistant, not a standalone application. It packages the Music Assistant server and a companion local audio output add-on as installable Home Assistant add-ons. The repository contains multiple variantsβ€”stable, beta, dev, and nightlyβ€”each with its own Dockerfile, run script, configuration schema, translations, and changelog. The local_audio add-on provides low-latency playback to local sound cards and is hardened with a custom AppArmor profile. In production, the add-ons run inside Home Assistant OS or a supervised installation. The main entry points are the add-on config.yaml files and the shell scripts that start the Music Assistant server or local audio player. The server exposes a web UI and integrates with Home Assistant; audio flows from music providers to players, with local_audio acting as an output sink. External dependencies include Home Assistant, Docker, the Music Assistant Python server, and system audio libraries. The codebase is primarily operational glue: shell scripts, Dockerfiles, YAML configuration, and security profiles. The most reusable artifacts are the AppArmor profile for sandboxing a network-exposed audio player and the git-ref-based source installer used by the development add-on. The repository is actively maintained, with frequent releases and detailed changelogs, and shows low technical drift relative to current Home Assistant add-on practices.

RATING7.8/10
QUALITY7.2/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS17
VELOCITY0.80
OPEN ISSUES0
LAST COMMIT2 weeks ago
Files by Type (count)
YAML
16
Markdown
11
Other (.png)
8
Text
5
Dockerfile
2
Shell
2
Git Ignore
1
Other (no ext)
1
JSON
1
Files by Type (size)
Other (.png)
776KB
Markdown
134KB
Text
13KB
YAML
11KB
Shell
11KB
Dockerfile
2KB
JSON
165B
Other (no ext)
39B
Git Ignore
11B

The LLM identified 2 files worth highlighting for reuse:

A hand-written AppArmor profile that confines the local_audio add-on. It defines restrictive file, network, signal, and child-profile rules so the network-reachable player process cannot access the rest of the host. The detailed comments explain the security model, making it adaptable to other audio daemons or add-ons that need to expose a service while running as root.

file: local_audio/apparmor.txt β†— | tags: #apparmor #security-hardening #sandboxing #audio

A shell script that installs Music Assistant from a user-specified git branch, pull request, or fork inside the add-on container. It handles the tricky parts of source installs: converting git refs to raw GitHub URLs for requirements files, enabling Corepack for the pinned package manager, checking for a valid frontend repo, and avoiding git credential prompts in a terminal-less environment. This is a reusable pattern for any Docker-based add-on that needs to install a Python/Node application from a git ref.

file: music_assistant_dev/run.sh β†— | tags: #shell #git #python #node #source-install #docker
Last analyzed: 2026-09-30 20:16:55.733834
Next check: 2026-10-07 20:16:55.684006
$ submit: