Open rocksdanister opened 2 years ago
Just a follow up for this feature request.
Do you know any good commandline utility app I can take a look at for design ideas?
Do you know any good commandline utility app ... ?
There are two good command line apps I can think of:
VoidTool's "es.exe" which communicates with "everything.exe". "es.exe" is open source and you can look at the code here (https://www.voidtools.com/ES-1.1.0.29.x64.zip) but "everything.exe" is not open source.
BandiSoft's "BandiViewRemoteControl.exe" which communicates with "BandiView.exe". "BandiViewRemoteControl.exe" is open source and you can look at the code here (https://github.com/bandisofti/BandiViewRemoteControl/archive/refs/heads/main.zip) but "BandiView.exe" is not open source.
And, these are command line parameters that are more useful: --showapp true --showapp false --setwp --file "VideoFilePath2" --monitor 2 --setwp --file "VideoFilePath1" --monitor 1 --play true --monitor 2 --play true --monitor 1 --play false --monitor 2 --play false --monitor 1 --closewp --monitor 2 --closewp --monitor 1 --shutdown true
It would be nice to be able to pass on several parameters in one go, rather than calling the app several times. Also, right now, "VideoFilePath" cannot be set, as it only accepts folder paths containing "LivelyInfo.json" files.
I tried the command line parameters on the new version, and they work much better now.
One question:
I would like to load the app minimized (to the tray), but not play any wallpapers. Right now, when lively.exe is run, it plays the previously selected wallpaper. So, I first run this: lively.exe --showApp false I wait for lively to load and then I run this: lively closewp --monitor -1
I wish there was a parameter like this, to just load the app: lively nowallpaper --monitor -1
So, I first run this: lively.exe --showApp false
Lively does not support passing command parameters on startup except for few special commands right now.
I would like to load the app minimized (to the tray), but not play any wallpapers.
What is your use case for this feature?
What is your use case for this feature?
It takes a few seconds for lively.exe to load. I want to load lively.exe beforehand and have it ready for when I want to play a wallpaper. Then, playing wallpper would start instantly.
There are ways to start Lively early: https://github.com/sylveon/EarlyStart (I haven't tested.)
In this context I don't really get exactly how you are loading it early.. but this is getting off-topic.
By early, I mean earlier than when I need to play a wallpaper video.
how you are loading it early
I first run this: lively.exe I wait for lively to load and then I run this: lively.exe closewp --monitor -1 later on, when I run this, the video file plays instantly: lively.exe setwp --file FilePath --monitor 1
Lively does not support passing command parameters on startup except for few special commands right now.
Can you please say what commands are those "few special commands"?
In the future all commands will be processed in startup, its just require some rewrite of existing code.
That would be great! Thank you for taking the time to make it happen :)
Please also consider adding a new commandline parameter not to load any wallpaper at start up (Lively just sit in the tray area).
I am rejecting that one, the use case you mentioned don't make sense to me and its not worth the trouble maintaining (Parts of the program relies on Core being initialized.)
Your app, your choice.
May be after implementing "processing commands at app startup", such use case I explained above, would be alleviated.
Implement two way communication and better UI for livelycu now that we are having grpc server running.