music-assistant-server

Branch:dev-lidarr-plugin

Commit Details

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 <[email protected]>
Forgejo

Author

Julian Daberkow<[email protected]>
February 17, 2026 at 09:06 AM UTC

Committer

February 17, 2026 at 09:06 AM UTC
75additions
0deletions
2files changed

Parent commits

Changes

2 files
+75-0

Changed Files (2)

music_assistant/providers/deezer/
music_assistant/providers/deezer/__init__.py
+40
music_assistant/providers/deezer/gw_client.py
+35