Skip to content

Updfating Library #2

@hokuto123456789

Description

@hokuto123456789

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions