removed album art file; all handled in memory now
This commit is contained in:
BIN
album_art.jpg
BIN
album_art.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 111 KiB |
BIN
album_art.png
BIN
album_art.png
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB |
@@ -205,14 +205,14 @@ pause_img = ttk.PhotoImage(file="icons/pause-circle-x2.png")
|
|||||||
next_img = ttk.PhotoImage(file="icons/skip-next-x2.png")
|
next_img = ttk.PhotoImage(file="icons/skip-next-x2.png")
|
||||||
previous_img = ttk.PhotoImage(file="icons/skip-previous-x2.png")
|
previous_img = ttk.PhotoImage(file="icons/skip-previous-x2.png")
|
||||||
lyrics_img = ttk.PhotoImage(file="icons/lyrics.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")
|
# album_art_img = ttk.PhotoImage(file="album_art.png")
|
||||||
|
|
||||||
# canvas = ttk.Canvas(root, width=480, height=320)
|
# canvas = ttk.Canvas(root, width=480, height=320)
|
||||||
# canvas.create_image(0, 0, image=album_art_img, anchor="nw")
|
# canvas.create_image(0, 0, image=album_art_img, anchor="nw")
|
||||||
# canvas.grid()
|
# 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_artist_song = tk.Frame(root)
|
||||||
frame_controls = 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
|
# Function to update the song label with the current track's name
|
||||||
def update_song_label():
|
def update_song_label():
|
||||||
global lrc
|
global lrc
|
||||||
|
global album_art_img
|
||||||
# Get the current playback information
|
# Get the current playback information
|
||||||
try:
|
try:
|
||||||
current_playback = spotify.current_playback()
|
current_playback = spotify.current_playback()
|
||||||
|
|||||||
Reference in New Issue
Block a user