)trying the same thing running into multiple problems
install.sh gives also errors with python 3.11.2 which it detects to be a smaller number then the python 3.8.5 required
tried the docker way but that messes up on a rpi4 with bookworm
✔ Container jukebox Recreated 0.2s
Attaching to jukebox
jukebox | [2024-05-14 17:13:54,563] INFO: Update v1.0.9 available. Run install.sh to update.
jukebox | [2024-05-14 17:13:55,753] INFO: Musicfig (offline mode) started.
jukebox | [2024-05-14 17:13:55,932] INFO: Lego Dimensions base activated.
jukebox | Exception in thread Thread-1:
jukebox | Traceback (most recent call last):
jukebox | File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner
jukebox | self.run()
jukebox | File "/usr/local/lib/python3.9/threading.py", line 910, in run
jukebox | self._target(*self._args, **self._kwargs)
jukebox | File "/musicfig/app/lego.py", line 112, in __init__
jukebox | self.base = self.startLego()
jukebox | File "/musicfig/app/lego.py", line 232, in startLego
jukebox | self.initMp3()
jukebox | File "/musicfig/app/lego.py", line 133, in initMp3
jukebox | self.p = mp3player.Player()
jukebox | File "/musicfig/app/mp3player.py", line 123, in __init__
jukebox | self.mp3 = ExtMpg123()
jukebox | File "/musicfig/app/mp3player.py", line 36, in __init__
jukebox | super().__init__(filename, library_path)
jukebox | File "/usr/local/lib/python3.9/site-packages/mpg123.py", line 110, in __init__
jukebox | self._lib = self.init_library(library_path)
jukebox | File "/usr/local/lib/python3.9/site-packages/mpg123.py", line 99, in init_library
jukebox | raise self.LibInitializationException('libmpg123 not found')
jukebox | mpg123.Mpg123.LibInitializationException: libmpg123 not found
by the looks of it (date when image was created) python 3.9 was used so way older then bookworm, and the installation instructions, make me think it was originally made for buster (10) with a recompile of the needed python version (3.8.5) in it
if you check apt for python-usb you'll find python3-usb (but that don't work if you change the install.sh file), it will pass by it but does not work
pi@jukebox:~ $ sudo apt search python-usb
Sorting... Done
Full Text Search... Done
python3-usb/stable,stable,now 1.2.1-2 all [installed]
USB interface for Python (Python3)