build md5 sum over the resulting assembled image(s) and
check against a stored hash file to determine if we really need
to update the screen.
Option can be controlled by new image_hash global option.
If info_section is enabled while image_hash is on,
the time of update will be stripped from the section,
as it is clearly not hashable.
In the end this enables us to update the information in the
background way more frequent without increasing the stress
caused to the display
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Logging is now set at two levels:
logging.ERROR and more important messages are shown on the console while running inkcal.
logging.DEBUG (all) messages are logged inside a log file named inkycal.log in /Inkycal/logs.
Fixed an issue with the info section not updating the time correctly.
Still needs some work:
- input parameter validation (rotation, layout, colours)
- configuration of panel colors in Web UI
Added suggestion for less dynamic calling of module.generate_image()
A lot of work behind the scenes. Logging is now handled by main file now. Improved logging, support for logging from modules, improved support for info section, added support for info section height, slight improvements in printing output
A lot of work-in-progress and far from complete.
Lots of improvements related to user-friendliness, fully new web-UI. Better infrastructure....
more coming soon
Third party modules need to be registered into inkycal before they can be used. For this, the function _add_module (and _remove_module) have been added.
These functions make the necessary changes to the init file in /inkycal and /inkycal/modules.