Commit graph

18 commits

Author SHA1 Message Date
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
MoojMidge
4ae9cf1934 Use correct log level for error logging 2024-01-11 08:51:16 +11:00
MoojMidge
0c88a32a9a Misc tidy ups
- Also removes some very old code targeting Frodo/Gotham
2024-01-01 18:19:55 +11:00
MoojMidge
6805638e44 Create new Context without default plugin_id value 2023-12-25 20:42:57 +11:00
MoojMidge
b16e5ac5b1 Kodi Leia compatibility 2023-12-12 00:18:25 +11:00
MoojMidge
4362bbcdce Use correct types for context params and play_data 2023-12-06 11:55:18 +11:00
MoojMidge
978312d69c Re-org to prevent issues with circular imports
- Move http_server, ip_api, and requests to kodion.network module from
  kodion.utils
- Split kodion.impl to
  - kodion.context
  - kodion.player
  - kodion.plugin
  - kodion.settings
  - kodion.ui
- Remove context parameter from BaseRequestsClass, requests now imports
  Settings directly and can be imported by other modules in kodion
- Update BaseRequestsClass.request to use same params as parent class
2023-12-01 01:12:06 +11:00
anxdpanic
5175da5799 [PEP263] add source code encoding magic comment 2018-12-17 13:56:49 -05:00
anxdpanic
0ceb8246c2 Use SPDX license identifiers 2018-12-17 13:32:47 -05:00
anxdpanic
7bef72066c refactor runtime debugging 2018-08-22 13:28:35 -04:00
anxdpanic
471c3df366 add addon runtime to debug log, add addon runtime to debug file(s) 2018-08-19 11:14:32 -04:00
anxdpanic
6b03022975 provide path and params logging at runtime 2018-03-23 12:06:18 -04:00
anxdpanic
9b111945d2 future -> six 2018-02-01 17:26:56 -05:00
anxdpanic
5c32bc002d Python 3 compat. 2018-01-29 10:02:23 -05:00
anxdpanic
bafe1fbfa8 use deepcopy
- protect against potential future reference overwrites
2017-10-20 10:49:59 -04:00
anxdpanic
15d92c7650 [code cosmetics] remove ~850 pass statements 2017-10-14 14:34:43 -04:00
anxdpanic
0f4d5b35e8 add route to update api keys
plugin://plugin.video.youtube/api/update/?enable=true&client_id=<client_id>&client_secret=<client_secret>&api_key=<api_key>

All parameters optional, at least 1 required.
2017-09-08 09:03:36 -04:00
anxdpanic
10057e23d8 refactor to relative imports, add module extension point 2017-03-26 19:24:41 -04:00
Renamed from resources/lib/kodion/runner.py (Browse further)