master
Lukas Schulz 2020-12-20 20:09:41 +01:00
parent 5f34d572cd
commit 66ed4df59f
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ def get_track():
global is_playing
is_playing = track['is_playing']
global song_name
if track is None:
return
song_name = track['item']['name']
global artist_name
artist_name = track['item']['artists'][0]['name']