Commit graph

70 commits

Author SHA1 Message Date
KemoNine 20fab2ade0 Update readme eample to NOT have broken value 2020-09-05 21:28:01 -04:00
KemoNine 1ccbf4ee03 Update / adjust config handling code so its more reliable and less prone to crashes ; tweak default values + help text to ensure folks know its only seconds/minutes/hours ; add fim restart handling 2020-09-05 21:27:33 -04:00
KemoNine e979318132 Switch fim to seeded random since it uses the time since the epoch which is safe to call even on a schedule 2020-09-05 17:50:33 -04:00
KemoNine 98d5fdce2f Add support for restart interval to main slideshow 2020-09-05 17:49:55 -04:00
KemoNine 588145b163 Update fan daemon to re-evaluate the config values if there aren't valid values for temps (ie all 0's) which causes the program to not function correct, see code comments for further details 2020-09-05 16:51:00 -04:00
KemoNine 6634e7d8ef Minor tweak 2020-09-05 16:33:52 -04:00
KemoNine f8b4031aa3 Update inotify to use config file
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-05 16:04:43 -04:00
KemoNine be7c3e63a2 Fixup map access in fan util
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-05 15:57:08 -04:00
KemoNine 3ca4b66304 Tie fan into config (both ui and fan daemon) 2020-09-05 15:49:49 -04:00
KemoNine 5eab31f093 Cleanup fim so it can properly handle album selections ; need to play tricks due to fim NOT supporting mulitple directories via CLI
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-05 02:08:57 -04:00
KemoNine 7afb3f17ee Enable saving album selections 2020-09-05 01:01:48 -04:00
KemoNine 728c281ad3 Cleanup config UI further, fix some save bugs 2020-09-05 00:09:14 -04:00
KemoNine 15dfaa31f9 Wire up more of the config ; apply hdmi on/off schedules on save 2020-09-04 23:28:01 -04:00
KemoNine 769029b9c2 Fill out GUI some more, enable saving of config file on exit 2020-09-04 20:28:32 -04:00
KemoNine e326984ca6 Update modules 2020-09-04 19:41:53 -04:00
KemoNine a33f8b7539 Add advanced menu item that tells how to edit the config via command line
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-04 19:06:04 -04:00
KemoNine b0764b684a Add help text for intervals 2020-09-04 18:50:57 -04:00
KemoNine 20c73767de Add help text to hdmi on/off 2020-09-04 18:47:50 -04:00
KemoNine bfbb296784 Remove logging, finalize fan default settings 2020-09-04 18:31:39 -04:00
KemoNine 80828aa021 Tweaks for fan service to keep it offline more frequently and scale up faster ; wil adjust polling interval after further testing and verification 2020-09-04 15:20:15 -04:00
KemoNine 6c6bbe02fe Adjust looping on fan ; add debug output for fine tuning purposes 2020-09-04 15:04:44 -04:00
KemoNine 638bd93675 Add fan control service 2020-09-04 14:57:12 -04:00
KemoNine 592a152860 Updated vendoring 2020-09-04 14:56:41 -04:00
KemoNine 0e5d316731 Add temp util ; break up temp lookups into their own mini-module 2020-09-04 14:34:35 -04:00
KemoNine fffd67f8c0 Further implementation of config management 2020-09-03 21:01:13 -04:00
KemoNine 1b5d77e07a Tweak string format, exit if config changes -- let monit and / or systemd restart if the config changes on disk out from under the running app ; will add save/exit button later to ensure that making changes via the config ui doesn't cause the app to restart after every change 2020-09-03 01:25:42 -04:00
KemoNine a1c2415536 Fixup build paths for drone
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-03 01:19:41 -04:00
KemoNine 30976f60fa Tweak fim kill approach so ALL sub-processes are also killed (this is really important since it's a bash script presently)
Some checks failed
continuous-integration/drone/tag Build is failing
2020-09-03 01:04:08 -04:00
KemoNine 8b3827220e Add watching of config file to re-load if changed on disk while running 2020-09-03 00:48:08 -04:00
KemoNine ce9f53cb45 Add command line flag to allow only running the config ui 2020-09-03 00:24:26 -04:00
KemoNine 712f7c7a45 Add CLI flag to only show config UI and skip the slideshow display (so you can config & auto-reload the main piframe ui over ssh and similar 2020-09-02 23:56:25 -04:00
KemoNine e2bce8d442 Vendoring for command line flags 2020-09-02 23:50:36 -04:00
KemoNine 8737f2fe1a Basic config file load 2020-09-02 23:47:07 -04:00
KemoNine 0834f3779f Update vendoring 2020-09-02 23:46:55 -04:00
KemoNine 1841b19211 Split up GUI code some and modularize it 2020-09-02 20:40:28 -04:00
KemoNine a506546f1e Add album listing to config ui so they can be selected / deselected 2020-09-02 02:16:06 -04:00
KemoNine 37bbc4658d Add a TON of error handling that was previously skipped (intentionally but really needs to be there) ; added basic filesystem walk of albums dir to facilitate config of which albums are used for the slideshow 2020-09-02 01:30:27 -04:00
KemoNine e3008a6d43 Add code to apply the wifi config in the main ui 2020-09-01 20:11:27 -04:00
KemoNine 48d757a6b6 Tease apart wifi config into dedicated module and use module in existing wifi config tool 2020-09-01 19:05:09 -04:00
KemoNine 83743a9f90 Tease out fim code, further implementation of config ui (INCOMPLETE) 2020-08-31 22:57:23 -04:00
KemoNine 4a516cbed8 Further implementation of UI 2020-08-30 19:46:17 -04:00
KemoNine 494ac4a1e3 Update vendoring 2020-08-30 19:46:07 -04:00
KemoNine 55459e42f0 Updated vendoring 2020-08-30 17:57:15 -04:00
KemoNine d10c9e7a65 Add better keyboard handling to UI for fim controls and getting to the UI 2020-08-29 19:39:24 -04:00
KemoNine 38817ae4d3 Start reworking keyboard input and no longer trap signals for controls 2020-08-29 19:12:28 -04:00
KemoNine 8b0c907c3d Vendoring updates 2020-08-29 19:11:30 -04:00
KemoNine 16f7ddcd58 Fixup which service is restarted when pictures change
All checks were successful
continuous-integration/drone/tag Build is passing
2020-08-28 21:21:04 -04:00
KemoNine 5212949fb0 Start building out robust UI code ; this update moves the fim slideshow advancing into the go code and keeps fim OFF stdin/out so keyboard input shouldn't affect it
All checks were successful
continuous-integration/drone/tag Build is passing
2020-08-28 21:18:01 -04:00
KemoNine 255e647c5e Cleanup error handling
Some checks failed
continuous-integration/drone/tag Build is failing
2020-08-28 20:02:38 -04:00
KemoNine 75a26c064d Update slideshow path to match docs
All checks were successful
continuous-integration/drone/tag Build is passing
2020-08-28 18:40:33 -04:00