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.
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