feat(deezer): Genre and mood flows (#3171)
authorJulian Daberkow <jdaberkow@users.noreply.github.com>
Tue, 17 Feb 2026 09:06:19 +0000 (10:06 +0100)
committerGitHub <noreply@github.com>
Tue, 17 Feb 2026 09:06:19 +0000 (10:06 +0100)
commit9eda5abf3b35fd55e70d2f59bed3162b86164469
tree1fcb185fb0a81db200e4e8a83ba08096a38ba197
parente5835a6aeae3e74f7430e4972c05936a4ca61830
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>
music_assistant/providers/deezer/__init__.py
music_assistant/providers/deezer/gw_client.py