dhrone / pydPiper

A general purpose program to display song metadata on LCD and OLED devices
MIT License
78 stars 36 forks source link

Display playername #134

Open TheHighFlyingBirds opened 2 years ago

TheHighFlyingBirds commented 2 years ago

Is there a simple way for pydpiper to display the device player name? I am running max2play and the name is stored within /opt/max2play/playername.txt (I have added code so that the player name changes based upon a GPIO state, so I can determine which output it is using).

Ideally I want pydpiper to look at the above file and display on my LCD what it reads, so that I know which output is set. I have tried numerous ways but nothing seems to work. I have amended the page file to display the variable, but the issue seems to be with extracting the data.

Thanks