Player Screen - project-owner/Peppy.doc GitHub Wiki
The visual appearance of the player screen can be changed by modifying properties of different screen components in the configuration file /home/pi/Peppy/config.txt:
[player.screen]
top.height = 14
bottom.height = 16
button.height = 38
popup.width = 14
image.location = center
- top.height - the height of the screen header as a percent of the total screen height
- bottom.height - the height of the screen bottom part as a percent of the total screen height
- button.height - the height of the control button as a percent of the screen height without top and bottom
- popup.width - the width of the popup menu as a percent of the total screen width
- image.location - the location of the album art image. The possible values: center(default/left/right)
The same parameters can be modified using the Configuration Web UI:
The following image shows the meaning of each height and width parameter:
The table below shows how player screen looks like with different album art image location.
Image Location | Screenshot |
---|---|
Left | ![]() |
Center (default) | ![]() |
Right | ![]() |
Some elements of the Player Screen can be hidden/shown using the following properties:
[player.screen]
...
enable.order.button = True
enable.info.button = True
show.time.slider = True