Update 'Home'

hygienic-books 2022-05-03 23:57:20 +00:00
parent 7522a73844
commit b11688a10f

15
Home.md

@ -2,11 +2,16 @@
* Run in background permanently
* CLI database creation and version management, migrations
* On a loop iterate over all configured Kodi instances' JSON-RPC endpoints
* Check if a player is running
* If yes check if player is playing back something
* If yes
* Subtract check interval from avaialble playback time (stored in database)
* Render new imagemagick overlay for sddm avatar indicating remaining time
* Get state either:
* Polling:
* Check if a player is running
* If yes check if player is playing back something
* If yes
* Subtract check interval from avaialble playback time (stored in database)
* Render new imagemagick overlay for sddm avatar indicating remaining time
* WebSockets and a subscription to notifications
* Get auto updates from Kodi
* What happens when user starts third party application such as an emulator?
* If less than n time left trigger Kodi notification
* If time's up check if playback running
* If yes end playback