** MAJOR speed improvements **
Refactored code for TRUE multithreaded performance startup time decreased from 2 secs to 0.2 secs updates song time decreased from 3 secs to 0.1 secs introduced proper and full error handler, can fully recover from errors (including performing a full restart) implemented web server to push updates and restart application (flask) getting lyrics is truely mulithreaded now, all in memory.
This commit is contained in:
19
todo.txt
19
todo.txt
@@ -81,4 +81,21 @@ make it so the displays turns off automatically after some time (maybe depending
|
||||
make it so update.py that kills the main script after 6 hours and turn the display off, if the displays wakes up then it will restart the main script
|
||||
|
||||
04/08/2023:
|
||||
background of artist image
|
||||
background of artist image
|
||||
hold previous button to start song over
|
||||
|
||||
04/10/2023:
|
||||
if title is held for over 5 seconds then also shutdown the update.py by throwing an exception that the update.py will catch and then kill the update script
|
||||
also, if you hold it for over 10 seconds then shutdown the pi entirely. all by sending certain sigterms with exit()
|
||||
|
||||
04/13/2023:
|
||||
update.py modified to handle click (untested), spotify.py functions created. TODO: tie get_devices into sleep & kill functions as those are setup to kill script and handoff to update.py
|
||||
|
||||
04/28/2023:
|
||||
periodically check the spotify api, if it is playing something then click a button to wake the display
|
||||
|
||||
04/29/2023:
|
||||
experiment with converting project to flask/js and browser based.
|
||||
|
||||
05/07/2023:
|
||||
detect previous song change by checking if song is at less than 5 seconds into song, if yes then go to previous song, if not then restart song.
|
||||
Reference in New Issue
Block a user