mirror of
https://github.com/sakaljurgis/plugin.video.sklk.git
synced 2026-11-06 14:38:03 +00:00
Not automatically on the service's first start any more: with several Kodi
installs, only the one whose history counts should send it. The button
("Send this Kodi's watched history to the server") asks first, shows progress
and can be cancelled; sending again is harmless, the server keeps newer state.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
1.2 KiB
Markdown
22 lines
1.2 KiB
Markdown
# 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
|