Skip to content

The repositories

Music Assistant is spread over a set of repositories in the music-assistant organization on GitHub. This page helps you find the one your change belongs in and see what else it touches.

flowchart LR
  MODELS["models<br/>music_assistant_models"]
  SERVER["server"]
  FRONT["frontend"]
  CLIENT["client<br/>music-assistant-client"]
  HACORE["Home Assistant integration<br/>home-assistant/core"]
  APPS["mobile-app and desktop-app"]
  TEMPLATE["community-provider-template"]
  CATALOG["community-catalog"]
  LIBS["Libraries<br/>aiosonos, aioslimproto, airplay-cli ..."]
  MODELS -->|"pinned"| SERVER
  MODELS -->|"pinned"| CLIENT
  FRONT -->|"bundled in every release"| SERVER
  LIBS -->|"used by providers"| SERVER
  CLIENT --> HACORE
  HACORE -->|"API"| SERVER
  APPS -->|"API"| SERVER
  TEMPLATE -->|"starts a provider for"| CATALOG
  CATALOG -->|"index the server reads"| SERVER

An arrow points from the repository that is used to the one that uses it. The server sits in the middle.

  • models holds the data classes and enums the server and its Python clients share, such as media items, EventType and ProviderFeature. The server pins one exact version in its pyproject.toml, and the client does the same. A change to a shared model is made in models first, released, and then picked up by bumping the pin.
  • frontend is built into a Python wheel that the server pins in its pyproject.toml and serves itself. It ships in lockstep with the server, so the two always match.
  • client is the Python client library. The Home Assistant integration, which lives in home-assistant/core, uses it to talk to the server. Clients that are not bundled with the server check the API schema version, see The API and events.
  • community-catalog is the registry of community providers. The server reads its index to decide which community providers it may install and load. community-provider-template is the starting point for such a provider.
  • Some providers depend on libraries the project maintains, such as aiosonos (Sonos) and aioslimproto (Squeezebox). The AirPlay provider runs the cliairplay binary that airplay-cli builds.
Repository What it holds Language
server The server: core controllers, providers, the API Python
models Data models shared by the server and the Python client Python
frontend The web interface (Vue 3), bundled with every server release TypeScript
client Python client for the server API Python
mobile-app The official app for Android and iOS (Kotlin Multiplatform) Kotlin
desktop-app The official desktop companion app Rust
home-assistant-addon The Music Assistant app for Home Assistant Dockerfile
community-catalog The registry of community providers and the index every server reads Python
community-provider-template Template for a community provider in its own repository Python
music-assistant.io The user documentation Astro
support Issue tracker and discussions -
end-to-end-test-lab Runs a server version against virtual and bench players and reports pass or fail Python
aiosonos Async library to talk to Sonos devices Python
aioslimproto Async SLIMProto implementation for Squeezebox players Python
airplay-cli Command-line binary for streaming to AirPlay 1 and AirPlay 2 devices C
signaling-server Signaling server for remote connections to a server TypeScript
.github Policies shared by all repositories, such as the usage policy -

The organization has more repositories, such as other libraries a single provider uses. The table lists the ones you are most likely to meet.

Music Assistant is a project of the Open Home Foundation.