Commit graph

2776 commits

Author SHA1 Message Date
MoojMidge
7ccee6d5af Improve notification of player request errors #1254 #1262 2025-09-17 07:55:44 +10:00
MoojMidge
11a7751bbc Add notification if reCaptcha check is required 2025-09-17 07:55:43 +10:00
MoojMidge
ce01432163 Refresh stale cached entries if new player data is available #1259 2025-09-17 07:55:43 +10:00
MoojMidge
2652cd48e1 Disable use of captions from clients that are sometimes agressively rate limited #1250 2025-09-17 07:55:42 +10:00
MoojMidge
ccd782eb2e Improve workarounds for failing authorised player requests #1254 2025-09-17 07:55:42 +10:00
Hosted Weblate
8025503c56 Translated using Weblate (Swedish (sv_se))
Currently translated at 92.2% (358 of 388 strings)

Translated using Weblate (Catalan (Spain) (ca_es))

Currently translated at 0.7% (3 of 388 strings)

Translated using Weblate (Bosnian (Bosnia and Herzegovina) (bs_ba))

Currently translated at 92.2% (358 of 388 strings)

Co-authored-by: Daniel Nylander <daniel@danielnylander.se>
Co-authored-by: Elvis Gallegos <elvis.gallegos@gmail.com>
Co-authored-by: SecularSteve <fairfull.playing@gmail.com>
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/bs_ba/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/ca_es/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/sv_se/
Translation: Kodi add-ons: video/plugin.video.youtube
2025-08-30 13:29:25 +00:00
MoojMidge
c0776fcd64 Merge remote-tracking branch 'anxdpanic/master' into v7.3 2025-08-30 11:22:53 +09:00
MoojMidge
74541e1f9a Switch browse client for recommended videos #1254 2025-08-30 01:20:03 +09:00
MoojMidge
d3a003c3d4 Improve handling of plugin urls used as search terms 2025-08-30 01:03:41 +09:00
MoojMidge
9b82b0b9a2 Improve responsiveness of service runner loop and reduce possible initial delay on restart 2025-08-30 01:03:41 +09:00
MoojMidge
92f166e83d Ignore failing player requests that require signing in but won't accept OAuth2 authentication #1254 2025-08-30 01:03:40 +09:00
MoojMidge
43f897d356 Simplify adding sort methods to listings using XbmcContext.apply_content
- Use predefined constants for different content types
- Add playlist content type
- Ensure HL virtual list is displayed as history content type
2025-08-30 01:03:40 +09:00
MoojMidge
d6bbe43d44 Improve querying of GUI info to work with widgets and custom windows #1243
- Also move all GUI info related methods to XbmcContextUI
2025-08-30 01:03:39 +09:00
MoojMidge
1105376687 Allow plugin url query parameters to hide folders in search and channel playlist listing #1251
- Also add hide_channels query parameter
2025-08-29 20:55:11 +09:00
MoojMidge
508e58c71a Improve use of defined constants for plugin url paths and query parameters 2025-08-29 20:55:10 +09:00
MoojMidge
0b061a88ae Rename kodion.utils.datetime_parser to kodion.utils.datetime
- Module includes a number of non-parsing related datetime utility methods
2025-08-29 20:55:09 +09:00
MoojMidge
67e8ec478f Fix using locale specific abbreviations for weekday and month in If-Modified-Since header #1246 2025-08-29 20:55:08 +09:00
MoojMidge
312239fa71 Workaround Python 2 implicit encoding when using str.join #1246 2025-08-29 20:55:08 +09:00
MoojMidge
7a9145ad14 Workaround Python 2 implicit encoding when using str() #1246 2025-08-29 20:55:08 +09:00
MoojMidge
e995ca7b5d Workaround Python 2 incompatibilities with dict.keys() returning a list #1246 2025-08-29 20:55:07 +09:00
MoojMidge
7a1b8bb3fe Workaround Python 2 inconsistencies between string types in Kodi UI, internal functions, and string literals #1246
- What a mess...
- Add explicit decode to unicode for plugin invocation inputs and hope for the best with Kodi Six
2025-08-29 20:55:07 +09:00
MoojMidge
5b4b165d6d Fix inconsistencies between item IDs used as params that could result in exceptions
- Move kodion.utils.methods.parse_item_ids to XbmcContext.parse_item_ids
- Handle getting listitem details in one place rather than in an ad-hoc manner
2025-08-29 20:55:06 +09:00
MoojMidge
b1d7a6d04d Update sort method to localised label to sort ID mapping
- Add some comments to explain why this is necessary
- Follow up to a0f732a736
- Workaround Kodi 18 issue where sort methods are not visible in xbmcplugin.__dict__ #1246
- Add constants for content subtypes
2025-08-29 20:55:06 +09:00
MoojMidge
acab39042c Fix generated page token not working for first page in listing
- Also consolidate manipulation of next page parameters to one location
2025-08-29 20:55:06 +09:00
MoojMidge
0f0016bd6d Update how runtime changes to plugin url query parameters are handled
- Follow up to a0dd533212
- Also improve detection of manual/forced refreshes and new language invoker thread instantiation
2025-08-29 20:55:05 +09:00
Hosted Weblate
50fb9256bf Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 91.7% (356 of 388 strings)

