Commit graph

4137 commits

Author SHA1 Message Date
MoojMidge
13a4907262 All specifying additional run builtin functions when creating plugin uri 2025-11-10 11:33:45 +11:00
MoojMidge
a9f0436deb Improve robustness of fetching recommended and related videos 2025-11-10 11:33:45 +11:00
MoojMidge
b585725a04 Misc tidy ups 2025-11-10 11:33:45 +11:00
MoojMidge
86008ba189 Improve workarounds for SQLite concurrency issues
- Data cache, function cache, and requests cache now all use a temporary memory store
- Memory store is handled as part of the base Storage class
- No external locking used, only retry if internal SQLite locks cannot be obtained
- DB writes are deferred until no more write operations are queued for immediate processing
- All write operations explicitly create a new transaction
- Disable cached statements
2025-11-09 22:31:59 +11:00
MoojMidge
7472956964 Remove redundant timestamp parameter in Storage._set
- Previously used by PlaybackHistory.set_item
- Since replaced by dedicated Storage._update method and associated wrappers
2025-11-09 10:29:49 +11:00
MoojMidge
eee33347f3 Fix potentially trying to create a cursor on a closed db conection object 2025-11-09 10:29:48 +11:00
MoojMidge
a710a77576 Remove possibly invalid access token if an authentication error occurs
- Allows user to sign-in again and refresh missing access tokens without having to sign-out first
2025-11-09 10:29:48 +11:00
MoojMidge
419c37ddd1 Fix possible exception when plugin items that resolve to a removed Youtube item are added to a listing 2025-11-09 10:29:47 +11:00
MoojMidge
154c4db740 Disable label masks being used in Kodi 18 #1327 2025-11-09 10:29:47 +11:00
MoojMidge
04ba84da63 Improve parsing of live MPD url 2025-11-01 21:52:54 +11:00
MoojMidge
be8237a5e1 Improve handling of changes to preferred subtitle format settings 2025-11-01 21:52:54 +11:00
MoojMidge
3d2f20eb4a Don't force track type for subtitle requests
- Parameter does not appear to used any longer
2025-11-01 21:52:54 +11:00
MoojMidge
a7e2b3f8ca Player client maintenance 2025-11-01 21:52:53 +11:00
MoojMidge
417e054b84 Better organise and use standard labels for http server address and port settings 2025-10-28 06:52:07 +11:00
MoojMidge
1e4d61fac2 Improve settings value formatting 2025-10-28 06:52:07 +11:00
MoojMidge
37b898a0c4 Try to make http server IP address selection even more obvious when running Setup Wizard #1320 2025-10-28 06:52:07 +11:00
MoojMidge
36e2809028 Improve logging of errors caused by localised strings that have been incorrectly translated 2025-10-28 06:52:07 +11:00
MoojMidge
0bea79e9f4 Python 2 compatibility workaround for lack of timeout when trying to acquire an RLock 2025-10-28 06:51:07 +11:00
MoojMidge
ddc7b4900b More expansive handling of inconsistent urllib3 exception re-raising
- May be overly broad but the urllib3 behaviour is odd...
- Follow up to e509a864dc
2025-10-28 06:24:31 +11:00
MoojMidge
2c701f800c Version bump v7.3.0+beta.8 2025-10-26 19:10:52 +11:00
MoojMidge
3a4244a074 Merge remote-tracking branch 'anxdpanic/master' into v7.3 2025-10-26 19:10:52 +11:00
Weblate (bot)
c9f16ebed3
Translations update from Kodi Weblate (#1321)
* Translated using Weblate (Russian (ru_ru))

Currently translated at 89.4% (347 of 388 strings)

Translated using Weblate (Italian (it_it))

Currently translated at 100.0% (388 of 388 strings)

Translated using Weblate (Russian (ru_ru))

Currently translated at 52.5% (204 of 388 strings)

Translated using Weblate (German (de_de))

Currently translated at 94.3% (366 of 388 strings)

Translated using Weblate (Ukrainian (uk_ua))

Currently translated at 94.3% (366 of 388 strings)

Translated using Weblate (Polish (pl_pl))

Currently translated at 94.3% (366 of 388 strings)

Translated using Weblate (Spanish (Spain) (es_es))

Currently translated at 100.0% (388 of 388 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Irish)

Currently translated at 0.2% (1 of 388 strings)

Added translation using Weblate (Hebrew)

Added translation using Weblate (Irish)

Added translation using Weblate (English (United Kingdom))

Added translation using Weblate (Filipino)

Added translation using Weblate (Irish (ga_ie))

Added translation using Weblate (Occidental (ie_GA))

Added translation using Weblate (Occitan (France) (oc_fr))

Translated using Weblate (Spanish (Spain) (es_es))

Currently translated at 100.0% (388 of 388 strings)

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Alexey <signfinder@gmail.com>
Co-authored-by: Alfonso Cachero <alfonso.cachero@gmail.com>
Co-authored-by: Dmitry Petrov <dimakrm361@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kai Sommerfeld <ksooo@users.noreply.kodi.weblate.cloud>
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: Marek Adamski <fevbew@wp.pl>
Co-authored-by: Massimo Pissarello <mapi68@gmail.com>
Co-authored-by: Pavlo Marianov <acid@jack.kyiv.ua>
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/de_de/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/es_es/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/ga/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/it_it/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/pl_pl/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/ru_ru/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/uk_ua/
Translation: Kodi add-ons: video/plugin.video.youtube

* Deleted translation using Weblate (English (United Kingdom))

* Deleted translation using Weblate (Filipino)

* Deleted translation using Weblate (Irish (ga_ie))

* Deleted translation using Weblate (Occidental (ie_ga))

* Deleted translation using Weblate (Occitan (France) (oc_fr))

* Deleted translation using Weblate (Kannada (India) (kn_in))

* Deleted translation using Weblate (Ossetian (os_os))

---------

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Alexey <signfinder@gmail.com>
Co-authored-by: Alfonso Cachero <alfonso.cachero@gmail.com>
Co-authored-by: Dmitry Petrov <dimakrm361@gmail.com>
Co-authored-by: Kai Sommerfeld <ksooo@users.noreply.kodi.weblate.cloud>
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: Marek Adamski <fevbew@wp.pl>
Co-authored-by: Massimo Pissarello <mapi68@gmail.com>
Co-authored-by: Pavlo Marianov <acid@jack.kyiv.ua>
2025-10-26 19:07:11 +11:00
MoojMidge
8924a95cce Fix regression in handling audio only setting after d154325c5b 2025-10-26 14:04:09 +11:00
MoojMidge
23282aa51d Fix comments not using correct sort methods
- Allow any content sub-type to set sort methods regardless of main type
2025-10-26 14:04:08 +11:00
MoojMidge
a989752ad8 Fix incorrectly using playlist cache entries that have been invalidated by playlist modification 2025-10-26 14:04:08 +11:00
MoojMidge
6881f9a521 Fix some context menu actions failing for video item bookmarks 2025-10-26 14:04:07 +11:00
MoojMidge
03e2d91347 Misc tidy ups 2025-10-26 14:04:07 +11:00
MoojMidge
59d2ebee35 Improve offline access to cached data 2025-10-26 14:04:06 +11:00
MoojMidge
04e8488380 Ensure listings and items added by the addon have correct sort order 2025-10-26 14:04:06 +11:00
MoojMidge
43a25f3299 Further changes to detection of linked and forced plugin actions 2025-10-25 13:53:23 +11:00
MoojMidge
030be1f985 Allow forcing stack trace output per logging method call 2025-10-25 13:53:22 +11:00
MoojMidge
ddfa1983af Updates to SQLite database lock handling
- Workarounds for cpython/#118172
- Skip db operations if lock cannot be acquired
- Dont try to acquire lock on read
- Dont reuse cursor
- Only trim database size if required
- Ensure request cache size limits are used
2025-10-25 13:53:22 +11:00
MoojMidge
1c1b3ce7db Fix resetting client region when playing media with subtitles enabled 2025-10-23 12:19:33 +11:00
Weblate (bot)
2a6b26da8a
Translations update from Kodi Weblate (#1319)
* Translated using Weblate (Russian (ru_ru))

Currently translated at 89.4% (347 of 388 strings)

Translated using Weblate (Italian (it_it))

Currently translated at 100.0% (388 of 388 strings)

Translated using Weblate (Russian (ru_ru))

Currently translated at 52.5% (204 of 388 strings)

Translated using Weblate (German (de_de))

Currently translated at 94.3% (366 of 388 strings)

Translated using Weblate (Ukrainian (uk_ua))

Currently translated at 94.3% (366 of 388 strings)

Translated using Weblate (Polish (pl_pl))

Currently translated at 94.3% (366 of 388 strings)

Translated using Weblate (Spanish (Spain) (es_es))

Currently translated at 100.0% (388 of 388 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Irish)

Currently translated at 0.2% (1 of 388 strings)

Added translation using Weblate (Hebrew)

Added translation using Weblate (Irish)

Added translation using Weblate (English (United Kingdom))

Added translation using Weblate (Filipino)

Added translation using Weblate (Irish (ga_ie))

Added translation using Weblate (Occidental (ie_GA))

Added translation using Weblate (Occitan (France) (oc_fr))

Translated using Weblate (Spanish (Spain) (es_es))

Currently translated at 100.0% (388 of 388 strings)

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Alexey <signfinder@gmail.com>
Co-authored-by: Alfonso Cachero <alfonso.cachero@gmail.com>
Co-authored-by: Dmitry Petrov <dimakrm361@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kai Sommerfeld <ksooo@users.noreply.kodi.weblate.cloud>
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: Marek Adamski <fevbew@wp.pl>
Co-authored-by: Massimo Pissarello <mapi68@gmail.com>
Co-authored-by: Pavlo Marianov <acid@jack.kyiv.ua>
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/de_de/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/es_es/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/ga/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/it_it/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/pl_pl/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/ru_ru/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/uk_ua/
Translation: Kodi add-ons: video/plugin.video.youtube

* Deleted translation using Weblate (English (United Kingdom))

* Deleted translation using Weblate (Hebrew)

* Deleted translation using Weblate (Irish)

---------

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Alexey <signfinder@gmail.com>
Co-authored-by: Alfonso Cachero <alfonso.cachero@gmail.com>
Co-authored-by: Dmitry Petrov <dimakrm361@gmail.com>
Co-authored-by: Kai Sommerfeld <ksooo@users.noreply.kodi.weblate.cloud>
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: Marek Adamski <fevbew@wp.pl>
Co-authored-by: Massimo Pissarello <mapi68@gmail.com>
Co-authored-by: Pavlo Marianov <acid@jack.kyiv.ua>
2025-10-22 18:51:17 +11:00
MoojMidge
e86297d3b2
Merge pull request #1316 from MoojMidge/master
v7.3.0+beta.7
2025-10-19 15:05:05 +11:00
MoojMidge
884f76ddf0 Merge remote-tracking branch 'anxdpanic/master' into v7.3 2025-10-19 14:41:43 +11:00
MoojMidge
796afd5fa5 Version bump v7.3.0+beta.7 2025-10-19 14:41:42 +11:00
MoojMidge
1f40e325de Only add playable items to playlist when adding related items 2025-10-19 14:41:42 +11:00
MoojMidge
ae62d0d582 Fix using invalid default end limit with Playlist.GetItems JSONRPC method 2025-10-19 14:41:42 +11:00
MoojMidge
f9e9fe8efa Fix conversion of SRT subtitles to WebVTT #1256 2025-10-19 14:41:41 +11:00
MoojMidge
208812af99 Allow changing addon language when offline 2025-10-19 14:41:41 +11:00
MoojMidge
baa9ca2006 Ignore player request failures that may incorrectly indicate a need to sign-in #1312 2025-10-19 14:41:41 +11:00
MoojMidge
67df415e1b Refactor player request failure reasons as class variable 2025-10-19 14:41:40 +11:00
MoojMidge
6c17087be2 Add refresh to context menu of playlists 2025-10-19 14:41:40 +11:00
MoojMidge
50c1a351ac Improve detection of linked and forced plugin actions 2025-10-19 14:41:39 +11:00
MoojMidge
6f825c902c Include playlist_id listitem property for items from virtual playlists 2025-10-19 14:41:39 +11:00
MoojMidge
753e5ac9aa Refactor to move more UI related methods into XbmcContextUI 2025-10-19 14:41:39 +11:00
MoojMidge
b8d8928ea8 Workaround playback failure of progressive streams 2025-10-19 14:41:38 +11:00
MoojMidge
d154325c5b Misc tidy ups 2025-10-19 14:41:38 +11:00
MoojMidge
5f38dc3931 Allow watch urls from music.youtube.com to be directly handled by the addon 2025-10-18 19:13:44 +11:00