diff --git a/requirements.txt b/requirements.txt index b91d429..e94761d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -deemix>=1.1.26 +deemix>=1.1.28 flask flask-socketio pywebview>=3.3.1 diff --git a/server.py b/server.py index 0a72475..2b1cc50 100644 --- a/server.py +++ b/server.py @@ -200,14 +200,7 @@ def saveSettings(settings, spotifyCredentials, spotifyUser): def getTracklist(data): if data['type'] == 'artist': artistAPI = session['dz'].get_artist(data['id']) - artistAlbumsAPI = session['dz'].get_artist_albums(data['id'])['data'] - tracksData = {'all': []} - for release in artistAlbumsAPI: - if not release['record_type'] in tracksData: - tracksData[release['record_type']] = [] - tracksData[release['record_type']].append(release) - tracksData['all'].append(release) - artistAPI['releases'] = tracksData + artistAPI['releases'] = session['dz'].get_artist_discography_gw(data['id'], 100) emit('show_artist', artistAPI) elif data['type'] == 'spotifyplaylist': playlistAPI = app.getSpotifyPlaylistTracklist(data['id']) diff --git a/webui b/webui index 1c6141c..c1a1829 160000 --- a/webui +++ b/webui @@ -1 +1 @@ -Subproject commit 1c6141ca5a3337301826b1bfa55b79f812e35f7e +Subproject commit c1a18293374364c61c426f650ed6cdafd025556e