Fix browsing genre
This commit is contained in:
parent
4c7a5192cb
commit
62f1fc8062
2 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue