01-20-2019, 05:32 PM
(01-20-2019, 04:13 PM)UpsiUps Wrote: LOL - Sure and I wanted not to pressure somebody to program something just for me. I just thought somebody had had the same challenge in the past and ha now a script as a starting point. Meanwhile I received one example for a different setup , but not soooo complicated as using PidPlayer. So I will try to do so -and I already have bought a python book last year that has now dust on it's top. Time to remove ( the dust )
There are other difficulties with that display - no power off when the player sleeps over night. RPi has no sleep function to wake with WOL etc. But I have soem friends in the neck, they want that I build them such a nice Streaming box. So a while to go ...
Thanks for your reply and support
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