Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Using MoOde with LCDproc/LCDd as Display
#8
(01-20-2019, 05:32 PM)TheOldPresbyope Wrote: I'm not sure I understand what the sticking point is here but you haven't given any details about your USB-connected display. Can you write to it as if it's a terminal device, e.g., just squirt characters to it?

Software like PydPiper and LCDproc serve a purpose but they're rather elephantine because they try to cover many use cases with different display types, interfaces, and information sources. Useful if you need all that; an unnecessary distraction if you don't.

moOde does not need a Python script for an LCD Update Engine, despite what the help icon says. Any executable script which parses the currentsong.txt file, etc., and writes suitably formatted information to a device will do. It does have to obey a couple of rules, touched on in Tim's earlier post today (http://moodeaudio.org/forum/showthread.p...28#pid7328)

Last spring I wrote a bash script which connected moOde to a $25 (US) USB "terminal" known as the Odroid Show2 (http://moodeaudio.org/forum/showthread.p...63#pid1563). The end result, lcd-test.sh, was ca 150 lines (including comments) of pedestrian code. Took me a weekend; would have taken less if the Odroid documentation were better and I hadn't forgotten so many bash-isms.

I've posted the script at https://www.dropbox.com/s/irjhnk63h00v02...st.sh?dl=0

It isn't pretty but it does what my post says it does. I got distracted with events in my "real" life and haven't done anything with displays of any kind since then.

As for other difficulties you mention at the end of your post...one step at a time is my motto.

Regards,
Kent
Hey - thanks for your great information !  Yes, I have not mentioned the type of display as LCDproc is handling that stuff - so you are able to use a lot of different LCD's. LCDproc would have the advantage to concentrate on content and not how to get it displayed. Now saying that , my display is indeed one of those you could simple do an echo "blabla" > /dev/ttyUSB0
The problem is, it will show something but not "blabla" as the character coding is different.
I grabbed your bash-script and it would also need some adaption as my display is only 4x20 - but maybe I will do it. Currently I am adapting a python script . I will post the results

Thanks for your reply and help !
Reply


Messages In This Thread
RE: Using MoOde with LCDproc/LCDd as Display - by UpsiUps - 01-20-2019, 09:33 PM

Forum Jump: