Commit graph

83 commits

Author SHA1 Message Date
KemoNine 0c9bfd6a7c Hard code file mode on disk write to 0644 which is what we would expect 2020-09-20 19:28:48 -04:00
KemoNine 0579b3e97d Merge branch 'master' of https://git.kemonine.info/PiFrame/piframe-go 2020-09-20 18:10:58 -04:00
KemoNine df886ff66d Update to make non existing config a soft error 2020-09-20 18:10:14 -04:00
kemonine 0c2c136413 Fix build
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-19 18:12:57 -04:00
kemonine ab925c4b2c Remove arch check from drone now that multi-arch builds are enabled
Some checks failed
continuous-integration/drone/tag Build is failing
2020-09-19 18:05:35 -04:00
kemonine 2ffda69ca8 Enable cross platform builds / be more specific about output arch from drone
Some checks reported errors
continuous-integration/drone/tag Build was killed
2020-09-19 17:57:32 -04:00
KemoNine d5a06b79db Update changelog for next release ; cleanup broken releases
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-06 04:14:58 -04:00
KemoNine be99f9ae41 Fix GUI build 2020-09-06 04:14:44 -04:00
KemoNine 4b0d611715 Add changelog entry for hdmi command
Some checks failed
continuous-integration/drone/tag Build is failing
2020-09-06 04:12:04 -04:00
KemoNine 97a3474bd2 Implement hdmi on/off command for boot 2020-09-06 04:11:19 -04:00
KemoNine 9349b91819 Update changelog for latest release
Some checks failed
continuous-integration/drone/tag Build is failing
2020-09-06 03:37:18 -04:00
KemoNine 13d019cf62 Add config watch to all tools so they are restarted if the config changes 2020-09-06 03:36:35 -04:00
KemoNine c2a21eabd9 Update changlog with latest details
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-05 21:28:38 -04:00
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