12-15-2019, 07:36 PM
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.
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.