Fix: Subsonic: Use any parent link when enumerating songs (#1966)
authorEric Munson <eric@munsonfam.org>
Tue, 18 Feb 2025 14:59:42 +0000 (09:59 -0500)
committerGitHub <noreply@github.com>
Tue, 18 Feb 2025 14:59:42 +0000 (15:59 +0100)
commita658369609a1fb2d67d1ad8356c4c50858ac47c1
tree5e2b0f7446a166af484370113c14041871c8a38a
parent722c7140c231e0a92173caa69bab1914dbfbbac3
Fix: Subsonic: Use any parent link when enumerating songs (#1966)

Fix: Subonsic: Use any parent link when enumerating songs

The LMS implementation does not use the parent field for album IDs. The
spec allows for one or both of parent and albumId to be filled so we
should accept both.

Also fix typing info for the local staring the fetched album.

Closes: music-assistant/support#3501
Signed-off-by: Eric B Munson <eric@munsonfam.org>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
music_assistant/providers/opensubsonic/sonic_provider.py