Typing fixes for the tracks controller (#2635)
authorOzGav <gavnosp@hotmail.com>
Tue, 25 Nov 2025 13:34:39 +0000 (23:34 +1000)
committerGitHub <noreply@github.com>
Tue, 25 Nov 2025 13:34:39 +0000 (14:34 +0100)
commit9ea8b561facb18f42fcdd3ceea3c63cd4d66eb87
treef24d2d775528b56ce1bf5795d511bcf2b517847e
parent736b1833861e974b09e89d649897eb7e88c8570e
Typing fixes for the tracks controller (#2635)

* Typing fixes for the tracks controller

* Fix logic change

* Fix _set_track_artist to handle ItemMappings without numeric IDs

* Remove db asserts

* Change base class

* Convert itemmapping to artist if needed

* convert itemmapping to artist if necessary #2
music_assistant/controllers/media/albums.py
music_assistant/controllers/media/tracks.py
pyproject.toml