diff --git a/server.py b/server.py index cf1bdec..2f5be0d 100644 --- a/server.py +++ b/server.py @@ -239,6 +239,10 @@ def analyzeLink(link): def getChartTracks(id): emit('setChartTracks', session['dz'].get_playlist_tracks(id)['data']) +@socketio.on('update_userFavorites') +def update_userFavorites(): + emit('updated_userFavorites', app.getUserFavorites(session['dz'])) + @socketio.on('update_userSpotifyPlaylists') def update_userSpotifyPlaylists(spotifyUser): if spotifyUser != False: diff --git a/webui b/webui index a0204c4..9cdad5d 160000 --- a/webui +++ b/webui @@ -1 +1 @@ -Subproject commit a0204c4953ec59112d328f3b9ac8b2c5c27a04bd +Subproject commit 9cdad5d13dff69bfa9740d27274dd875b9b00c7d