music-assistant-server.git
6 weeks agoFix ungroup command
Marcel van der Veldt [Sun, 22 Feb 2026 14:07:00 +0000 (15:07 +0100)]
Fix ungroup command

6 weeks agoFix issue with subprocess pips closing
Marcel van der Veldt [Sun, 22 Feb 2026 13:53:11 +0000 (14:53 +0100)]
Fix issue with subprocess pips closing

6 weeks agoLock set_members to avoid concurrent actions
Marcel van der Veldt [Sun, 22 Feb 2026 13:52:33 +0000 (14:52 +0100)]
Lock set_members to avoid concurrent actions

6 weeks agoMore gracefully handle DLNA errors
Marcel van der Veldt [Sun, 22 Feb 2026 13:44:14 +0000 (14:44 +0100)]
More gracefully handle DLNA errors

6 weeks agoSpeed-up core startup a bit
Marcel van der Veldt [Sun, 22 Feb 2026 13:35:10 +0000 (14:35 +0100)]
Speed-up core startup a bit

6 weeks agoFix bluesound volume jumping back after volume_set.
Marvin Schenkel [Sun, 22 Feb 2026 07:29:19 +0000 (08:29 +0100)]
Fix bluesound volume jumping back after volume_set.

6 weeks ago⬆️ Update music-assistant-frontend to 2.17.93 (#3214)
music-assistant-machine [Sun, 22 Feb 2026 03:48:44 +0000 (04:48 +0100)]
⬆️ Update music-assistant-frontend to 2.17.93 (#3214)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
6 weeks agoProperly cleanup stream buffers
Marcel van der Veldt [Sun, 22 Feb 2026 01:56:07 +0000 (02:56 +0100)]
Properly cleanup stream buffers

6 weeks agoAdd a bunch of extra error handling and logging for flow streams
Marcel van der Veldt [Sun, 22 Feb 2026 01:47:07 +0000 (02:47 +0100)]
Add a bunch of extra error handling and logging for flow streams

6 weeks agoAdd some additional guards to asyncprocess
Marcel van der Veldt [Sun, 22 Feb 2026 01:19:59 +0000 (02:19 +0100)]
Add some additional guards to asyncprocess

6 weeks agoMerge branch 'dev' of https://github.com/music-assistant/server into dev
Marcel van der Veldt [Sun, 22 Feb 2026 00:45:01 +0000 (01:45 +0100)]
Merge branch 'dev' of https://github.com/music-assistant/server into dev

6 weeks agoSimplify can_group_with logic
Marcel van der Veldt [Sun, 22 Feb 2026 00:44:55 +0000 (01:44 +0100)]
Simplify can_group_with logic

6 weeks agoValidate queue item ID in Sonos pause path (#3194)
Bob Butler [Sun, 22 Feb 2026 00:44:10 +0000 (16:44 -0800)]
Validate queue item ID in Sonos pause path (#3194)

6 weeks agoAirplay2-configurable-latency (#3210)
Brad Keifer [Sun, 22 Feb 2026 00:42:49 +0000 (11:42 +1100)]
Airplay2-configurable-latency (#3210)

6 weeks agoAdd API to handle playback speed (#3198)
Andy Kelk [Sat, 21 Feb 2026 23:30:26 +0000 (10:30 +1100)]
Add API to handle playback speed (#3198)

6 weeks agoGracefully skip files/folders with emoji names on SMB mounts (#3183)
OzGav [Sat, 21 Feb 2026 23:29:56 +0000 (10:29 +1100)]
Gracefully skip files/folders with emoji names on SMB mounts (#3183)

6 weeks agoSnapcast: Fixes for hard switching of group leaders (#3209)
Mischa Siekmann [Sat, 21 Feb 2026 23:26:48 +0000 (00:26 +0100)]
Snapcast: Fixes for hard switching of group leaders (#3209)

6 weeks agoFix Sonos S2 announcement 404 error on cloud queue context endpoint (#3208)
Copilot [Sat, 21 Feb 2026 23:25:20 +0000 (00:25 +0100)]
Fix Sonos S2 announcement 404 error on cloud queue context endpoint (#3208)

6 weeks agoSmall simplification for GroupPlayer
Marcel van der Veldt [Sat, 21 Feb 2026 22:59:42 +0000 (23:59 +0100)]
Small simplification for GroupPlayer

6 weeks agoSome small code quality changes to DLNA Provider
Marcel van der Veldt [Sat, 21 Feb 2026 22:36:29 +0000 (23:36 +0100)]
Some small code quality changes to DLNA Provider

6 weeks agoFix announcements typo
Marcel van der Veldt [Sat, 21 Feb 2026 21:16:07 +0000 (22:16 +0100)]
Fix announcements typo

6 weeks agoHandle HEAD requests on root route (#3204)
David Bishop [Sat, 21 Feb 2026 11:05:42 +0000 (03:05 -0800)]
Handle HEAD requests on root route (#3204)

6 weeks agoFix group mute for protocol-synced players (#3205)
scyto [Sat, 21 Feb 2026 11:04:20 +0000 (03:04 -0800)]
Fix group mute for protocol-synced players (#3205)

6 weeks agoFix HEOS source switching back to Local Music after starting stream (#3206)
Tom Matheussen [Sat, 21 Feb 2026 11:04:03 +0000 (12:04 +0100)]
Fix HEOS source switching back to Local Music after starting stream (#3206)

6 weeks agoFix some more issues with syncgroups
Marcel van der Veldt [Sat, 21 Feb 2026 11:00:53 +0000 (12:00 +0100)]
Fix some more issues with syncgroups

6 weeks agoAdd comments to schema version constants
Marcel van der Veldt [Sat, 21 Feb 2026 09:32:40 +0000 (10:32 +0100)]
Add comments to schema version constants

6 weeks agoRevert MIN_SCHEMA_VERSION to maintain HA compatability.
Marvin Schenkel [Sat, 21 Feb 2026 09:26:11 +0000 (10:26 +0100)]
Revert MIN_SCHEMA_VERSION to maintain HA compatability.

6 weeks agoExpand PIN based auth in airplay 2 (#3165)
hmonteiro [Sat, 21 Feb 2026 07:27:10 +0000 (07:27 +0000)]
Expand PIN based auth in airplay 2 (#3165)

* add LG details

* Make pin based auth work in other devices

* remove reference to apple tv and macos in check

* remove unused constant and adjust airplay2 filter

* also apply pairing check to raop

* add unit test

6 weeks ago⬆️ Update music-assistant-frontend to 2.17.92 (#3203)
music-assistant-machine [Sat, 21 Feb 2026 03:35:01 +0000 (04:35 +0100)]
⬆️ Update music-assistant-frontend to 2.17.92 (#3203)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
6 weeks agoFix use playerid for http profile
Marcel van der Veldt [Fri, 20 Feb 2026 23:55:06 +0000 (00:55 +0100)]
Fix use playerid for http profile

6 weeks agoOpenSubsonic: Use server provided version tag if present (#3200)
Eric Munson [Fri, 20 Feb 2026 23:22:20 +0000 (18:22 -0500)]
OpenSubsonic: Use server provided version tag if present (#3200)

6 weeks agoFix DSP not applying for AirPlay and Sendspin players (#3191)
Maxim Raznatovski [Fri, 20 Feb 2026 23:21:43 +0000 (00:21 +0100)]
Fix DSP not applying for AirPlay and Sendspin players (#3191)

6 weeks agoFixes for active source and current media with linked protocols
Marcel van der Veldt [Fri, 20 Feb 2026 23:19:00 +0000 (00:19 +0100)]
Fixes for active source and current media with linked protocols

6 weeks agoFeat/genres-v2-implementation (#3164)
Jozef Kruszynski [Fri, 20 Feb 2026 17:04:41 +0000 (18:04 +0100)]
Feat/genres-v2-implementation (#3164)

* feat(genres): Core genre system

* feat(genres): add background scanner for metadata.genres

* refactor(genres): add genres to base

* test(genres): add test suite

* fix(genres): eixsting genres are not recreated at migration

* feat(genres): guard against infinite loops in scanner

* fix(genres): remove duplicate, improve tests

* fix(genres): limit genre tracks return

* refactor(genres): use logger rather than print

* refactor(genres): use asyncio.gather rather than sequential calls

* refactor(genres): various fixes after review comments

* refactor(genres): randomize selection, use asyncio gether

* refactor(genres): remove alias object

* fix(genres): fix n:n relationship, safeguard comparisons

* refactor(genres): address review comments

* fix(genres): fix issues after rebase

* test(genres): add missing param to library sync tests

6 weeks agoabs: fix: do not add cover url if no cover present (#3202)
Fabian Munkes [Fri, 20 Feb 2026 17:02:49 +0000 (18:02 +0100)]
abs: fix: do not add cover url if no cover present (#3202)

do not add cover url if path not present

6 weeks ago⬆️ Update music-assistant-models to 1.1.99 (#3201)
music-assistant-machine [Fri, 20 Feb 2026 16:36:59 +0000 (17:36 +0100)]
⬆️ Update music-assistant-models to 1.1.99 (#3201)

Co-authored-by: MarvinSchenkel <17671719+MarvinSchenkel@users.noreply.github.com>
6 weeks agoMore fixes for protocol linking
Marcel van der Veldt [Fri, 20 Feb 2026 14:20:15 +0000 (15:20 +0100)]
More fixes for protocol linking

6 weeks agoSmall fixes to grouped airplay playback and late joining
Marcel van der Veldt [Fri, 20 Feb 2026 14:14:05 +0000 (15:14 +0100)]
Small fixes to grouped airplay playback and late joining

6 weeks agoFix: remove rate limiting from single item streams
Marcel van der Veldt [Fri, 20 Feb 2026 13:05:22 +0000 (14:05 +0100)]
Fix: remove rate limiting from single item streams

6 weeks agoMerge branch 'dev' of https://github.com/music-assistant/server into dev
Marvin Schenkel [Fri, 20 Feb 2026 10:40:45 +0000 (11:40 +0100)]
Merge branch 'dev' of https://github.com/music-assistant/server into dev

6 weeks agoAdd debug logs to streamscontroller to debug smart fades sometimes skipping.
Marvin Schenkel [Fri, 20 Feb 2026 10:40:39 +0000 (11:40 +0100)]
Add debug logs to streamscontroller to debug smart fades sometimes skipping.

6 weeks agoFix RAOP password handling (#3197)
Brad Keifer [Fri, 20 Feb 2026 10:36:06 +0000 (21:36 +1100)]
Fix RAOP password handling (#3197)

6 weeks agoAdded AriaCast Receiver plugin for Music Assistant (#3061)
Lorenzo Imbastari [Fri, 20 Feb 2026 10:28:44 +0000 (11:28 +0100)]
Added AriaCast Receiver plugin for Music Assistant (#3061)

* Add AriaCast Receiver plugin for Music Assistant

- Implemented AriaCast Receiver plugin to stream audio from Android devices to Music Assistant players.
- Added README.md with features, installation, configuration, and usage instructions.
- Created configuration classes for audio and server settings.
- Developed metadata handling for AriaCast streams.
- Implemented UDP discovery and WebSocket server for audio and metadata streaming.
- Added helper functions for local IP retrieval and artwork downloading.
- Included SVG icon for the plugin.
- Updated manifest.json with documentation link and requirements.

* Update README to simplify installation instructions

Removed installation instructions and updated configuration step for clarity.

* fixed mypy and pre-commit problems for my provider

* Delete music_assistant/providers/ariacast_receiver/README.md

* fixed pre-commit problems x2

* fixed icon

* Merge remote-tracking branch 'origin/dev' into dev

* Fixed Metadata and media controls after refactoring

* copilot notes addressing

* Addressing more copilot notes

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Addressing last notes

* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: address code review feedback for ariacast_receiver

* fix(ariacast): add playback ready event for audio/player sync

- Add _playback_ready event to coordinate audio handler and player stream
- Audio handler waits up to 2s for player to become ready after starting playback
- get_audio_stream signals ready when it starts consuming frames
- Clear ready state on cleanup in _clear_active_player and stream end

This reduces audio frame loss during player setup by synchronizing
the audio receiver with the player's readiness to consume frames.

* Add multi-platform AriaCast receiver binaries (darwin/linux amd64/arm64/arm)

* renamed receiver name

* no redownload if same artwork

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/manifest.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: use shared http_session for ariacast websocket connection

* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix in previous copilot commit messing up the way pipe was read (no loop)

* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fixel last comments

* Change multi_instance setting to false

* Addressed latest comments after review

- Switched from pipe to stdout
- Dropped linux arm
- Moved _get_binary_path() to helpers.py

* Implemented stderr logging, robust WebSocket connection retries, improved artwork handling, and player switching control.

Updated Manifest

* Fix after PlayerController renamed all to all_players and players.get to get_player()

* Update music_assistant/providers/ariacast_receiver/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update music_assistant/providers/ariacast_receiver/__init__.py

Added suggested track change comments

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update documentation URL in manifest.json

* Added README for the binary of AriaCast Receiver

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
6 weeks agofix: gpodder: pass verify_ssl to web requests (#3195)
Fabian Munkes [Fri, 20 Feb 2026 09:34:48 +0000 (10:34 +0100)]
fix: gpodder: pass verify_ssl to web requests (#3195)

* pass verify_ssl in gpodder

* default is True

6 weeks ago⬆️ Update music-assistant-frontend to 2.17.91 (#3199)
music-assistant-machine [Fri, 20 Feb 2026 03:43:27 +0000 (04:43 +0100)]
⬆️ Update music-assistant-frontend to 2.17.91 (#3199)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
7 weeks agoFixes for sendspin web player
Marcel van der Veldt [Thu, 19 Feb 2026 21:05:11 +0000 (22:05 +0100)]
Fixes for sendspin web player

7 weeks agoFix grouping for for players whos native protocol is a protocol of other players...
Marvin Schenkel [Thu, 19 Feb 2026 19:35:40 +0000 (20:35 +0100)]
Fix grouping for for players whos native protocol is a protocol of other players (#3192)

7 weeks agoSmall tweak to merged players concept
Marcel van der Veldt [Thu, 19 Feb 2026 19:19:45 +0000 (20:19 +0100)]
Small tweak to merged players concept

7 weeks agoSimplify hidden_by_default
Marcel van der Veldt [Thu, 19 Feb 2026 17:27:07 +0000 (18:27 +0100)]
Simplify hidden_by_default

7 weeks agoUpdate protocol linking test
Marcel van der Veldt [Thu, 19 Feb 2026 12:41:37 +0000 (13:41 +0100)]
Update protocol linking test

7 weeks agoAdd a extensions.json file to .vscode (#3068)
David Anthoff [Thu, 19 Feb 2026 12:18:25 +0000 (04:18 -0800)]
Add a extensions.json file to .vscode (#3068)

* Add a extensions.json file to .vscode

* Update .vscode/extensions.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add another extension to the VS Code recommended set

* Remove Python env extension from recommended extensions

* Adjust whitespacing

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
7 weeks agoFix universal player availability
Marcel van der Veldt [Thu, 19 Feb 2026 10:21:15 +0000 (11:21 +0100)]
Fix universal player availability

7 weeks agoFix for protocol matching with locally administered mac
Marcel van der Veldt [Thu, 19 Feb 2026 10:03:46 +0000 (11:03 +0100)]
Fix for protocol matching with locally administered mac

7 weeks agoReduce FFmpeg cover-art storms (#3109)
Łukasz Wawrzyk [Thu, 19 Feb 2026 09:03:14 +0000 (10:03 +0100)]
Reduce FFmpeg cover-art storms (#3109)

* fix(images): add in-memory cache and concurrency limit for image data

Add a TTL-based LRU memory cache (256 entries, 15min TTL) to
get_image_data() to avoid redundant fetches of the same image.
Deduplicate concurrent in-flight requests via task_id and limit
embedded image extractions to 2 concurrent ffmpeg processes
using a semaphore.

Includes unit tests for cache hits, TTL expiry, eviction, and
request deduplication.

* Revert "fix(images): add in-memory cache and concurrency limit for image data"

This reverts commit a676a2484d24df1de4d2631118f1f0315c503fc8.

* feat(images): add on-disk thumbnail cache to avoid repeated ffmpeg extractions

Implement a two-tier caching system for image thumbnails:

- On-disk cache: thumbnails stored as {sha256(provider/path)}_{size}.{ext}
  in a "thumbnails" subfolder of the cache directory, surviving restarts.
- In-memory FIFO cache: last 50 thumbnails for instant access on hot paths.
- In-flight deduplication: concurrent requests for the same thumbnail share
  a single generation task via create_task, preventing ffmpeg bursts.

This eliminates repeated ffmpeg spawns for embedded cover art extraction,
which caused high CPU usage and playback interruptions especially on
lower-powered hardware and network-mounted music libraries (e.g. SMB).

7 weeks agoAdd APEv2 tag parsing for WavPack/Musepack/Monkey's Audio (#3185)
OzGav [Thu, 19 Feb 2026 08:43:41 +0000 (18:43 +1000)]
Add APEv2 tag parsing for WavPack/Musepack/Monkey's Audio (#3185)

7 weeks ago⬆️ Update music-assistant-frontend to 2.17.90 (#3190)
music-assistant-machine [Thu, 19 Feb 2026 03:47:30 +0000 (04:47 +0100)]
⬆️ Update music-assistant-frontend to 2.17.90 (#3190)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
7 weeks agoAdd eager start to create_task helper
Marcel van der Veldt [Wed, 18 Feb 2026 20:47:32 +0000 (21:47 +0100)]
Add eager start to create_task helper

7 weeks agoFix library items not being deletes after providers have removed them (#3154)
Marvin Schenkel [Wed, 18 Feb 2026 18:38:49 +0000 (19:38 +0100)]
Fix library items not being deletes after providers have removed them (#3154)

7 weeks agoSwitch to MA MusicBrainz mirror (#3186)
Marvin Schenkel [Wed, 18 Feb 2026 18:04:47 +0000 (19:04 +0100)]
Switch to MA MusicBrainz mirror (#3186)

* Use MA Musicbrainz mirror and relax throttler.

* Use MA Musicbrainz mirror and relax throttler.

7 weeks agoFix: Don't merge player protocols for multiple software players on same host
Marcel van der Veldt [Wed, 18 Feb 2026 11:16:02 +0000 (12:16 +0100)]
Fix: Don't merge player protocols for multiple software players on same host

7 weeks ago⬆️ Update music-assistant-frontend to 2.17.89 (#3181)
music-assistant-machine [Wed, 18 Feb 2026 03:48:48 +0000 (04:48 +0100)]
⬆️ Update music-assistant-frontend to 2.17.89 (#3181)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
7 weeks agoFix: ignore invalid mac and ip addresses in protocol linking
Marcel van der Veldt [Tue, 17 Feb 2026 23:13:44 +0000 (00:13 +0100)]
Fix: ignore invalid mac and ip addresses in protocol linking

7 weeks agoUpdate Sendspin provider to version 4.0 with many improvements (#3158)
Maxim Raznatovski [Tue, 17 Feb 2026 21:46:52 +0000 (22:46 +0100)]
Update Sendspin provider to version 4.0 with many improvements (#3158)

7 weeks agoFix webplayer hide from UI by default
Marcel van der Veldt [Tue, 17 Feb 2026 20:20:51 +0000 (21:20 +0100)]
Fix webplayer hide from UI by default

7 weeks agoUse PlayerType player for sendspin web player
Marcel van der Veldt [Tue, 17 Feb 2026 18:48:59 +0000 (19:48 +0100)]
Use PlayerType player for sendspin web player

7 weeks agoFix player config entries
Marcel van der Veldt [Tue, 17 Feb 2026 18:47:00 +0000 (19:47 +0100)]
Fix player config entries

7 weeks agoFix: bind sendspin proxy to correct IP
Marcel van der Veldt [Tue, 17 Feb 2026 17:45:29 +0000 (18:45 +0100)]
Fix: bind sendspin proxy to correct IP

7 weeks agoFix: Add PlayerFeature.PLAY_MEDIA to HEOS provider
Marcel van der Veldt [Tue, 17 Feb 2026 17:20:22 +0000 (18:20 +0100)]
Fix: Add PlayerFeature.PLAY_MEDIA to HEOS provider

7 weeks agoUpdate readme of AirPlay provider about late joining
Marcel van der Veldt [Tue, 17 Feb 2026 17:18:01 +0000 (18:18 +0100)]
Update readme of AirPlay provider about late joining

7 weeks agoImprove AirPlay late joiner support
Marcel van der Veldt [Tue, 17 Feb 2026 13:34:46 +0000 (14:34 +0100)]
Improve AirPlay late joiner support

7 weeks agoSome small tweaks to the AirPlay provider
Marcel van der Veldt [Tue, 17 Feb 2026 12:40:24 +0000 (13:40 +0100)]
Some small tweaks to the AirPlay provider

7 weeks agoCap Apple Music artwork resolution to 1000x1000 (#3177)
OzGav [Tue, 17 Feb 2026 10:45:01 +0000 (20:45 +1000)]
Cap Apple Music artwork resolution to 1000x1000 (#3177)

Apple Music API returns artwork URLs with the maximum available resolution
(e.g. 6605x6605, 3000x3000) which causes excessive bandwidth usage, slower
page loads, and unnecessary memory consumption. Since Apple Music artwork
URLs support dynamic sizing via {w}x{h} placeholders, cap the requested
dimensions to 1000x1000 which is sufficient for all UI contexts. The
existing image proxy can further downscale for thumbnails as needed.

https://claude.ai/code/session_01AxXvTSeiZyCmnNqYLtfhLH

Co-authored-by: Claude <noreply@anthropic.com>
7 weeks agofeat(kion_music): add configurable My Mix settings and improvements (#3145)
Mikhail Nevskiy [Tue, 17 Feb 2026 09:27:53 +0000 (12:27 +0300)]
feat(kion_music): add configurable My Mix settings and improvements (#3145)

* feat(kion_music): add configurable My Mix settings and improvements

Add comprehensive configuration options for My Mix (radio) feature and
various provider improvements synchronized from Yandex Music provider.

## New Features

### My Mix Configuration
- `my_mix_max_tracks`: Maximum tracks for My Mix playlist (default: 150)
- `my_mix_batch_size`: API batch count for Browse/Discover (default: 3)
- `track_batch_size`: Track details batch size (default: 50)
- `discovery_initial_tracks`: Initial tracks in Discover section (default: 5)
- `browse_initial_tracks`: Initial tracks when browsing My Mix (default: 15)

### Feature Toggles (Advanced, disabled by default)
- `enable_recommendations`: Show My Mix in Discover/Recommendations
- `enable_my_mix_browse`: Show My Mix folder in Browse section
- `enable_my_mix_playlist`: Show My Mix as virtual playlist
- `enable_my_mix_radio`: Enable radio feedback (like/dislike)

### Base URL Configuration (Advanced)
- `base_url`: Configurable API endpoint (default: https://music.mts.ru/ya_proxy_api)
- Fixes connection issue from endpoint change (/ya_api → /ya_proxy_api)

## Provider Improvements

### API Client
- Add batching for liked albums/tracks fetching
- Add retry logic for network errors
- Add My Mix tracks fetching with batch_id support
- Add radio station feedback support
- Accept optional base_url parameter
- Use DEFAULT_BASE_URL constant

### Provider Features
- Add SIMILAR_TRACKS and RECOMMENDATIONS features
- Add My Mix as virtual playlist (playlist_id: "my_mix")
- Add radio feedback for track started/finished/like/dislike
- Add duplicate track filtering in My Mix
- Add locale-based browse folder names (Russian/English)
- Conditional feature enabling based on config

### Streaming
- Add quality selection logic for FLAC/AAC/MP3
- Add content type detection for audio formats
- Support for flac-mp4 and aac-mp4 formats

### Parsers
- Add radio track ID parsing (track_id@station_id format)
- Improve external URL generation for artists/albums/tracks/playlists
- Use music.mts.ru domain

## Testing
- Add test_streaming.py (7 tests for quality selection)
- Add test_my_mix.py (2 tests for radio ID parsing)
- Update test_api_client.py (8 tests for batching/retry/My Mix)
- Update test_parsers.py (16 tests with snapshots)
- All 44 tests pass ✅

## Constants
- Add My Mix configuration keys
- Add DEFAULT_BASE_URL constant
- Add ROTOR_STATION_MY_MIX constant
- Add MY_MIX_PLAYLIST_ID constant
- Add RADIO_TRACK_ID_SEP constant
- Add browse folder name dictionaries

This brings KION Music provider feature parity with Yandex Music provider
while maintaining MTS-specific branding and API endpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(kion_music): use DEFAULT_BASE_URL when base_url not provided

Set self._base_url to DEFAULT_BASE_URL if base_url parameter is None
in KionMusicClient.__init__(). This ensures tests pass and the client
always has a valid base URL.

Fixes test_connect_sets_base_url failure in CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Address PR #3145 review comments

- Remove all tuning/toggle config entries; use hardcoded constants with
  sane defaults (all features always enabled)
- Fix documentation URL (beta.music-assistant.io → music-assistant.io)
- Extract magic string to ROTOR_FEEDBACK_FROM constant with comment
- Switch from private client._request to public client.request
- Update docstrings: Yandex → KION / generic wording
- Fix test import path (yandex_music → kion_music)
- Refactor duplicated My Mix code into shared _fetch_my_mix_tracks()
  helper; browse(), _get_my_mix_playlist_tracks(), recommendations()
  are now thin wrappers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Increase Discovery initial tracks to 20 and cache to 10 minutes

Show more tracks in Discovery on Home and reduce API load by caching
recommendations for 10 minutes instead of 1 minute.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address Copilot review comments and improve robustness

- Use == instead of is for dict comparison (BROWSE_NAMES_RU)
- Remove dead _get_content_type stub in parsers.py, inline ContentType.UNKNOWN
- Add AAC variants (aac-mp4, he-aac, he-aac-mp4) to streaming content type mapping
- Fix cache key collision: normalize composite track IDs before caching
- Add retry with reconnect to get_track_file_info_lossless

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: trudenboy0 <trudenboy0@gmail.com>
7 weeks agofeat(deezer): Genre and mood flows (#3171)
Julian Daberkow [Tue, 17 Feb 2026 09:06:19 +0000 (10:06 +0100)]
feat(deezer): Genre and mood flows (#3171)

* Add basic mood and genre flow support for Deezer

* Fetch Deezer flows and their images dynamically

* Address PR review comments

- Narrow exception handling from `Exception` to `DeezerErrorResponse`
  for recommended albums/artists endpoints
- Parse GW track data directly via `_parse_gw_track()` instead of
  making individual REST API calls per track
- Add early return check in `get_user_radio` when data key is missing
- Remove unnecessary `:param: None` docstring in `get_home_flows`
- Add defensive `.get()` check for "sections" key in `get_home_flows`
  to prevent KeyError

* Shrink function documentation of _parse_gw_track

* Revert to previous approach of fetching gw tracks seperately

---------

Co-authored-by: jdaberkow <13017916+jdaberkow@users.noreply.github.com>
7 weeks agoChore(deps): Bump aioslimproto from 3.1.4 to 3.1.5 (#3176)
dependabot[bot] [Tue, 17 Feb 2026 08:25:21 +0000 (08:25 +0000)]
Chore(deps): Bump aioslimproto from 3.1.4 to 3.1.5 (#3176)

* Chore(deps): Bump aioslimproto from 3.1.4 to 3.1.5

Bumps aioslimproto from 3.1.4 to 3.1.5.

---
updated-dependencies:
- dependency-name: aioslimproto
  dependency-version: 3.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
* Also bump version in provider manifest

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marvin Schenkel <marvinschenkel@gmail.com>
7 weeks agoFix RuntimeError from dict/set mutation during iteration (#3159)
David Bishop [Tue, 17 Feb 2026 07:36:57 +0000 (23:36 -0800)]
Fix RuntimeError from dict/set mutation during iteration (#3159)

* Fix RuntimeError from dict/set mutation during iteration

Several collections are iterated while concurrent callbacks can
modify them, causing "Set/dictionary changed size during iteration"
RuntimeErrors:

- mass.py: _subscribers set iterated in signal_event() while
  subscribe/unsubscribe callbacks modify it
- mass.py: _providers dict iterated in get_provider() and
  _on_mdns_service_state_change() while providers load/unload
- player_controller.py: _players dict iterated in get_players(),
  get_player_by_name(), and update_player_control() while players
  register/unregister
- music.py: in_progress_syncs list iterated while done-callbacks
  call .remove() on it

Snapshot via list() before iterating in all affected locations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix additional dict mutation during iteration in mass.py

Snapshot via list() in three more locations where self._providers
or self._tracked_tasks are iterated while concurrent callbacks can
modify them: get_providers(), get_providers_by_domain(), and stop().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix dict mutation during iteration in webserver dynamic routes

Snapshot self._dynamic_routes.items() via list() in _handle_catch_all()
to prevent RuntimeError when routes are registered or unregistered by
providers while a request is being matched against prefix routes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------

Co-authored-by: David Bishop <git@gnuconsulting.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
7 weeks ago⬆️ Update music-assistant-frontend to 2.17.88 (#3178)
music-assistant-machine [Tue, 17 Feb 2026 03:46:31 +0000 (04:46 +0100)]
⬆️ Update music-assistant-frontend to 2.17.88 (#3178)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
7 weeks agofix: adapt playlog for all users if no user present (#3169)
Fabian Munkes [Mon, 16 Feb 2026 18:24:01 +0000 (19:24 +0100)]
fix: adapt playlog for all users if no user present (#3169)

adapt playlog for all users

7 weeks agofix: add name back to abs/itunes recommendation folders (#3170)
Fabian Munkes [Mon, 16 Feb 2026 17:45:12 +0000 (18:45 +0100)]
fix: add name back to abs/itunes recommendation folders (#3170)

add name back to recommendation folders

7 weeks agoabs: report correct time_listened in sessions (#3163)
Fabian Munkes [Mon, 16 Feb 2026 17:30:04 +0000 (18:30 +0100)]
abs: report correct time_listened in sessions (#3163)

* abs sessions statistics

* small progress sync fix

7 weeks agoAuto cleanup cache db when it grows >= 2GB (#3174)
Marvin Schenkel [Mon, 16 Feb 2026 13:23:25 +0000 (14:23 +0100)]
Auto cleanup cache db when it grows >= 2GB (#3174)

Auto cleanup cachedb when it grows >= 2GB

7 weeks agoFix: restart playback when switching to other output protocol
Marcel van der Veldt [Mon, 16 Feb 2026 11:51:35 +0000 (12:51 +0100)]
Fix: restart playback when switching to other output protocol

7 weeks agoSome small follow-up fixes for protocols linking
Marcel van der Veldt [Mon, 16 Feb 2026 09:34:42 +0000 (10:34 +0100)]
Some small follow-up fixes for protocols linking

7 weeks agoFix index_in_buffer or current_index treating index 0 as unset (#3160)
David Bishop [Mon, 16 Feb 2026 09:08:35 +0000 (01:08 -0800)]
Fix index_in_buffer or current_index treating index 0 as unset (#3160)

index_in_buffer and current_index are int | None where 0 is a valid
value (first track in queue). Two locations use chained `or` to
select between them:

- set_shuffle: `queue.index_in_buffer or queue.current_index`
- play_media_from_queue: `queue.index_in_buffer or queue.current_index or 0`

When index_in_buffer is 0 (first track buffered), Python's `or`
treats it as falsy and falls through to current_index. This causes
shuffle reshuffling and queue insertion to use the wrong position.

Replace with explicit `is not None` checks in both locations.

Co-authored-by: David Bishop <git@gnuconsulting.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
7 weeks agoFix AttributeError when provider is temporarily unavailable (#3157)
David Bishop [Mon, 16 Feb 2026 08:24:19 +0000 (00:24 -0800)]
Fix AttributeError when provider is temporarily unavailable (#3157)

get_provider() can return None when a provider is temporarily
unavailable (e.g., during reload or network issues). Both
remove_item_from_library() and add_item_to_library() call
.library_edit_supported() on the result without a None check,
causing an AttributeError that surfaces as a 500 error.

Co-authored-by: David Bishop <git@gnuconsulting.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
7 weeks ago⬆️ Update music-assistant-frontend to 2.17.87 (#3172)
music-assistant-machine [Mon, 16 Feb 2026 03:52:05 +0000 (04:52 +0100)]
⬆️ Update music-assistant-frontend to 2.17.87 (#3172)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
7 weeks agoFix HTTP proxy URL parsing for wss:// WebSocket URLs (#3168)
Chris [Sun, 15 Feb 2026 17:32:54 +0000 (11:32 -0600)]
Fix HTTP proxy URL parsing for wss:// WebSocket URLs (#3168)

* Fix HTTP proxy URL parsing for wss:// WebSocket URLs

The HTTP proxy handler constructed the local HTTP URL by stripping
"ws://" from local_ws_url with a simple string replace. When the
server uses SSL, local_ws_url is "wss://..." which didn't match the
replace, producing a broken URL like "http://wss:/imageproxy?..." and
causing all proxy requests to fail with DNS resolution errors.

Use urllib.parse.urlparse instead, which correctly handles both ws://
and wss:// schemes.

* Move urlparse import to top-level to fix PLC0415 lint error

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
7 weeks agoMerge players with multiple protocols together (#3150)
Marcel van der Veldt [Sun, 15 Feb 2026 14:50:45 +0000 (15:50 +0100)]
Merge players with multiple protocols together (#3150)

* Base implementation of merging players through protocol linking

* Restore after merge conflict

* follow-up

* Fix config handling for players

* some tweaks

* Handle more (edge) cases

* bunch of fixes

* More fixes

* Some more tweaks

* Fix group_members calc

* A bunch of tweaks and refactoring

* more tweaks

* more follow-up

* Update controller.py

* refactoring groups

* more fixes for syncgroup

* fix readme nitpick

* revert frozen in uv run

* Add default providers conf

* fix tests

* more tweaks

* fixes for syncgroups

* More small tweaks

* more sync player tweaks

7 weeks agoFix typo in Sonos provider
Marcel van der Veldt [Sat, 14 Feb 2026 07:36:32 +0000 (08:36 +0100)]
Fix typo in Sonos provider

7 weeks ago⬆️ Update music-assistant-frontend to 2.17.86 (#3162)
music-assistant-machine [Sat, 14 Feb 2026 03:38:43 +0000 (04:38 +0100)]
⬆️ Update music-assistant-frontend to 2.17.86 (#3162)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
7 weeks agoFix typo in Airplay provider on setting new ip
Marcel van der Veldt [Sat, 14 Feb 2026 00:02:19 +0000 (01:02 +0100)]
Fix typo in Airplay provider on setting new ip

7 weeks agoFix NO_CONTENT error on Sonos playback
Marcel van der Veldt [Fri, 13 Feb 2026 23:17:47 +0000 (00:17 +0100)]
Fix NO_CONTENT error on Sonos playback

7 weeks agoHost streamserver by default on port 8097
Marcel van der Veldt [Fri, 13 Feb 2026 20:08:35 +0000 (21:08 +0100)]
Host streamserver by default on port 8097

7 weeks agoguard against invalid volume normalization values
Marcel van der Veldt [Fri, 13 Feb 2026 20:01:56 +0000 (21:01 +0100)]
guard against invalid volume normalization values

7 weeks agoFix for Spotify returning endless tracks from playlist (#3155)
Marvin Schenkel [Fri, 13 Feb 2026 12:25:51 +0000 (13:25 +0100)]
Fix for Spotify returning endless tracks from playlist (#3155)

* Fix for Spotify returning endless tracks from playlist

* Auto cleanup cache for Spotify

7 weeks agoAlways cleanup smart fades tmp files (#3143)
Marvin Schenkel [Fri, 13 Feb 2026 12:04:47 +0000 (13:04 +0100)]
Always cleanup smart fades tmp files (#3143)

* Always cleanup smart fades tmp files

* Cleanup

7 weeks agoChore(deps): Bump docker/build-push-action from 6.19.1 to 6.19.2 (#3148)
dependabot[bot] [Fri, 13 Feb 2026 09:54:16 +0000 (10:54 +0100)]
Chore(deps): Bump docker/build-push-action from 6.19.1 to 6.19.2 (#3148)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.19.1 to 6.19.2.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.19.1...v6.19.2)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 6.19.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 weeks agoFix operator precedence and inverted dedup logic in audiobooks playlog (#3153)
David Bishop [Fri, 13 Feb 2026 09:53:46 +0000 (01:53 -0800)]
Fix operator precedence and inverted dedup logic in audiobooks playlog (#3153)

Two bugs in the audiobook resume/playlog tracking:

1. `int(media_item.resume_position_ms or 0 / 1000)` never divides by
   1000 because `/` binds tighter than `or`. The expression evaluates as
   `int(resume_position_ms or (0 / 1000))`, so non-zero values pass
   through as raw milliseconds instead of seconds.

2. The dedup check `abs(difference) > 2` skips the DB write when data
   HAS changed (difference > 2 seconds) and writes when it has NOT
   changed (difference <= 2 seconds). The comparison is inverted.

Co-authored-by: David Bishop <git@gnuconsulting.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
7 weeks agoFix M3U parser truncating EXTINF duration to single character (#3152)
David Bishop [Fri, 13 Feb 2026 09:48:06 +0000 (01:48 -0800)]
Fix M3U parser truncating EXTINF duration to single character (#3152)

The EXTINF duration parser used `info[0].strip()[0]` which takes only
the first character of the duration string. For multi-digit durations
like "120", this truncates to "1". Also, the `-1` check on line 79
compared against "-1" but could only ever see "-" (a single char),
so negative/unknown durations were never properly detected.

Remove the erroneous `[0]` index so the full duration string is used
and the `-1` sentinel is correctly recognized.

Co-authored-by: David Bishop <git@gnuconsulting.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
7 weeks agoFix case-sensitive comparison in compare_strings fuzzy matching (#3151)
David Bishop [Fri, 13 Feb 2026 09:33:02 +0000 (01:33 -0800)]
Fix case-sensitive comparison in compare_strings fuzzy matching (#3151)

In non-strict mode, compare_strings lowercases str1 but passes the
original-case str2 to SequenceMatcher on line 564. This causes fuzzy
matching to penalize case differences, making it fail to match strings
like "Track Feat. John" vs "TRACK FT. JOHN" that should be considered
equivalent.

Also fix the elif branch (line 559) to replace on str2_lower instead
of str2, so the result is consistently lowered.

Co-authored-by: David Bishop <git@gnuconsulting.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>