dividuum / info-beamer

The Multimedia Presenter for Lua (for commercial projects, use info-beamer pi instead)
https://info-beamer.com/
Other
227 stars 48 forks source link

improve documentaton of tcp/udp event receive #53

Open ozett opened 7 years ago

ozett commented 7 years ago

i love info-beamers promise on his possibilites. and i am no experienced coder, not even lua.

so my success needs a clear documention. (i took me half a day to try and read the samples and experient.) 😢

may you update the doku and some working! examples for UDP/TCP receive with infobeamer? may it helps other?

at the end i found this working for me:

root@eg-buero-olaf:/usr/src# echo -en "font\n:jjjj\n" | netcat localhost 4444 Info Beamer PI 0.9.5-beta.9930f1~jessie (https://info-beamer.com) [pid 2795/uptime 183]. *help to get help. ok! RemoteInput was: :jjjj RemoteState is: :jjjj root@eg-buero-olaf:/usr/src#

i discovered this example for tcp with the "\n" in the "flap-display" code.

the doku on the info-beamer website was not really a help 😕 , as it was stated something else - or it was not elobarated enough with an working example.

https://info-beamer.com/doc/info-beamer#nodeevents

after all, i still love your projekt, keep on going ... 👍

dividuum commented 7 years ago

I'll try to add some more examples for that feature and make it clear that you'll have to end each line sent with a newline (\n).

ozett commented 7 years ago

👏

thanks... 😄