![]() |
Re: [Announce] Lanterne - an all-purpose flashlight app
Quote:
|
Re: [Announce] Lanterne - an all-purpose flashlight app
Quote:
|
Re: [Announce] Lanterne - an all-purpose flashlight app
Quote:
|
Re: [Announce] Lanterne - an all-purpose flashlight app
Just one suggestion...
Adding some command line option to access the lanterne functions (strobe, ambient light + torch would allow some funny integration into other apps or scripting) |
Re: [Announce] Lanterne - an all-purpose flashlight app
Big "yay" for GUI-less command line possibilities.
|
Re: [Announce] Lanterne - an all-purpose flashlight app
Surely you can start the torch via CLI without Lanterne anyway?
|
Re: [Announce] Lanterne - an all-purpose flashlight app
...which can't be said about morse parsing, and, after all, why to reinvent the wheel for other things (like, write manual scripts for strobe, etc), if Lanterne already did that? It would just need to expose it for CLI, and everyone is happy :)
/Estel |
Re: [Announce] Lanterne - an all-purpose flashlight app
Alright, alright. :) I've been meaning to add command-line interfaces to my apps for a while now; particularly, Pierogi would be nice to do, but it would require an awfully complex CLI interface. Lanterne is much much simpler. Unfortunately, there's a fairly significant stumbling block: Qt does not at all like to create a single executable with both GUI and CLI interfaces. There are various explanations for this, but they all eventually seem to boil down to the fact that a GUI app has an enormous amount of baggage that is completely unnecessary in a command-line app. (For obvious reasons!) And so, they really don't make it easy for you to house both UIs in one program.
So, I gave up. Instead, please check out the brand new app, Torchio. This is a console-only Qt app, containing a subset of the existing Lanterne functionality. It supports sustained, pulsed, and SOS mode use of the LEDs, both white and red. Also, you can set a timeout, and you can tell it to ignore the camera cover. (Run "torchio -h" to see all the currently available options.) By default, Torchio will start running the LEDs the moment that you run it, and will continue to do so until the timer runs out (at which point it will quit) or you kill the app. Torchio will exit cleanly if you stop it with a SIGINT (via control-c or whatever), but I should warn that if it dies without cleaning up (say, from a SIGKILL signal or whatever), the LED hardware can get into an odd state. (On my N900, the LEDs would be turned off after the app was killed, but they would immediately turn on whenever any LED-aware app was started up -- Torchio, Lanterne, the camera app, etc.) So beware! :) |
Re: [Announce] Lanterne - an all-purpose flashlight app
Morse parser incoming soon for CLI, I hope :) Thanks, anyway!
|
Re: [Announce] Lanterne - an all-purpose flashlight app
Quote:
I guess I really should ask, what kind of use-cases for Morse parsing are you most interested in? :) |
All times are GMT. The time now is 14:54. |
vBulletin® Version 3.8.8