01-08-2022, 04:07 PM
(01-08-2022, 01:01 PM)leobo Wrote: Is it possible to start Peppymeter when I press the play button on the touchscrean?
Quitting works great.
Hi Leobo,
Could you please check if the following meet your expectations?
1. Enable "Metadata File" (ON) in System Config - Local Services
2. Copy the two attached files to the PeppyMeter directory
Quote:/home/pi/PeppyMeter
3. Run the following commands:
Code:
sudo cp fdaXLeobo.service /etc/systemd/system/
sudo chmod +111 /etc/systemd/system/fdaXLeobo.service
sudo systemctl daemon-reload
sudo systemctl enable fdaXLeobo.service
sudo systemctl start fdaXLeobo.service
4. Reboot the system and let me know.
Note that if you exit from "peppymeter" (by touching the display) you have to stop listening and then press "play" again to go back to seeing peppymeter: in other words, if you switch directly from one element of the playlist to another, the system does not recognize one stop or pause and, consequently, the program does not restart the peppymeter.
I hope you like it.
Greetings,
Francesco
Attachment
P.S.: The added files DO NOT modify in any way neither the system (moOde), nor the package (peppymeter). if they are not to your liking, simply disable the service and delete the 3 files produced (2 in the directory
Quote:/home/pi/PeppyMeterand 1 in the directory
Quote:/etc/systemd/system)