n0bel / PiClock

A Fancy Clock built around a monitor and a Raspberry Pi
MIT License
566 stars 182 forks source link

Background Slideshow #135

Closed togatown closed 5 years ago

togatown commented 5 years ago

Please feel free to criticize! Although I have some code writing background, I have no previous knowledge of Python.

Things to do:

EDIT: Done:

n0bel commented 5 years ago

Thanks @togatown I want to run this version myself for a while before I merge it. I've not had a chance to pull it. I also want to be sure it passes PEP8.

togatown commented 5 years ago

@n0bel Might be a little early. I'm still working on it. Life got in the way and I haven't touched it since Sunday I believe.....

togatown commented 5 years ago

@n0bel Had a few minutes tonight so I cleaned this up. Used pep8online.com to check the file and only have a few slightly long lines. Seems to work reasonably well.

The second hand does jump a little when loading images. Any advice?

F6-F7 Previous-Next Image F8 Pause F9 Toggle foreground

togatown commented 5 years ago

In the Config-*.py True and False are not used. For users without a python background it may not be clear that true is invalid. I assume @n0bel therefor used '0' and '1'

@BertLindeman makes sense, not every one would know that it is case sensitive. Noted and changed in the config.

n0bel commented 5 years ago

Thank you!