Translated using Weblate (Ukrainian (uk_ua))

Currently translated at 92.2% (358 of 388 strings)

Translated using Weblate (Polish (pl_pl))

Currently translated at 92.2% (358 of 388 strings)

Translated using Weblate (Korean (ko_kr))

Currently translated at 92.2% (358 of 388 strings)

Translated using Weblate (Italian (it_it))

Currently translated at 100.0% (388 of 388 strings)

Translated using Weblate (German (de_de))

Currently translated at 92.2% (358 of 388 strings)

Co-authored-by: Kai Sommerfeld <ksooo@users.noreply.kodi.weblate.cloud>
Co-authored-by: Marek Adamski <fevbew@wp.pl>
Co-authored-by: Massimo Pissarello <mapi68@gmail.com>
Co-authored-by: Minho Park <parkmino@gmail.com>
Co-authored-by: Pavlo Marianov <acid@jack.kyiv.ua>
Co-authored-by: wabisabi926 <liwenliang926@163.com>
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/it_it/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/ko_kr/
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/uk_ua/
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/zh_Hans/
Translation: Kodi add-ons: video/plugin.video.youtube
2025-08-22 19:29:27 +00:00
MoojMidge
2e5d3f4549 Update AbstractContext methods
- Add pop_param method
- Add parse_params=True parameter to parse_uri method
2025-08-19 20:56:03 +09:00
MoojMidge
7dcff7d1c3 Don't replace non-standard JPEG thumbnails with WebP thumbnails #1245 2025-08-19 08:22:40 +09:00
MoojMidge
79d743cfc9 Ensure that track number sorting is listed directly after channel sorting for comments 2025-08-19 00:48:15 +09:00
MoojMidge
c66b6f9b68 Fix not parsing infolabels used in plugin url path #1239 #1243 2025-08-19 00:12:52 +09:00
MoojMidge
931e03fd3b Allow for callable wait_for to be used in XbmcContext.execute 2025-08-18 02:56:14 +09:00
MoojMidge
9a2327799c Ensure that track number sorting is always listed directly after default sorting 2025-08-18 02:56:14 +09:00
MoojMidge
19eb9f6603 Merge remote-tracking branch 'anxdpanic/master' into v7.3 2025-08-17 23:42:36 +09:00
MoojMidge
734a74cb8f Fix not parsing infolabels used as plugin url query params #1239 2025-08-17 23:36:51 +09:00
MoojMidge
93fd6f6c12 Fix unnecessarily processing window properties #1238 2025-08-17 18:22:14 +09:00
Hosted Weblate
9fd0d0b2a7 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-video/plugin-video-youtube/
Translation: Kodi add-ons: video/plugin.video.youtube
2025-08-17 07:17:15 +00:00
MoojMidge
195c335b0e Merge remote-tracking branch 'anxdpanic/master' into v7.3 2025-08-17 16:01:57 +09:00
MoojMidge
23d8500e2b Better support multiple post XbmcPlugin.run actions
- Also support using callables as actions
2025-08-17 16:01:51 +09:00
MoojMidge
a0dd533212 Allow for future additional runtime changes to plugin url query parameters 2025-08-17 10:30:57 +09:00
MoojMidge
a0f732a736 Update sort method mapping and also map localised sort order names
- Kodi only exposes the currently used localised sort order name
- However Kodi needs the sort order ID when setting the sort order
2025-08-17 10:14:12 +09:00
MoojMidge
90ce31bc04 Allow for plugin url query paramaters to be parsed as both strings and integers 2025-08-17 10:14:12 +09:00
MoojMidge
817217d1ab Reduce wait time on execution of plugin post run actions 2025-08-17 09:44:21 +09:00
MoojMidge
d9382fa041 Use WebP thumbnails instead of JPEG thumbnails
- Reduced filesize and improve loading times
2025-08-15 14:54:20 +09:00
MoojMidge
ad6e0c0abf Prevent showing multiple progress bars when playing/viewing a full playlist 2025-08-14 23:17:48 +09:00
MoojMidge
e90e315179 Allow hiding progress bar via new hide_progress paramater of v3.response_to_items
- Used in conjunction with existing plugin url query parameter
2025-08-14 23:17:48 +09:00
MoojMidge
487578c680 Fix not logging pre-formatted text when using XbmcContext.localize with undefined/untranslated strings
- Follow up to 89b5f4ff24
2025-08-14 22:42:52 +09:00
MoojMidge
71c0df5328 Optimise creation of context menu items
- Use ListItem properties where possible
- Allows for post runtime evaluation of context menu items
- Significantly reduces the number of context menu items created
2025-08-14 22:40:44 +09:00
MoojMidge
c1f56f68f3 Use separate parameters in YouTube.remove_video_from_playlist to identify video to be removed based on playlist type 2025-08-14 21:41:35 +09:00
MoojMidge
a615dda465 Use defined constants for item IDs that can be passed as query params 2025-08-14 21:41:34 +09:00
MoojMidge
4584d70f4b Add bookmark_id to listitem properties 2025-08-14 20:55:56 +09:00