PiPod_ePaper icon indicating copy to clipboard operation
PiPod_ePaper copied to clipboard

Updfating Library

Open hokuto123456789 opened this issue 4 months ago • 3 comments

hello. Please let me know because I can't get it right while I'm creating it.

  1. Put MP3 files in Music folder
  2. Menu Settings Select Update Library

I get an error like the one below and can't return to the menu. Is there a solution?

image

pi@raspberrypi:~/PiPod_ePaper/Software $ python3 main.py Traceback (most recent call last): File "/home/pi/PiPod_ePaper/Software/main.py", line 142, in music.updateLibrary() # Re-create the info.csv file ^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/PiPod_ePaper/Software/playback.py", line 283, in updateLibrary stringTitle = newtitle[0].lstrip() ^^^^^^^^ UnboundLocalError: cannot access local variable 'newtitle' where it is not associated with a value

hokuto123456789 avatar Oct 02 '24 08:10 hokuto123456789