mem leak fix

new icons! higher qual
miscelanous code cleanup
This commit is contained in:
Brandon4466
2023-03-04 01:58:18 -08:00
parent c18594855e
commit c66ee19a25
13 changed files with 99 additions and 51 deletions

View File

@@ -32,4 +32,38 @@ add canvas videos to background if available. USE: https://github.com/Delitefull
need to find out what the protobud error parsing message with type' error is about, probably use a try and except as e statement then print e to figure out the full error
SpotifyOAuthError
SpotifyException
SpotifyException
02/23/2023:
Make try statement for update_song_label to get around this
Traceback (most recent call last):
File "C:\Users\spong\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
return self.func(*args)
File "C:\Users\spong\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 839, in callit
func(*args)
File "c:\Users\spong\Documents\Python Programs\Spotify\spotifycontroller.py", line 287, in update_song_label
track_name = current_playback["item"]["name"]
TypeError: 'NoneType' object is not subscriptable
02/23/2023:
add ability to like songs, by icon somewhere or maybe by double tapping or holding on track title... animation?? when adding to liked
is calling the functions directly causing the issues? ex. get_devices() should be root.after(0, get_devices) or root(get_devices) ???????
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.9/tkinter/__init__.py", line 1892, in __call__
return self.func(*args)
File "/usr/lib/python3.9/tkinter/__init__.py", line 814, in callit
func(*args)
File "<string>", line 287, in update_song_label
TypeError: 'NoneType' object is not subscriptable
03/04/2023:
switch to spotify web api for track information to avoid api limit???
03/04/2023:
new updater, use version numbering to pull updates if server has a newer version and dont update if newer version isnt available.
create a single json file that has a version list with download links to each version. have updater.py download the json file, read and compare to currently downloaded version.
if newer version is in json file, follow link in json file to download, otherwise continue to start the program.