Removed updateToast
This commit is contained in:
parent
2045349163
commit
3fdbc0174a
|
@ -123,7 +123,7 @@ def generateQueueItem(dz, url, settings, bitrate=None, albumAPI=None, socket=Non
|
||||||
for album in artistAPITracks['data']:
|
for album in artistAPITracks['data']:
|
||||||
albumList.append(generateQueueItem(dz, album['link'], settings, bitrate))
|
albumList.append(generateQueueItem(dz, album['link'], settings, bitrate))
|
||||||
if socket:
|
if socket:
|
||||||
socket.emit("updateToast", {'msg': f"Added {artistAPI['name']} albums to queue", 'icon': 'done', 'dismiss': True, 'id': 'artist_'+str(artistAPI['id'])})
|
socket.emit("toast", {'msg': f"Added {artistAPI['name']} albums to queue", 'icon': 'done', 'dismiss': True, 'id': 'artist_'+str(artistAPI['id'])})
|
||||||
return albumList
|
return albumList
|
||||||
elif type == "spotifytrack":
|
elif type == "spotifytrack":
|
||||||
track_id = get_trackid_spotify(dz, id, settings['fallbackSearch'])
|
track_id = get_trackid_spotify(dz, id, settings['fallbackSearch'])
|
||||||
|
|
Loading…
Reference in New Issue