removed album art file; all handled in memory now

This commit is contained in:
Brandon4466
2023-01-12 22:12:50 -08:00
parent aaf80d14f1
commit b023607e33
3 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -205,14 +205,14 @@ pause_img = ttk.PhotoImage(file="icons/pause-circle-x2.png")
next_img = ttk.PhotoImage(file="icons/skip-next-x2.png")
previous_img = ttk.PhotoImage(file="icons/skip-previous-x2.png")
lyrics_img = ttk.PhotoImage(file="icons/lyrics.png")
album_art_img = ImageTk.PhotoImage(Image.open("album_art.jpg"))
album_art_img = ""
# album_art_img = ttk.PhotoImage(file="album_art.png")
# canvas = ttk.Canvas(root, width=480, height=320)
# canvas.create_image(0, 0, image=album_art_img, anchor="nw")
# canvas.grid()
# canvas = ttk.Canvas(root, width=480, height=320)
canvas = ttk.Canvas(root, width=480, height=320)
frame_artist_song = tk.Frame(root)
frame_controls = tk.Frame(root)
@@ -266,6 +266,7 @@ album_art_label.bind("<Button-1>", lambda e:unloadLyrics_pressed())
# Function to update the song label with the current track's name
def update_song_label():
global lrc
global album_art_img
# Get the current playback information
try:
current_playback = spotify.current_playback()