PeppyMeter Customizations

Hello:

I’ve got PeppyMeter working on Volumio x86 platform with a 1920x480 touch display and I can’t figure out how to customize the screen saver to include the track info and the album cover to be part of the screensaver.

Can someone please point me in the right direction. Is it all done in the meters.txt file? Does anybody already have the necessary settings for such a resolution?

Thanksimage4

I have found a custom folder in the PeppyScreensaver that has the 1920x480 resolution already setup with album art and artist info.

However, when I select it, it looks like the pygame window is still the same and everything is skewed giving an error similar to out of bounds:

Hello from the pygame community. Contribute - pygame wiki
Exception in thread Thread-5:
Traceback (most recent call last):
File “/usr/lib/python3.7/threading.py”, line 917, in _bootstrap_inner
self.run()
File “/home/volumio/PeppyMeter/volumio_albumart.py”, line 134, in run
socketIO.wait(1)
File “/usr/local/lib/python3.7/dist-packages/socketIO_client/init.py”, line 251, in wait
self._process_packets()
File “/usr/local/lib/python3.7/dist-packages/socketIO_client/init.py”, line 278, in _process_pa ckets
self._process_packet(engineIO_packet)
File “/usr/local/lib/python3.7/dist-packages/socketIO_client/init.py”, line 491, in _process_pa cket
delegate(parse_socketIO_packet_data(socketIO_packet_data), namespace)
File “/usr/local/lib/python3.7/dist-packages/socketIO_client/init.py”, line 513, in _on_event
namespace._find_packet_callback(event)(*args)
File “/home/volumio/PeppyMeter/volumio_albumart.py”, line 60, in on_push_state
title_factory.render_aa(self.first_run)
File “/home/volumio/PeppyMeter/volumio_albumart.py”, line 285, in render_aa
self.AABackup = self.screen.subsurface(aa_rect).copy()
ValueError: subsurface rectangle outside surface area

Attached is a pic of how it looks on the screen.

I got it working. I had to edit the file configfileparser.py where the screen sizes “small, medium, large, wide” are defined. By default these are set at a smaller resolution than the newer screens like 1920x480.

here are 1280x400 images maybe it will help 1280x400.zip (955.8 KB)