From 2a277db76a499a489557c30a8b48afd82de6fbab Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 20 Nov 2020 09:14:58 +0100 Subject: [PATCH] Removed 25 items limit in getUserFavorites in app.py --- app.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app.py b/app.py index dd30d7b..da221d4 100644 --- a/app.py +++ b/app.py @@ -199,15 +199,15 @@ class deemix: if dz.logged_in: user_id = dz.current_user['id'] try: - result['playlists'] = dz.api.get_user_playlists(user_id)['data'] - result['albums'] = dz.api.get_user_albums(user_id)['data'] - result['artists'] = dz.api.get_user_artists(user_id)['data'] - result['tracks'] = dz.api.get_user_tracks(user_id)['data'] + result['playlists'] = dz.api.get_user_playlists(user_id, limit=-1)['data'] + result['albums'] = dz.api.get_user_albums(user_id, limit=-1)['data'] + result['artists'] = dz.api.get_user_artists(user_id, limit=-1)['data'] + result['tracks'] = dz.api.get_user_tracks(user_id, limit=-1)['data'] except: - result['playlists'] = dz.gw.get_user_playlists(user_id) - result['albums'] = dz.gw.get_user_albums(user_id) - result['artists'] = dz.gw.get_user_artists(user_id) - result['tracks'] = dz.gw.get_user_tracks(user_id) + result['playlists'] = dz.gw.get_user_playlists(user_id, limit=-1) + result['albums'] = dz.gw.get_user_albums(user_id, limit=-1) + result['artists'] = dz.gw.get_user_artists(user_id, limit=-1) + result['tracks'] = dz.gw.get_user_tracks(user_id, limit=-1) return result def updateUserSpotifyPlaylists(self, user):