12-07-2022, 03:02 PM
Hi all,
I am using moode v8.2.2. I have a round display (GC9A01) for which I installed the drivers and created a standalone script to write to it via SPI. All working good.
I want to show current song info in the display. I know the option to enable the Metadata file (stored in /var/local/www/currentsong.txt) but I am not sure how that has to be consumed by the next option (LCD update engine) which is a python script consumed by a shell daemon?
I can do that from a standalone script, even in a loop every 0.5 or 1 seconds. But I did not manage to use the script inside the /var/local/www/commandw/lcd-updater.py, it complains about the import:
Output:
Thank you so much for any guidance
I am using moode v8.2.2. I have a round display (GC9A01) for which I installed the drivers and created a standalone script to write to it via SPI. All working good.
I want to show current song info in the display. I know the option to enable the Metadata file (stored in /var/local/www/currentsong.txt) but I am not sure how that has to be consumed by the next option (LCD update engine) which is a python script consumed by a shell daemon?
I can do that from a standalone script, even in a loop every 0.5 or 1 seconds. But I did not manage to use the script inside the /var/local/www/commandw/lcd-updater.py, it complains about the import:
Code:
from lib import LCD_1inch28
Output:
Code:
ImportError: cannot import name 'LCD_1inch28' from 'lib' (unknown location)
Thank you so much for any guidance