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 * Run in background permanently
* CLI database creation and version management, migrations * CLI database creation and version management, migrations
* On a loop iterate over all configured Kodi instances' JSON-RPC endpoints * On a loop iterate over all configured Kodi instances' JSON-RPC endpoints
* Check if a player is running * Get state either:
* If yes check if player is playing back something * Polling:
* If yes * Check if a player is running
* Subtract check interval from avaialble playback time (stored in database) * If yes check if player is playing back something
* Render new imagemagick overlay for sddm avatar indicating remaining time * 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 less than n time left trigger Kodi notification
* If time's up check if playback running * If time's up check if playback running
* If yes end playback * If yes end playback