music-assistant-server.git
2 months agoFix Pandora authentication failures (#2949)
OzGav [Mon, 26 Jan 2026 06:59:56 +0000 (17:59 +1100)]
Fix Pandora authentication failures (#2949)

* fix: Pandora auth token expiry during long listening sessions

Implemented automatic re-authentication mechanism for Pandora provider
to prevent auth token expiry during extended listening sessions.

- Added token expiration tracking with AUTH_TOKEN_LIFETIME (50 minutes)
- Added ensure_valid_auth() method to proactively re-authenticate before
  token expiration (with 5 minute buffer)
- Updated _api_request() to call ensure_valid_auth() before all API calls
- Added retry logic for 401 errors to handle reactive re-authentication

This follows the same pattern used by the Tidal provider for maintaining
valid authentication tokens during long-running sessions.

Fixes issue where users reported authentication expiring while listening
to Pandora stations.

* improvement: Check for explicit token expiry from Pandora API

Updated authentication to check if Pandora returns expiry information
(expiresIn or expires_in fields) and use it if available, rather than
always assuming a hardcoded lifetime.

- Checks for expiry fields in authentication response
- Uses actual expiry if provided by API
- Falls back to conservative 50-minute estimate if not
- Added logging to show which approach is being used

This makes the implementation more robust and will automatically adapt
if Pandora provides expiry information in their response.

* refactor: Switch to reactive-only auth handling for Pandora

Changed from proactive time-based re-authentication to reactive
401-error handling only. This is a better approach because:

1. User reports show auth failures occurring anywhere from 5 minutes
   to several hours, indicating it's NOT a simple token timeout
2. Proactive re-auth would mask the real issue and prevent diagnosis
3. Reactive handling will log actual failure patterns to help identify
   the root cause (concurrent logins, IP changes, rate limiting, etc.)

Changes:
- Removed AUTH_TOKEN_LIFETIME and AUTH_REFRESH_BUFFER constants
- Removed ensure_valid_auth() proactive check method
- Removed _auth_expires_at expiry tracking
- Added _auth_time to track when authentication occurred
- Enhanced 401 error handling to log how long tokens lasted
- Simplified to reactive-only approach: retry on 401 with fresh auth

This will help diagnose the actual cause of auth expiry issues while
still preventing playback interruption by automatically re-authenticating
when needed.

* chore: Change Pandora auth log messages to debug level

Changed authentication success and token expiry messages from info/warning
to debug level to reduce log noise for routine operations.

* chore: Remove diagnostic timing code from Pandora auth

Removed _auth_time tracking and associated debug logging that calculated
token lifetime. Fix is confirmed working, diagnostic code no longer needed.

* chore: Change authentication success log back to info level

* fix: Remove duplicate type annotation to fix mypy error

* fix: Handle network errors gracefully in Pandora stream handler

Added ProviderUnavailableError handling to _handle_stream_request to
prevent crashes when network errors (DNS timeouts, connection failures)
occur during fragment fetching.

- Wrapped all _get_fragment_data calls in try-except block
- Added ProviderUnavailableError exception handler
- Returns 503 Service Unavailable instead of crashing
- Logs error for diagnostics

* refactor: Use recursive retry pattern for Pandora auth failures

Refactored _api_request to use recursive call instead of duplicating
error handling code in retry block.

- Added 'retry: bool = True' parameter to _api_request
- On 401 error, re-authenticate and recursively call with retry=False
- Eliminates ~20 lines of duplicate error handling code
- Cleaner and more maintainable

Credit: @MarvinSchenkel for the suggestion

* fix: Add type annotation to satisfy mypy no-any-return check

* style: Remove superfluous else after return (RET505)

Fixed ruff linting error - removed unnecessary else clause after
return statement in retry logic.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2 months agoAdd HEOS Player provider (#2986)
Tom Matheussen [Mon, 26 Jan 2026 06:51:09 +0000 (07:51 +0100)]
Add HEOS Player provider (#2986)

* Initial commit, ability to connect to a HEOS system and play URL

* Added more function handling

* Some code improvements, fix disconnection done too late

* Map music sources to inputs

* Make sure players are registered, even when they are marked as unavailable

* Build proper source list

* Keep internal heos reference in player

* Set dynamic attributes after player setup

* Implement grouping

* Grab group information when players are set up

* Handle group change events

* Build source list in provider

* Minor rearrangement

* Make sure player update event is cleaned up

* Some cleanup

* Remove some leftover logging

* Handle controller event in provider

* Split player updating into dedicated events

* Populate current_media when we're not playing

* Set sample rate configs

* Handle connection errors

* Temp troubleshooting commit

* Clean up some code and comments, adjusted some minor things

* Use fallbacks on mappings

* Disable player re-enabling for now

* Handle AUX inputs

* Handle player change event from HEOS

* address PR review comments

* Reduce safe max sample rate and bit depth for older devices

* Don't need to set credentials, unused right now

2 months ago⬆️ Update music-assistant-models to 1.1.91 (#3016)
music-assistant-machine [Sun, 25 Jan 2026 15:05:01 +0000 (16:05 +0100)]
⬆️ Update music-assistant-models to 1.1.91 (#3016)

* ⬆️ Update music-assistant-models to 1.1.91

* Adjustments for models change

---------

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2 months agoRemove lock from regular player commands
Marcel van der Veldt [Sat, 24 Jan 2026 00:46:43 +0000 (01:46 +0100)]
Remove lock from regular player commands

2 months agoFix chime validation for player groups (#3013)
Marvin Schenkel [Sat, 24 Jan 2026 00:27:28 +0000 (01:27 +0100)]
Fix chime validation for player groups (#3013)

2 months agoFixes for the AirPlay provider (#3014)
Marcel van der Veldt [Sat, 24 Jan 2026 00:26:40 +0000 (01:26 +0100)]
Fixes for the AirPlay provider (#3014)

2 months agoChore(deps): Bump actions/setup-python from 6.1.0 to 6.2.0 (#3010)
dependabot[bot] [Fri, 23 Jan 2026 12:48:50 +0000 (13:48 +0100)]
Chore(deps): Bump actions/setup-python from 6.1.0 to 6.2.0 (#3010)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6.1.0...v6.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago⬆️ Update music-assistant-frontend to 2.17.73 (#3012)
music-assistant-machine [Fri, 23 Jan 2026 09:27:50 +0000 (10:27 +0100)]
⬆️ Update music-assistant-frontend to 2.17.73 (#3012)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
Co-authored-by: Marvin Schenkel <marvinschenkel@gmail.com>
2 months ago⬆️ Update music-assistant-models to 1.1.90 (#3011)
music-assistant-machine [Fri, 23 Jan 2026 03:09:18 +0000 (04:09 +0100)]
⬆️ Update music-assistant-models to 1.1.90 (#3011)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
2 months agoFix announcement for Sonos Play:1's (#3009)
Marvin Schenkel [Thu, 22 Jan 2026 19:25:58 +0000 (20:25 +0100)]
Fix announcement for Sonos Play:1's (#3009)

2 months agofix(spotify_connect): ignore trailing sink event to prevent playback thrashing (...
Andrew Pryde [Thu, 22 Jan 2026 11:37:21 +0000 (11:37 +0000)]
fix(spotify_connect): ignore trailing sink event to prevent playback thrashing (#2976)

* fix(spotify_connect): ignore trailing sink event to prevent playback thrashing

The librespot daemon emits a trailing 'sink' event after disconnect.
MA was misinterpreting this as a new playback request, causing the
disconnecting player to immediately re-activate and steal the session back.

This adds a check to ignore 'sink' events if the session is not connected.

* Fix backport pipeline

---------

Co-authored-by: Marvin Schenkel <marvinschenkel@gmail.com>
2 months agoSyncGroupPlayer: Inherit MULTI_DEVICE_DSP feature from group members (#2999)
Mischa Siekmann [Thu, 22 Jan 2026 08:31:21 +0000 (09:31 +0100)]
SyncGroupPlayer: Inherit MULTI_DEVICE_DSP feature from group members (#2999)

* SyncGroupPlayer: Inherit MULTI_DEVICE_DSP feature from group members

* SyncGroupPlayer: use reference_player as variable name for the player to inherit the supported features from

2 months agofix: Add support for AAC streaming route for universal groups (#2990)
Rob Coleman [Thu, 22 Jan 2026 08:30:16 +0000 (00:30 -0800)]
fix: Add support for AAC streaming route for universal groups (#2990)

* Add support for AAC streaming route

* Add support for AAC audio format

Add a case to properly set to the audio format to AAC if the original format is AAC and the target format can't be determined from the player.

* Remove unnecessary special case for AAC

2 months agofix(Tidal): Remove unnecessary deduping of recomendation rows (#3006)
Jozef Kruszynski [Thu, 22 Jan 2026 07:31:02 +0000 (08:31 +0100)]
fix(Tidal): Remove unnecessary deduping of recomendation rows (#3006)

2 months agoAdd Spanish and Italian to Alexa language commands (#3005)
Sameer Alam [Thu, 22 Jan 2026 07:07:05 +0000 (01:07 -0600)]
Add Spanish and Italian to Alexa language commands (#3005)

Update language commands

Co-authored-by: Sameer Alam <alams154@users.noreply.github.com>
2 months ago⬆️ Update music-assistant-models to 1.1.89 (#3003)
music-assistant-machine [Wed, 21 Jan 2026 03:08:40 +0000 (04:08 +0100)]
⬆️ Update music-assistant-models to 1.1.89 (#3003)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
2 months ago⬆️ Update music-assistant-frontend to 2.17.72 (#3001)
music-assistant-machine [Tue, 20 Jan 2026 18:05:42 +0000 (19:05 +0100)]
⬆️ Update music-assistant-frontend to 2.17.72 (#3001)

Co-authored-by: MarvinSchenkel <17671719+MarvinSchenkel@users.noreply.github.com>
2 months agoAdd 24 and 32-bit audio support for Sendspin (#2977)
Maxim Raznatovski [Tue, 20 Jan 2026 18:01:06 +0000 (19:01 +0100)]
Add 24 and 32-bit audio support for Sendspin (#2977)

* feat: add 32-bit audio and mono output support for sendspin

* refactor: remove mono output conversion for per-player streams

The mono rendering with aiosendspin upmixing added complexity
without clear benefit. Reverting to direct output format usage.

2 months agoPlex connect: Improve queue loading performance (#2735)
Anatosun [Tue, 20 Jan 2026 17:09:14 +0000 (18:09 +0100)]
Plex connect: Improve queue loading performance (#2735)

* Plex connect: Improve queue loading performance

Start playback immediately with first track while loading remaining tracks
in background. This reduces perceived latency when playing queues from Plex.

Changes:
- Load and play first track immediately when queue is requested
- Fetch remaining tracks concurrently in background task
- Broadcast timeline update after first track starts

* Plex connect: applied copilot suggestion

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Plex connect: fixed task creation

* Plex Connect: added await clause on line 715

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Marvin Schenkel <marvinschenkel@gmail.com>
2 months agoFix linter
Marvin Schenkel [Tue, 20 Jan 2026 17:03:59 +0000 (18:03 +0100)]
Fix linter

2 months agoAdd RET505 mypy rule (#2962)
OzGav [Tue, 20 Jan 2026 15:34:46 +0000 (00:34 +0900)]
Add RET505 mypy rule (#2962)

2 months agoRevert "use instance_id instead of domain on provider level logging" (#3000)
Marvin Schenkel [Tue, 20 Jan 2026 14:51:48 +0000 (15:51 +0100)]
Revert "use instance_id instead of domain on provider level logging" (#3000)

Revert "use instance_id instead of domain on provider level logging (#2943)"

This reverts commit 7af16a90d8640bb4c0409a73237b9c64b7c2817c.

2 months agoBump aiosendspin to 3.0 (#2924)
Paulus Schoutsen [Tue, 20 Jan 2026 13:27:41 +0000 (08:27 -0500)]
Bump aiosendspin to 3.0 (#2924)

* Bump aiosendspin to 2.0

Adapt to breaking changes in aiosendspin:
- Change event listener callbacks from async to synchronous
- Change start_server advertise_host to advertise_addresses

* fix: handle client disconnect during pending unregister wait

Check if client still exists after waiting for pending unregister,
preventing player registration attempts for disconnected clients.

* chore(deps): bump aiosendspin to 3.0.0

---------

Co-authored-by: Maxim Raznatovski <nda.mr43@gmail.com>
2 months agoFix pre announce typing (#2998)
Artur Pragacz [Tue, 20 Jan 2026 13:19:21 +0000 (14:19 +0100)]
Fix pre announce typing (#2998)

2 months agoAlso ignore ASYNC110 and N818
Marvin Schenkel [Tue, 20 Jan 2026 11:00:17 +0000 (12:00 +0100)]
Also ignore ASYNC110 and N818

2 months agoAdd comment about ASYNC109 to project file
Marvin Schenkel [Tue, 20 Jan 2026 10:43:12 +0000 (11:43 +0100)]
Add comment about ASYNC109 to project file

2 months agoChore(deps-dev): Bump ruff from 0.14.9 to 0.14.13 (#2995)
dependabot[bot] [Tue, 20 Jan 2026 08:29:51 +0000 (09:29 +0100)]
Chore(deps-dev): Bump ruff from 0.14.9 to 0.14.13 (#2995)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.14.9 to 0.14.13.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.14.9...0.14.13)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.14.13
  dependency-type: direct:development
  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>
2 months agoFix linter
Marvin Schenkel [Mon, 19 Jan 2026 15:28:31 +0000 (16:28 +0100)]
Fix linter

2 months agoorf radiothek provider (#2968)
DButter [Mon, 19 Jan 2026 15:27:30 +0000 (16:27 +0100)]
orf radiothek provider (#2968)

* orf radiothek: Initial Commit

* orf radiothek: fixed duplicate super call

* orf radiothek: moved some config value to advanced category

* orf radiothek: renamed classes to helper, removed catchup day conf entry set it to 30 days flat

* orf radiothek: set stage to beta and corrected version

* orf radiothek: some more cleanup

* orf radiothek: fixed some code smells

* orf radiothek: move stream quality type to advanced

* Update music_assistant/providers/orf_radiothek/__init__.py

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

Co-authored-by: DButter <private@david-butter.com>
Co-authored-by: Marvin Schenkel <marvinschenkel@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2 months ago⬆️ Update music-assistant-frontend to 2.17.71 (#2991)
music-assistant-machine [Mon, 19 Jan 2026 14:06:13 +0000 (15:06 +0100)]
⬆️ Update music-assistant-frontend to 2.17.71 (#2991)

Co-authored-by: MarvinSchenkel <17671719+MarvinSchenkel@users.noreply.github.com>
2 months agoAudiobookshelf: Use a direct stream if configured with an API token. (#2989)
Fabian Munkes [Mon, 19 Jan 2026 13:59:08 +0000 (14:59 +0100)]
Audiobookshelf: Use a direct stream if configured with an API token. (#2989)

* do not take internal web server detour for API key users

* add debugging messages

2 months agoMerge branch 'dev' of https://github.com/music-assistant/server into dev
Marvin Schenkel [Mon, 19 Jan 2026 10:42:02 +0000 (11:42 +0100)]
Merge branch 'dev' of https://github.com/music-assistant/server into dev

2 months agoApply explicit permissions to pr-labels workflow
Marvin Schenkel [Mon, 19 Jan 2026 10:41:57 +0000 (11:41 +0100)]
Apply explicit permissions to pr-labels workflow

2 months agofix(alexa): Fix issue with language on alexa skills for french and germany (#2982)
Valentin Lacour [Mon, 19 Jan 2026 10:35:31 +0000 (11:35 +0100)]
fix(alexa): Fix issue with language on alexa skills for french and germany (#2982)

Co-authored-by: Valentin Lacour <vlacour@sweeek.com>
2 months agoUpdate old template references + other cleanups (#2928)
David McClosky [Mon, 19 Jan 2026 08:21:59 +0000 (03:21 -0500)]
Update old template references + other cleanups (#2928)

* Update old template references + other cleanups

(also some reformatting and a note about how to run a separate development server)

* Update instructions around setting server port

* Remove notes on setting a custom port

2 months agoAdd SomaFM Radio provider (#2981)
Garrett Mace [Mon, 19 Jan 2026 08:07:52 +0000 (00:07 -0800)]
Add SomaFM Radio provider (#2981)

* SomaFM provider initial release

* Polish playlist parsing per PR points (and remove MP3 format config)

2 months agoUse bind ip of the stream server for Sendspin url (#2930)
Marvin Schenkel [Mon, 19 Jan 2026 06:46:37 +0000 (07:46 +0100)]
Use bind ip of the stream server for Sendspin url (#2930)

2 months agoPrevent duplicate airplay player creation leaving player in invalid state (#2955)
kdkavanagh [Sat, 17 Jan 2026 16:17:11 +0000 (10:17 -0600)]
Prevent duplicate airplay player creation leaving player in invalid state (#2955)

2 months agoMaintenance for security related fixes (#2983)
Marvin Schenkel [Sat, 17 Jan 2026 16:04:21 +0000 (17:04 +0100)]
Maintenance for security related fixes (#2983)

2 months ago⬆️ Update music-assistant-frontend to 2.17.70 (#2987)
music-assistant-machine [Sat, 17 Jan 2026 03:00:42 +0000 (04:00 +0100)]
⬆️ Update music-assistant-frontend to 2.17.70 (#2987)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
2 months agouse instance_id instead of domain on provider level logging (#2943)
Fabian Munkes [Fri, 16 Jan 2026 14:35:01 +0000 (15:35 +0100)]
use instance_id instead of domain on provider level logging (#2943)

* use instance id instead of domain in logging

* feedback

2 months agoDo not report progress on ffmpeg streaming error (#2973)
Fabian Munkes [Fri, 16 Jan 2026 11:38:09 +0000 (12:38 +0100)]
Do not report progress on ffmpeg streaming error  (#2973)

* do not report progress if there was a streaming error

* Update music_assistant/controllers/player_queues.py

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2 months agoFix backport pipeline
Marvin Schenkel [Thu, 15 Jan 2026 12:33:40 +0000 (13:33 +0100)]
Fix backport pipeline

2 months agoAdd SECURITY.MD
Marvin Schenkel [Thu, 15 Jan 2026 12:15:54 +0000 (13:15 +0100)]
Add SECURITY.MD

2 months agoMake pre-commit configuration cross-platform compatible using uv (#2971)
Alexey ALERT Rubashёff [Thu, 15 Jan 2026 08:03:13 +0000 (10:03 +0200)]
Make pre-commit configuration cross-platform compatible using uv (#2971)

chore: update pre-commit hooks and enforce LF line endings

- Add configuration to enforce LF line endings for all text files.
- Update pre-commit hooks to use `uv run` instead of `scripts/run-in-env.sh` and reorder `gen_requirements_all` to run first.
- Uses LF line endings in gen_requirements_all.

2 months agoAdd Bandcamp Music Provider (#2871)
Alexey ALERT Rubashёff [Thu, 15 Jan 2026 07:55:06 +0000 (09:55 +0200)]
Add Bandcamp Music Provider (#2871)

* bandcamp

* mypy, ruff

* fix provider stream details tests

* fix eol for icons

* final touch

* bump bandcamp-async-api to 0.0.3

* add BandcampMustBeLoggedInError support

- bump bandcamp-async-api to 0.0.4

* fix: PR review

- is_streaming_provider is now True
- catching and raising exceptions revamp
- remove redundant stream content type

* requirements_all.txt line endings

* fix: Add error handling for missing streaming links in BandcampProvider.

- Add error handling for missing streaming links in BandcampProvider.
- Enhance error handling and update test assertions for Bandcamp provider.

* fix: typing

* minor: specify the exact cookie name

* PR review fixes

- Remove search limit configuration.
- CONF_TOP_TRACKS_LIMIT moved to advanced config category
- Update test to use `DEFAULT_TOP_TRACKS_LIMIT` constant.

* PR review: reintroduced search limit, set it to 50

2 months agoFallback to stream.url if url_resolved is missing (#2972)
Marvin Schenkel [Thu, 15 Jan 2026 06:53:43 +0000 (07:53 +0100)]
Fallback to stream.url if url_resolved is missing (#2972)

Updated the RadioBrowserProvider to use stream.url as a fallback for the path if stream.url_resolved is not available. This ensures that a valid stream path is always provided.

2 months ago⬆️ Update music-assistant-frontend to 2.17.69 (#2975)
music-assistant-machine [Thu, 15 Jan 2026 03:07:58 +0000 (04:07 +0100)]
⬆️ Update music-assistant-frontend to 2.17.69 (#2975)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
2 months agoAdd RET507 mypy rule (#2961)
OzGav [Wed, 14 Jan 2026 12:54:43 +0000 (21:54 +0900)]
Add RET507 mypy rule (#2961)

2 months agoAdd metadata support to HLS streams (#2867)
OzGav [Wed, 14 Jan 2026 12:06:47 +0000 (21:06 +0900)]
Add metadata support to HLS streams (#2867)

* Add metadata support to HLS streams

* Use callback

* Remove unnecessary parameter

2 months agoAudible: Add podcast support and browse by author/series/narrator (#2881)
Ztripez [Wed, 14 Jan 2026 08:25:14 +0000 (09:25 +0100)]
Audible: Add podcast support and browse by author/series/narrator (#2881)

* Fix Audible authentication for new API token format

- Add compatible token refresh handling for new actor_access_token format
- Validate signing auth availability (preferred, stable auth method)
- Accept multiple authorization code parameter names in callback URL
- Improve error handling and diagnostic messages

* Add podcast support to Audible provider

Implement podcast library sync and playback for Audible Plus content:
- Add LIBRARY_PODCASTS to supported features
- Implement get_library_podcasts() to fetch podcast series
- Implement get_podcast() for full podcast details
- Implement get_podcast_episodes() and get_podcast_episode()
- Add podcast and episode parsing functions
- Update get_stream() to handle podcast episodes (Mpeg drm_type)

Podcasts in Audible use "PodcastParent" content_delivery_type for series.
Episodes are fetched via the parent_asin relationship.
Podcast episodes use non-DRM MP3 streaming (drm_type: "Mpeg").

* Add browse support for authors, series, narrators, genres, publishers

Implement custom browse functionality to navigate audiobooks by:
- Authors: Browse all authors, see audiobooks sorted by release date (newest first)
- Series: Browse all series, see books in order (by sequence number)
- Narrators: Browse all narrators, see audiobooks sorted by release date
- Genres: Browse all genres, see audiobooks sorted by release date
- Publishers: Browse all publishers, see audiobooks sorted by release date

The base audiobooks/podcasts paths fall back to the parent implementation.
Data is extracted from the library API response.

* Clean up Audible helper comments and docstrings

* Address review comments for Audible PR #2881

- Refactor pagination into _fetch_library_items
- Implement ACR caching to optimize position reporting
- Fix podcast parent fallback
- Handle special characters in browse paths
- Add unit tests for new logic

---------

Co-authored-by: Ztripez von Matérn <ztripez@bobby.se>
2 months agoChore(deps): Bump pillow from 12.0.0 to 12.1.0 (#2937)
dependabot[bot] [Wed, 14 Jan 2026 07:28:36 +0000 (08:28 +0100)]
Chore(deps): Bump pillow from 12.0.0 to 12.1.0 (#2937)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/12.0.0...12.1.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago⬆️ Update music-assistant-frontend to 2.17.68 (#2970)
music-assistant-machine [Wed, 14 Jan 2026 03:13:51 +0000 (04:13 +0100)]
⬆️ Update music-assistant-frontend to 2.17.68 (#2970)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
2 months agoFix content type for Sqeezelite multiclient streams (#2967)
Marvin Schenkel [Tue, 13 Jan 2026 18:22:19 +0000 (19:22 +0100)]
Fix content type for Sqeezelite multiclient streams (#2967)

2 months agoChore(deps): Bump alexapy from 1.29.10 to 1.29.14 (#2938)
dependabot[bot] [Tue, 13 Jan 2026 14:58:16 +0000 (14:58 +0000)]
Chore(deps): Bump alexapy from 1.29.10 to 1.29.14 (#2938)

* Chore(deps): Bump alexapy from 1.29.10 to 1.29.14

Bumps [alexapy](https://gitlab.com/keatontaylor/alexapy) from 1.29.10 to 1.29.14.
- [Release notes](https://gitlab.com/keatontaylor/alexapy/tags)
- [Changelog](https://gitlab.com/keatontaylor/alexapy/blob/dev/CHANGELOG.md)
- [Commits](https://gitlab.com/keatontaylor/alexapy/compare/v1.29.10...v1.29.14)

---
updated-dependencies:
- dependency-name: alexapy
  dependency-version: 1.29.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

---------

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>
2 months agoChore(deps): Bump async-upnp-client from 0.46.0 to 0.46.2 (#2960)
dependabot[bot] [Tue, 13 Jan 2026 14:34:00 +0000 (14:34 +0000)]
Chore(deps): Bump async-upnp-client from 0.46.0 to 0.46.2 (#2960)

* Chore(deps): Bump async-upnp-client from 0.46.0 to 0.46.2

Bumps [async-upnp-client](https://github.com/StevenLooman/async_upnp_client) from 0.46.0 to 0.46.2.
- [Release notes](https://github.com/StevenLooman/async_upnp_client/releases)
- [Changelog](https://github.com/StevenLooman/async_upnp_client/blob/development/CHANGES.rst)
- [Commits](https://github.com/StevenLooman/async_upnp_client/compare/0.46.0...0.46.2)

---
updated-dependencies:
- dependency-name: async-upnp-client
  dependency-version: 0.46.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

---------

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>
2 months agoFix issues with progress bar jumps and time overflow (#2959)
Marvin Schenkel [Tue, 13 Jan 2026 14:18:31 +0000 (15:18 +0100)]
Fix issues with progress bar jumps and time overflow  (#2959)

* Progress

* Progress

* Fix duplicate playlog entries on stream restart

* Use model for queuetimeupdate

* Cleanup

* Update music_assistant/controllers/streams/streams_controller.py

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
* Feedback

* Feedback

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2 months agoBump base image for beta and stable
Marvin Schenkel [Tue, 13 Jan 2026 09:40:44 +0000 (10:40 +0100)]
Bump base image for beta and stable

2 months agoPin `av` to 16.1.0 for sendspin provider (#2966)
Maxim Raznatovski [Tue, 13 Jan 2026 09:34:57 +0000 (10:34 +0100)]
Pin `av` to 16.1.0 for sendspin provider (#2966)

chore(deps): pin `av` to 16.1.0 for sendspin provider

2 months agoBump base image for nightly
Marvin Schenkel [Tue, 13 Jan 2026 08:02:11 +0000 (09:02 +0100)]
Bump base image for nightly

2 months ago⬆️ Update music-assistant-frontend to 2.17.67 (#2964)
music-assistant-machine [Tue, 13 Jan 2026 03:06:39 +0000 (04:06 +0100)]
⬆️ Update music-assistant-frontend to 2.17.67 (#2964)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
2 months agoAdd method to move item to end of queue (#2929)
Bart [Mon, 12 Jan 2026 16:25:43 +0000 (17:25 +0100)]
Add method to move item to end of queue (#2929)

2 months agoAdd option to add backport label after the PR has been merged
Marvin Schenkel [Mon, 12 Jan 2026 15:01:57 +0000 (16:01 +0100)]
Add option to add backport label after the PR has been merged

2 months agoSubsonic Scrobble: Fix Subsonic interactions after the async change (#2953)
Eric Munson [Mon, 12 Jan 2026 14:25:23 +0000 (09:25 -0500)]
Subsonic Scrobble: Fix Subsonic interactions after the async change (#2953)

The Subsonic provider is now using aiohttp making it unnecessary for us
to wrap calls to is in a new thread. Fix the scrobble plugin to use the
async library as well.

Signed-off-by: Eric B Munson <eric@munsonfam.org>
2 months agoAdd PTH202 mypy rule (#2932)
OzGav [Mon, 12 Jan 2026 13:39:28 +0000 (23:39 +1000)]
Add PTH202 mypy rule (#2932)

2 months agoAdd PTH107 mypy rule (#2933)
OzGav [Mon, 12 Jan 2026 13:37:04 +0000 (23:37 +1000)]
Add PTH107 mypy rule (#2933)

2 months agoSendspin web player race condition losing `client/hello` (#2946)
Maxim Raznatovski [Mon, 12 Jan 2026 12:22:42 +0000 (13:22 +0100)]
Sendspin web player race condition losing `client/hello` (#2946)

fix: Sendspin DataChannel race condition losing `client/hello`

Register message/close handlers before ws_connect() to ensure early
messages are queued. Change condition to also queue when task is None
(during setup), not just when running.

2 months agoFix Pandora only showing five stations (#2956)
OzGav [Mon, 12 Jan 2026 12:13:22 +0000 (22:13 +1000)]
Fix Pandora only  showing five stations (#2956)

2 months agofix: Ensure playlist ID is a string in Soundcloud provider (#2957)
Rob Sonke [Mon, 12 Jan 2026 12:04:04 +0000 (13:04 +0100)]
fix: Ensure playlist ID is a string in Soundcloud provider (#2957)

Convert playlist ID to string to prevent an error on startsWith

3 months agoAdd and update provider icons (#2950)
OzGav [Thu, 8 Jan 2026 16:09:08 +0000 (02:09 +1000)]
Add and update provider icons (#2950)

* Add updated cast icon

* Switch to AirPlay audio icons

* Add local filesystem icon

* Add smb provider icon

* Add universal group icon

* Clean up icon_monochrome.svg by removing comments

Removed unused comments and metadata from SVG.

* Add colour version

* Add colour version

* Add colour version

* Add monochrome universal group icon

* Add monochrome smb icon

* Add monochrome local provider icon

3 months ago⬆️ Update music-assistant-frontend to 2.17.66 (#2952)
music-assistant-machine [Thu, 8 Jan 2026 03:06:27 +0000 (04:06 +0100)]
⬆️ Update music-assistant-frontend to 2.17.66 (#2952)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
3 months ago⬆️ Update music-assistant-frontend to 2.17.65 (#2948)
music-assistant-machine [Wed, 7 Jan 2026 03:06:48 +0000 (04:06 +0100)]
⬆️ Update music-assistant-frontend to 2.17.65 (#2948)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
3 months agoAdd ISC001 PYI036 SIM113 mypy rules (#2936)
OzGav [Tue, 6 Jan 2026 13:43:56 +0000 (23:43 +1000)]
Add ISC001 PYI036 SIM113 mypy rules (#2936)

* Add ISC001 PYI036 SIM113 mypy rules

* Add multiple mypy rules

* revert one line

3 months agofix: MusicCast: Handle a failed poll more gracefully (#2944)
Fabian Munkes [Tue, 6 Jan 2026 11:55:00 +0000 (12:55 +0100)]
fix: MusicCast: Handle a failed poll more gracefully (#2944)

* be more generic in musiccast update

* generic exception at all polling places

3 months agoChore(deps-dev): Bump pytest from 8.4.2 to 9.0.2 (#2939)
dependabot[bot] [Tue, 6 Jan 2026 08:21:27 +0000 (09:21 +0100)]
Chore(deps-dev): Bump pytest from 8.4.2 to 9.0.2 (#2939)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.2 to 9.0.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.4.2...9.0.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months agoFix Music Assistant playlist not being removed (#2931)
OzGav [Tue, 6 Jan 2026 08:10:23 +0000 (18:10 +1000)]
Fix Music Assistant playlist not being removed (#2931)

* Fix playlist recreation issue after removal

When a Music Assistant playlist was removed from the library, the config entry
was correctly removed but the physical playlist file in the playlists/ directory
was not deleted. This orphaned file could cause the playlist to be recreated
during synchronization.

This fix ensures that when a playlist is removed via library_remove(), both the
config entry and the physical playlist file are deleted.

Fixes the issue where playlists would reappear after sync with a new ID.

* Add LIBRARY_PLAYLISTS_EDIT feature to builtin provider

The builtin provider was missing ProviderFeature.LIBRARY_PLAYLISTS_EDIT,
which prevented library_remove() from being called when playlists were
removed from the library. This meant the playlist file cleanup code was
never executed.

Adding this feature ensures that:
1. library_edit_supported() returns True for playlists
2. library_remove() is called during playlist removal
3. The playlist file is properly deleted

* Use playlist lock for file deletion to prevent race conditions

When deleting a playlist file, we now acquire the _playlist_lock to prevent
race conditions with concurrent read/write operations, consistent with
_read_playlist_file_items() and _write_playlist_file_items().

---------

Co-authored-by: Claude <noreply@anthropic.com>
3 months ago⬆️ Update music-assistant-frontend to 2.17.64 (#2942)
music-assistant-machine [Tue, 6 Jan 2026 03:06:44 +0000 (04:06 +0100)]
⬆️ Update music-assistant-frontend to 2.17.64 (#2942)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
3 months agoChore(deps): Bump aiohttp from 3.13.2 to 3.13.3 (#2940)
dependabot[bot] [Mon, 5 Jan 2026 17:31:24 +0000 (18:31 +0100)]
Chore(deps): Bump aiohttp from 3.13.2 to 3.13.3 (#2940)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.13.3
  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>
3 months agoFix webserver base url not persisting (#2935)
Marvin Schenkel [Mon, 5 Jan 2026 17:31:09 +0000 (18:31 +0100)]
Fix webserver base url not persisting (#2935)

* Fix webserver base url not persisting

* Cleanup

3 months agoPlex Connect: Ungroup player before starting playback (#2877)
Anatosun [Mon, 5 Jan 2026 12:02:43 +0000 (13:02 +0100)]
Plex Connect: Ungroup player before starting playback (#2877)

* Plex Connect: Ungroup player before starting playback

When a user selects a specific player for playback in Plex, automatically
remove it from any sync groups or permanent groups. This improves UX by
ensuring playback only happens on the selected player, not all grouped players.

- Added _ungroup_player_if_needed() helper method
- Calls set_members directly to bypass static member restrictions
- Applied to handle_play_media (new playback) and handle_play (resume)
- Works with temporary syncs, permanent groups, and dynamic groups

* Plex Connect: Add error handling and feature checks to player ungrouping

* Plex Connect: implemented corrections

3 months agoBump aiosendspin to 2.0.0 (#2925)
Paulus Schoutsen [Mon, 5 Jan 2026 08:33:36 +0000 (03:33 -0500)]
Bump aiosendspin to 2.0.0 (#2925)

## Summary

- Bump aiosendspin from 1.1.4 to 2.0.0
- Fix compatibility with sendspin-cli 2.0.0+ by accepting spec-compliant field names in the client/hello support object
- Update `start_server()` API call: `advertise_host` → `advertise_addresses` (breaking change from Sendspin/aiosendspin#117)

3 months ago⬆️ Update music-assistant-models to 1.1.88 (#2927)
music-assistant-machine [Mon, 5 Jan 2026 03:19:06 +0000 (04:19 +0100)]
⬆️ Update music-assistant-models to 1.1.88 (#2927)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
3 months agoabs: parse "date added" into the MA library (#2923)
Fabian Munkes [Sun, 4 Jan 2026 11:51:56 +0000 (12:51 +0100)]
abs: parse "date added" into the MA library (#2923)

* Parse date_added into the library database

* Process date_added in sync

* Add date_added to filesystem provider

* add date_added for abs

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
3 months agoAllow music providers to provide the "date_added" field to library items (#2920)
Marcel van der Veldt [Sun, 4 Jan 2026 11:12:50 +0000 (12:12 +0100)]
Allow music providers to provide the "date_added" field to library items (#2920)

* Parse date_added into the library database

* Process date_added in sync

* Add date_added to filesystem provider

* fix for mashumaro

---------

Co-authored-by: Fabian Munkes <105975993+fmunkes@users.noreply.github.com>
3 months ago⬆️ Update music-assistant-frontend to 2.17.63 (#2921)
music-assistant-machine [Sun, 4 Jan 2026 03:17:55 +0000 (04:17 +0100)]
⬆️ Update music-assistant-frontend to 2.17.63 (#2921)

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
3 months agoFix sql injection vulnerability (#2916)
Marcel van der Veldt [Sun, 4 Jan 2026 01:00:30 +0000 (02:00 +0100)]
Fix sql injection vulnerability (#2916)

3 months ago⬆️ Update music-assistant-models to 1.1.87 (#2919)
music-assistant-machine [Sun, 4 Jan 2026 00:57:03 +0000 (01:57 +0100)]
⬆️ Update music-assistant-models to 1.1.87 (#2919)

* ⬆️ Update music-assistant-models to 1.1.87

* fix snapshots

---------

Co-authored-by: marcelveldt <6389780+marcelveldt@users.noreply.github.com>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
3 months agoAdd Pandora provider (#2503)
OzGav [Sun, 4 Jan 2026 00:51:10 +0000 (10:51 +1000)]
Add Pandora provider (#2503)

3 months agoChange radio items order to play count descending (#2918)
OzGav [Sun, 4 Jan 2026 00:46:48 +0000 (10:46 +1000)]
Change radio items order to play count descending (#2918)

3 months agoChore(deps): Bump aiosqlite from 0.21.0 to 0.22.1 (#2898)
dependabot[bot] [Sun, 4 Jan 2026 00:09:39 +0000 (01:09 +0100)]
Chore(deps): Bump aiosqlite from 0.21.0 to 0.22.1 (#2898)

Bumps [aiosqlite](https://github.com/omnilib/aiosqlite) from 0.21.0 to 0.22.1.
- [Changelog](https://github.com/omnilib/aiosqlite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omnilib/aiosqlite/compare/v0.21.0...v0.22.1)

---
updated-dependencies:
- dependency-name: aiosqlite
  dependency-version: 0.22.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months agoSubsonic: Update Subsonic library and use new AsyncConnection (#2910)
Eric Munson [Sat, 3 Jan 2026 23:57:28 +0000 (18:57 -0500)]
Subsonic: Update Subsonic library and use new AsyncConnection (#2910)

3 months agoBump get-mac 0.9.2 to getmac 0.9.5 (#2912)
Martin Weinelt [Sat, 3 Jan 2026 23:53:54 +0000 (00:53 +0100)]
Bump get-mac 0.9.2 to getmac 0.9.5 (#2912)

3 months agoEnhanced Skip previous behavior (#2915)
Bart [Sat, 3 Jan 2026 23:20:42 +0000 (00:20 +0100)]
Enhanced Skip previous behavior (#2915)

3 months agoABS/ iTunes podcasts: allow translation of folders (#2913)
Fabian Munkes [Sat, 3 Jan 2026 23:17:35 +0000 (00:17 +0100)]
ABS/ iTunes podcasts: allow translation of folders (#2913)

3 months agoFix invalid timeout value for TLS connections (#2908)
mtdcr [Sat, 3 Jan 2026 18:26:41 +0000 (19:26 +0100)]
Fix invalid timeout value for TLS connections (#2908)

3 months agoBump aioslimproto to 3.1.4 (#2909)
Marvin Schenkel [Fri, 2 Jan 2026 18:30:43 +0000 (19:30 +0100)]
Bump aioslimproto to 3.1.4 (#2909)

3 months agofix: MusicCast Pause (#2907)
Fabian Munkes [Fri, 2 Jan 2026 15:08:43 +0000 (16:08 +0100)]
fix: MusicCast Pause (#2907)

* let MA handle pause in MusicCast

* handle pause for MA control as stop

3 months agoFix track name stripping too agressive (#2901)
OzGav [Fri, 2 Jan 2026 14:38:25 +0000 (00:38 +1000)]
Fix track name stripping too agressive (#2901)

* Fix track name stripping too agressive

* Preserve capitalisation

* Optimise

* Adjust comment

* Simplify WITH_TITLE_WORDS

* Add tests

* Test for version words in song title

3 months agoBump aioslimproto to 3.1.3 (#2906)
Marvin Schenkel [Fri, 2 Jan 2026 12:58:09 +0000 (13:58 +0100)]
Bump aioslimproto to 3.1.3 (#2906)

3 months agoChore(deps): Bump pillow from 11.3.0 to 12.0.0 (#2869)
dependabot[bot] [Fri, 2 Jan 2026 12:29:45 +0000 (13:29 +0100)]
Chore(deps): Bump pillow from 11.3.0 to 12.0.0 (#2869)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.3.0 to 12.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/11.3.0...12.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>