From: Michael R. <re...@eu...> - 2005-01-31 06:55:01
|
Hi there, > Now with lcdproc i was able to use the python telnet library to connect > to the server and send info like song names, track numbers etc..., but > with lcd4linux im not to sure how to interface to it (using python). Of > course any hints are appreciated :). There is no way at the moment. There used to be a "python binding" with lcd4linux-0.9, but for all the evaluator stuff, this doesn't make too much sense anymore. > Essentially i would want four widgets, three text and one split-bargraph > (each widget has a line to itself), These would (somehow) recieve data > that I send it from python and display on the LCD Hmm... this should be possible. All you need is to provide an interface where python could send the data to, and lcd4linux collects them from. As a workaround you could simply save them into a file, and use lcd4linux's 'exec' plugin to read them. In the near future there will be something like a "general file parsing plugin", which can read and parse any file, and read from fifo's, too. This will be a quite clean solution. > But saying that even though lcd4linux has a lot of features that I would > like to have, after reading a bit more about lcd4linux it seems i cannot > use buttons (is this correct?). Correct, not at the moment. Some display drivers already provide reading/polling for keypresses, but there is no internal framework yet that handles these events. But this will change rather quickly.... > Oh yeah, and keep up the good work, I really like the design of > LCD4linux (+ the flexibility of configuration), and will most definatly > use it on my server (as soon as I get another LCD display :) ) Thanks! > Also, Looking at the design of lcd4linux it looks like it would be very > well suited to working with graphical LCD displays, are there any plans > at all to maybe one day support graphic displays? Well, graphical displays are already supported! Think of the Image driver, the X11 driver, the T6963 driver.... At the moment there are no widgets which really use the graphical power of such displays. But things like "Image widgets", or "Graphs" are planned. bye, Michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |