66 Commits
Author SHA1 Message Date
Jurgis SakalauskasandClaude Opus 5.5 5e20067d6d send Kodi's watched history from a settings button
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>
2026-10-12 10:53:07 +03:00
Jurgis SakalauskasandClaude Opus 5.5 227a95abcd sync watched state with the server, single server url setting
- list items take playcount, resume point and last played from the server
  (folders: watched/total episodes), listings aren't cached
- background service (service.py) reports playback to <server>/api/state/<id>:
  every 30 s, on pause, stop and end; on first start it sends Kodi's existing
  watched history of this add-on to the server once
- one "Server URL" setting instead of api + video url (the old api url value,
  ending with /api, still works); no default address

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 10:27:37 +03:00
Jurgis Sakalauskas 99b8f071fe bump version 2023-11-30 12:56:32 +02:00
Jurgis Sakalauskas 2c32db5d94 add auth header 2023-11-30 12:49:52 +02:00
Jurgis Sakalauskas 2db147f29b fix select dialog 2023-01-20 11:16:11 +02:00
Jurgis Sakalauskas 3c585ed076 initial setup 2022-12-13 12:04:09 +02:00
Roman d06b57e196 Some code style updates 2021-01-17 09:38:35 +02:00
Roman fe1e6eb298 Update Readme.md 2021-01-17 08:34:54 +02:00
Roman 467b4073f8 Merge branch 'python3'
# Conflicts:
#	addon.xml
2021-01-17 08:29:32 +02:00
Roman 760092c297 Update comments 2021-01-17 08:27:10 +02:00
Roman Miroshnychenko b22929d1ef Fix an error in Readme.md 2020-04-03 13:00:16 +03:00
Roman Miroshnychenko 32e0918b52 Update Readme.md 2020-04-03 12:59:50 +03:00
Roman Miroshnychenko 04da3801c2 Make the code Python 3 only 2020-04-03 12:55:27 +03:00
Roman Miroshnychenko b6b2c5e1eb Version bump 2.4.0 2018-01-09 16:05:26 +02:00
Roman Miroshnychenko 0ef4b3a6c0 Use future.iterkeys to iterate over dict keys 2018-01-09 16:04:48 +02:00
Roman Miroshnychenko cd0849ae48 Version bump: 2.3.1 2018-01-09 16:01:14 +02:00
Roman Miroshnychenko 1fad214fc0 Convert code to Python 3-compatible 2018-01-09 15:55:21 +02:00
Roman Miroshnychenko 3833a3e2ac Use iterkeys() to iterate dict keys 2017-11-20 16:39:52 +02:00
Roman Miroshnychenko 84ee28ea26 Update Readme 2017-09-29 14:46:19 +03:00
Roman Miroshnychenko 800646117d Bump xbmc.python version 2017-09-29 14:45:43 +03:00
Roman Miroshnychenko 8ee0e6e9a4 Add country codes to addon.xml tags 2017-09-29 14:44:10 +03:00
Roman Miroshnychenko 807b88d48b Change link to Kodi Python API documentation 2017-09-29 14:41:49 +03:00
Roman Miroshnychenko a990a4fe15 Version bump: 2.3.0 2017-09-29 14:40:02 +03:00
Roman Miroshnychenko a93f62e527 Add 'mediatype' property to ListItems 2017-09-29 14:39:35 +03:00
Roman Miroshnychenko 16b5ab4f01 Update Readme 2017-09-28 15:36:31 +03:00
Roman Miroshnychenko 7dafc68a14 Version bump: 2.2.0 2017-09-28 15:22:09 +03:00
Roman Miroshnychenko a153be8e01 Add examples for setPluginCategory and setContent functions 2017-09-28 15:21:35 +03:00
Roman Miroshnychenko 8778f4e414 Use keys() method to return a list of dict keys 2017-09-26 15:27:02 +03:00
Roman Miroshnychenko 3577070dac Update gitignore 2017-09-26 15:16:01 +03:00
Roman Miroshnychenko 70c66a3a14 Merge pull request #9 from solsticedhiver/master
Fix broken links
2017-07-19 19:41:55 +03:00
solsTiCe d'Hiver 9b9fd94051 Fix broken links 2017-07-19 16:41:31 +02:00
Roman Miroshnychenko fc8a35428f Updates Readme 2016-12-15 14:14:44 +02:00
Roman Miroshnychenko edafef1600 Version bump: 2.1.0 2016-12-15 14:12:29 +02:00
Roman Miroshnychenko 0508d92475 Add comments about generator functions 2016-12-15 14:12:10 +02:00
Roman Miroshnychenko 8c73b186be Use addDirectoryItem to add items one by one because addDirectoryItems hasn't proved to be effective 2016-12-15 14:05:38 +02:00
Roman Miroshnychenko 6cbdcceed0 Use get_url function to create plugin call URLs 2016-12-15 13:58:16 +02:00
Roman Miroshnychenko d2b013b733 Use urlencode to form a paramstring 2016-12-15 13:39:38 +02:00
Roman Miroshnychenko d9a43e2a02 Updates docstrings 2016-12-15 13:25:52 +02:00
Roman Miroshnychenko de0d2020cd Merge pull request #8 from zag2me/artworkmeta
Update artwork metadata
2016-11-25 17:53:20 +02:00
zag2me 89a602f4da Update artwork metadata 2016-11-25 11:27:08 +00:00
Roman Miroshnychenko 45c505d202 Version bump: 2.0.1 2016-04-13 11:35:31 +03:00
Roman Miroshnychenko 5dfc0272aa Update Readme.md 2016-04-11 18:22:31 +03:00
Roman Miroshnychenko 1e4796779a Update Readme.md 2016-04-11 18:21:53 +03:00
Roman Miroshnychenko b790f231bf Removes forgotten legacy code 2016-04-11 18:12:57 +03:00
Roman Miroshnychenko 40fe06fc82 Update Readme.md 2016-04-11 18:10:22 +03:00
Roman Miroshnychenko (Work) 4d152ea994 Merge branch 'master' of https://github.com/romanvm/plugin.example 2016-01-21 15:46:39 +02:00
Roman Miroshnychenko (Work) 12ebf28f24 Updates code according to Kodi Jarvis API 2016-01-21 15:43:21 +02:00
Roman Miroshnychenko 284a334592 Update Readme.md 2015-11-26 11:04:37 +02:00
Roman Miroshnychenko (Work) 69f7c3d2fc Adds a usage example for setArt method; minor code changes 2015-11-23 14:55:51 +02:00
Roman Miroshnychenko (Work) a433b569c4 Updated code using best practices, added setInfo for list items 2015-08-31 14:59:06 +03:00