B"H sort albums of artist

This commit is contained in:
hhm 2017-03-08 21:53:58 -05:00
parent 17432857a6
commit ea98c7e270

View file

@ -208,7 +208,7 @@ class SubsonicApi():
return [] return []
albums = response.get('artist').get('album') albums = response.get('artist').get('album')
if albums is not None: if albums is not None:
return albums return sorted(albums, key=lambda album: string_nums_nocase_sort_key(album['name']))
return [] return []
def get_raw_songs(self, album_id): def get_raw_songs(self, album_id):