Commit graph

13 commits

Author SHA1 Message Date
MoojMidge
5782e7b257 Tidy up some exception catching 2024-04-03 03:33:07 +11:00
MoojMidge
bea3ba442d Add and use utils.methods.jsonrpc helper method 2024-03-27 15:05:33 +11:00
MoojMidge
e4dc267025 Fix checking str type in Python 2 2024-01-14 13:14:38 +11:00
MoojMidge
b16e5ac5b1 Kodi Leia compatibility 2023-12-12 00:18:25 +11:00
MoojMidge
f4d41dba2a Add Python2 and Kodi 18 compatibility tweaks
- Ensure new style classes are used
- Use correct inputstream property for listitems
- Use correct infolabel date formatting
- Use correct setting type getter/setter for str list
- Ignore labelmask parameter in sort methods
- Use traditional packages rather than namespace packages
2023-12-11 16:12:46 +11:00
MoojMidge
e136f43d65 Use single instance of SystemVersion 2023-12-11 01:35:22 +11:00
MoojMidge
97dfa3a327 Update release names 2023-12-01 01:11:31 +11:00
MoojMidge
533fc96c54 Misc tidy up
No (intended) functional changes:
- extraneous indentation/whitespace
- missing explicit return values
- unnecessary return values
- combine nested if statements
- else/elif after return
- change else if to elif
- change if X: to if not X: return
- use conditional expressions
- simplify redundant conditions in if statements
- change bool if condition else not bool to just condition
- remove u-strings
- remove unused variables
- reduce line lengths
2023-11-25 22:15:34 +11:00
anxdpanic
c59ec823f4 remove dependency on six 2023-02-25 14:46:23 -05:00
anxdpanic
886668f252 add v19-21 to system release names 2020-11-21 11:24:33 -05: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
76df6c235d refactor SystemVersion 2018-09-05 10:57:48 -04:00
Renamed from resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_system_version.py (Browse further)