Commit graph

35 commits

Author SHA1 Message Date
MoojMidge
50c1a351ac Improve detection of linked and forced plugin actions 2025-10-19 14:41:39 +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
81c4c54217 Improve GUI info methods
- Follow up to d6bbe43
- Standardise functionality
- Add debug logging
- Allow forcing use of current control or current container as container ID
2025-09-20 23:39:52 +10: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
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
MoojMidge
a0dd533212 Allow for future additional runtime changes to plugin url query parameters 2025-08-17 10:30:57 +09:00
MoojMidge
ad3d6f304f Explicitly use C implementation of pickle module 2025-08-14 20:55:56 +09:00
MoojMidge
d522f8faa2 Update copyright notice dates 2025-07-27 15:10:38 +09:00
MoojMidge
bb6e2e4a48 Specifically use elapsed time for plugin profiling if available 2025-07-22 14:33:25 +09:00
MoojMidge
15763dad75 Tidy up log messages 2025-07-07 23:22:54 +09:00
MoojMidge
ac125aad14 Take appropriate action when listing forced refresh occurs 2025-07-02 21:08:53 +09:00
MoojMidge
05fd522412 Improve detection of listing forced refresh 2025-07-02 21:08:53 +09:00
MoojMidge
9c1a2ecc2c Improve addon logging using customised Python logging module 2025-07-02 20:46:45 +09:00
MoojMidge
e76b92c865 Add XbmcContext.refresh_requested method
- Consolidate parsing and manipulating refresh query param into one helper method
2025-04-07 23:35:27 +09:00
MoojMidge
cd0ab5ab91 Disable refresh parameter on Kodi forced refresh #1072 2025-01-24 01:40:32 +11:00
MoojMidge
f10061861e Log handle used with plugin invocations 2024-12-13 23:09:04 +11:00
MoojMidge
c0f56a82f0 Further changes to logging format and details 2024-11-05 06:39:02 +11:00
MoojMidge
a829bd54af Misc tidy ups 2024-11-03 09:59:53 +11:00
MoojMidge
82c499a77b Add kodion.logger.Logger mixin class and kodion.logging.enabled plugin settings
- New setting forces debug logging on
- Simplify settings change monitoring
- Workaround being unable to check debug logging enabled from advancedsettings.xml
- Workaround debug logging being disabled by FireOS #938
2024-10-27 08:51:37 +11:00
MoojMidge
db867f57cc Further updates to standardise logging for script, plugin and service endpoints
Follows 818b4a10a1
2024-10-24 10:28:11 +11:00
MoojMidge
efb1997862 Standardise logging for script, plugin and service endpoints 2024-10-08 13:03:13 +11:00
MoojMidge
7f1945a1b8 Fix comments not displaying for recommended videos #878
- Remove use of deepcopy
- Copy and manipulate individual sub-dicts instead
2024-08-15 05:42:15 +10:00
MoojMidge
3494a29e89 Update debug.Profiler to print a configurable number of lines and callees 2024-07-15 06:48:16 +10:00
MoojMidge
4ab2406fdc Improve sync with internal Kodi watched state #709 2024-06-04 09:58:26 +10:00
MoojMidge
eb8e104f52 Improve creation and tear down of XbmcContext instances 2024-05-23 11:14:12 +10:00
MoojMidge
1d92d46054 Improve provider tear down 2024-05-23 11:13:52 +10:00
MoojMidge
41cbeeb9e2 Enable support for Kodi internal mark as watched #709 2024-05-10 09:44:24 +10:00
MoojMidge
ef0493fa2b Misc tidy ups 2024-05-10 09:44:20 +10:00
MoojMidge
d41957b960 Use local lookup of module level globals in plugin_runner 2024-05-08 07:27:14 +10:00
MoojMidge
5eeed1a0d4 Make better use of reuselanguageinvoker 2024-05-08 07:24:08 +10:00
MoojMidge
d5b3935485 Misc tidy ups 2024-04-21 15:36:14 +10:00
MoojMidge
5391c002e2 Attempt to workaround bugs with Kodi internal Python module instance counting and garbage collection 2024-04-02 05:54:59 +11:00
MoojMidge
aee3477ba2 Use debug.Profiler if Kodi debug logging is enabled
- Will log runtime stats to Kodi log
2024-03-17 15:45:33 +11:00
MoojMidge
20745d3a78 Remove old file based runtime logger 2024-03-17 15:45:29 +11:00
MoojMidge
6593bc5173 Reorganise modules
- Remove import alias of concrete implementations of kodion classes
- Remove unused symbols from kodion module __all__ statement
- Merge kodion.ui.xbmc.info_labels into kodion.ui.xbmc.xbmc_items
  - Move combined kodion.ui.xbmc.xbmc_items to kodion.items.xbmc.xbmc_items
- Rename kodion.runner to kodion.plugin_runner
- Rename kodion.service to kodion.service_runner
- Move youtube_plugin.script_actions to kodion.script_actions
- Rename plugin.abstract_provider_runner.AbstractProviderRunner to plugin.abstract_plugin.AbstractPlugin
- Rename plugin.xbmc.xbmc_plugin.XbmcRunner to plugin.xbmc.xbmc_plugin.XbmcPlugin
2024-02-22 13:47:36 +11:00
Renamed from resources/lib/youtube_plugin/kodion/runner.py (Browse further)