(04-19-2021, 08:08 PM)jazzaj Wrote: Hi folks,
I can't get peppymeter working on my Moode.
I use 7.1, usb DAC and display on PC browser (FF) or phone browser (FF too)
Everything works fine till seing VU meters on display :
Ctrl CCode:pi@moOde:~/PeppyMeter $ sudo python3 peppymeter.py
pygame 1.9.4.post1
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "peppymeter.py", line 238, in <module>
pm.init_display()
File "peppymeter.py", line 142, in init_display
pygame.display.init()
pygame.error: Unable to open mouse
Code:Exception ignored in: <module 'threading' from '/usr/lib/python3.7/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 1281, in _shutdown
t.join()
File "/usr/lib/python3.7/threading.py", line 1032, in join
self._wait_for_tstate_lock()
File "/usr/lib/python3.7/threading.py", line 1048, in _wait_for_tstate_lock
elif lock.acquire(block, timeout):
KeyboardInterrupt
I see nothing on display except Moode classical UI.
I also have to use mixer type : Fixed. It's usually set to Hardware but with this setting I can't see the L/R bars under putty. Sofware causes me MPD error.
Another thing, I don't have to change the line
Code:"pipe.name = /var/tmp/peppyfifo"
under config.txt but create it because it's not in the original file.
I tried to play with Local display on system config but it changes nothing
What's supposed to be wrong in my case ?
Hi jazzaj,
The configuration reported on Github to run the Peppymeter in the moode environment is based on the fb0 that (as default) is the directly attached display to the rpi (normally touch-screen 7").
It you want to run on a remote terminal you need to run VNC on the pc and to run VNC server on the rpi.
I am sorry: I don't have detailed instruction. I have tested it a long time ago and don't have any notes.
You can see how is the aspect in the original peppymeter github at this page https://github.com/project-owner/PeppyMe...ki/Display.
Please let me know if you need any additional help.
Regards,
Francesco