/
/
# What does this implement/fix? The server info model already has fields for a server name, internal URL, external URL and remote access, but they were never actually filled in. This implements them: - New "Server name" setting in the webserver config, with a sane default based on the hostname (e.g. "Music Assistant (nuc-woonkamer)"). Clearing the value restores the default. - The name is used in network announcements (Sendspin, Snapcast), so running two servers on the same network no longer shows two identical names. - New optional "External URL" setting for setups that expose the server through a reverse proxy. - The existing base URL setting is now labeled "Internal URL" (same key, no migration needed). - Server info now reports name, internal URL, external URL and whether remote access is enabled; changes are pushed to connected clients right away. Companion frontend PR (shows this on the About page): https://github.com/music-assistant/frontend/pull/2658 **Related issue (if applicable):** - related issue N/A ## Types of changes - [ ] Bugfix (non-breaking change which fixes an issue) — `bugfix` - [ ] New feature (non-breaking change which adds functionality) — `new-feature` - [x] Enhancement to an existing feature — `enhancement` - [ ] New music/player/metadata/plugin provider — `new-provider` - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) — `breaking-change` - [ ] Refactor (no behaviour change) — `refactor` - [ ] Documentation only — `documentation` - [ ] Maintenance / chore — `maintenance` - [ ] CI / workflow change — `ci` - [ ] Dependencies bump — `dependencies` ## Checklist - [x] The code change is tested and works locally. - [x] `pre-commit run --all-files` passes. - [x] `pytest` passes, and tests have been added/updated under `tests/` where applicable. - [ ] For changes to shared models, the companion PR in `music-assistant/models` is linked. - [x] For changes affecting the UI, the companion PR in `music-assistant/frontend` is linked. - [x] I have read and complied with the project's [AI Policy](https://github.com/music-assistant/.github/blob/main/AI_POLICY.md) for any AI-assisted contributions. - [ ] I have [raised a PR against the documentation repository](https://github.com/music-assistant/music-assistant.io/blob/main/CONTRIBUTING.md) targeting the main or beta branch as appropriate.