hankhank10 / music-screen-api

Display the playing Sonos track in real time on an e-ink display - also includes functionality for last.fm
120 stars 17 forks source link

Analog clock #45

Closed v1nc3lx closed 3 years ago

v1nc3lx commented 4 years ago

Added an analog clock (based on https://github.com/n0bel/PiClock). It turns on when your speaker is stopped/paused.

You can set up a timeout and display date if you want (see clock_settings.py) As it uses PyQt4 you have to install the libraries with "sudo apt-get install python3-pyqt4".

To enable/disable clock you have to set "show_clock" to True/False in sonos_settings.py I also moved *.png files to directory images.

here it is: https://imgur.com/X4LpYhk

oxcid3 commented 3 years ago

This is excellent! - Going to try to add this to my build. Thanks

hankhank10 commented 3 years ago

Thank you for this pull request. I'm not going to merge it into master.

I have tried to keep this code as simple and lightweight as possible and while the clock is a cool addition, I don't think it's essential or universally something people would like.

I would encourage you to maintain a fork which includes this functionality. I would also encourage you to submit a pull request linking to your fork from the readme so people can find it, which I would be delighted to approve.

Thanks again for contributing.