12-19-2019, 07:37 PM
(12-15-2019, 07:36 PM)manolomalele Wrote: Thank you @remy1961,
your tutorial is really clean and easy.
I'm struggling, however, with the config file because i'm triyng to customize the infos displayed.
I've got a rpi 3b+ with moode and a 20x4 lcd display.
I did'n understand a single world, I'm not skilled in programming. I've read about the three categories: Widgets, Canvases and Sequences, but I actually don't know what I have to modify and where.
Do I have to operate on the pages.py file?
How?
Just replacing the widgets on the sequence?
f.y.e.:
from
'name': 'seqPlay',
'canvases': [
{ 'name':'playartist', 'duration':15, 'conditional':"not db['stream']=='webradio'" },
{ 'name':'playartist_radio', 'duration':15, 'conditional':"db['stream']=='webradio'" },
{ 'name':'playalbum', 'duration':30, 'conditional':"not db['stream']=='webradio'" },
{ 'name':'playalbum_radio', 'duration':15, 'conditional':"db['stream']=='webradio' and db['album']" },
{ 'name':'playtitle', 'duration':30, 'conditional':"not db['stream']=='webradio'" },
{ 'name':'playtitle_radio', 'duration':15, 'conditional':"db['stream']=='webradio'" },
],
'conditional': "db['state']=='play'"
to
something looking like this:
Artist name
Song name
bitrate / freq - file type
progression bar
Could you please teach me how to do this?
Thank you really much.
I made it working.
I have only to find out how is called the widget for bitrate/freq and filetype.
I've read somewhere there is something called "tracktype", but it isn't on the widget list.
How can I enable it? is there a code-line?
Thank you all