# Simple plugin for Kodi mediacenter API client (GUI) for [kodi-api-server](https://github.com/sakaljurgis/kodi-api-server). Draft version, but fully functional. Based on Roman V. M. example plugin: [plugin.video.example](https://github.com/romanvm/plugin.video.example) Do **not** try to install a .zip generated by GitHub. Compatible with Kodi 19.0 ("Matrix") and above that uses Python 3. Settings: the server URL (e.g. `https://media.example.com`; a value ending with `/api`, as older versions had it, works too) and an optional auth key, sent as the `Authorization` header. Watched state and resume points live on the server, shared with other apps (e.g. SKLK TV): listings come with them, and a background service (`service.py`) reports playback (every 30 s, on pause, stop and end). Kodi's own earlier watched history of this add-on can be sent to the server with the button in the add-on settings ("Send this Kodi's watched history to the server"); do it on the Kodi whose history counts, the server keeps whatever it has that's newer. Mark watched/unwatched with the add-on's own context menu entries ("Mark watched", "Mark all watched", ...); Kodi's built-in "Mark as watched" only changes Kodi's local database. License: no licence