Fix browsing genre

This commit is contained in:
tjiho 2024-10-27 02:56:10 +01:00
parent 4c7a5192cb
commit 62f1fc8062
2 changed files with 3 additions and 3 deletions

View file

@ -625,8 +625,8 @@ class SubsonicApi:
def get_genres_as_refs(self):
genres = self.get_raw_genres()
return [Ref.directory(
name=genre.value,
uri=uri.get_genre_uri(genre.value)
name=genre['value'],
uri=uri.get_genre_uri(genre['value'])
) for genre in genres]
def raw_song_to_ref(self, song):