Commit graph

4105 commits

Author SHA1 Message Date
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
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
MoojMidge
01e4322791 Allow urls from www.youtubekids.com to be directly handled by the addon 2025-10-12 20:00:50 +11:00
MoojMidge
92a7c81698 Fix re-sorting live search lists 2025-10-12 20:00:49 +11:00
MoojMidge
220648dea1 Disable use of custom thumbnail urls #1245 2025-10-12 20:00:49 +11:00
MoojMidge
75e73c93d7 Fix typo in name of KodiLogger.warning_trace() method 2025-10-12 20:00:49 +11:00
MoojMidge
d07945b742 Allow restoring current container position 2025-10-12 20:00:48 +11:00
Weblate (bot)
725a0ca552
Translations update from Kodi Weblate (#1304)
* 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

* Delete resources/language/resource.language.en_GB directory

---------

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>
Co-authored-by: MoojMidge <56883549+MoojMidge@users.noreply.github.com>
2025-10-11 20:25:20 +11:00
MoojMidge
3b4b7a4ea0 Workaround addon service not starting prior to plugin invocation #1298 2025-10-11 17:15:46 +11:00
MoojMidge
fe2b0b8d74 Update tear down methods 2025-10-11 15:19:30 +11:00
MoojMidge
c88c017dfa Fix parsing of logged_in query parameter 2025-10-11 11:59:42 +11:00
MoojMidge
ede1903c62
Merge pull request #1306 from MoojMidge/v7.3
v7.3.0+beta.6
2025-10-06 12:00:08 +11:00
MoojMidge
56c3fa474c Version bump v7.3.0+beta.6 2025-10-06 11:56:59 +11:00
MoojMidge
85c7a5d892 Fix typo in YouTubePlayerClient error hook 2025-10-06 11:55:46 +11:00
MoojMidge
d8bd33800d
Merge pull request #1303 from MoojMidge/v7.3
v7.3.0+beta.5
2025-10-06 11:39:03 +11:00
MoojMidge
b8ee7e583f Version bump v7.3.0+beta.5 2025-10-06 11:35:36 +11:00
MoojMidge
821869f836 Don't list users own playlists in listing of saved playlists 2025-10-06 11:35:36 +11:00
MoojMidge
9f017f20b5 Use client specific bound methods for response and error hooks 2025-10-06 11:35:35 +11:00
MoojMidge
39acf37006 Improve handling of plugin actions that refresh current listing 2025-10-06 11:35:35 +11:00
MoojMidge
2d33aba160 Fix not resolving single playable items when using the uri2addon plugin endpoint #1300
- Follow up to 96eacecd26
2025-10-06 11:35:35 +11:00
MoojMidge
df0656b430 Allow sign-in when partially logged in without needing to sign-out 2025-10-06 11:35:34 +11:00
MoojMidge
4ef2e37c08 Identify if user is only partially logged in 2025-10-06 11:35:34 +11:00
MoojMidge
0d8da642fc Improve handling of client (re-)initialisations
- Remove duplicated calls to client __init__() methods
- Ensure current context is always passed on client reset
- Also rename youtube.client.youtube.YouTube class to youtube.client.data_client.YouTubeDataClient
2025-10-06 11:35:33 +11:00
MoojMidge
84184ff307 Player client maintenance 2025-10-06 11:35:33 +11:00
MoojMidge
b811a78a92 Use persistent visitor data where possible except when incognito 2025-10-06 11:35:33 +11:00
MoojMidge
64f9861583 Remove redundant parameters in YouTubePlayerClient.__init__()
- Default set when instance created
- Updated when calling YouTubePlayerClient.load_stream_info()
2025-10-06 11:35:32 +11:00
MoojMidge
5e8219ce45 Correctly check whether access tokens are available to be used for player requests
- Follow up to 11cb49b06e
2025-10-06 11:35:32 +11:00
MoojMidge
801758a0a9 Fix not correctly resetting client instance
- Follow up to 11cb49b06e
2025-10-06 11:35:31 +11:00
MoojMidge
8a2f9559b2 Rename youtube.client.PlayerClient to youtube.client.YouTubePlayerClient
- Inherits from youtube.client.YouTube rather than youtube.client.LoginClient
- Avoids creating new player client instance for every playback event
2025-10-06 11:35:31 +11:00
MoojMidge
106b2bb3cb Dont restore container position on forced refresh when playback ends 2025-10-06 11:35:30 +11:00
MoojMidge
e509a864dc Better handle urllib3 re-raising low level errors but sometimes not 2025-10-06 11:35:30 +11:00
MoojMidge
931900595e Reduce window property operations 2025-10-06 11:35:30 +11:00
MoojMidge
cc53e15c86 Ignore unused parameters in item constructors #1282 2025-10-06 11:35:30 +11:00
Weblate (bot)
f1b5250ea7
Translations update from Kodi Weblate (#1288)
* 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: 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: 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/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

* Delete resources/language/resource.language.en_GB directory

---------

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: 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: Pavlo Marianov <acid@jack.kyiv.ua>
Co-authored-by: MoojMidge <56883549+MoojMidge@users.noreply.github.com>
2025-10-06 11:33:15 +11:00