jellyfin-kodi/jellyfin_kodi/entrypoint
Chuddah 7491000a13 Replaced debug output of json.dumps with an indirection to lazy __str__.
json.dumps is a processing intensive operation. This is being called
every time data is received from the server (most noticeably during
library updates) for debug logging. If the user has debug logging
disabled (the default option) then the user is still paying for
processing which is discarded.

The fix is to add a level of indirection where the dumps function is
only called if a string representation of the json is requested; ie.
when the debug string is evaluated.
2020-02-16 22:17:05 +00:00
..
__init__.py Initial work on Kodi 19 (and Python 3) support 2020-01-04 03:32:30 +01:00
context.py Initial work on Kodi 19 (and Python 3) support 2020-01-04 03:32:30 +01:00
default.py Replaced debug output of json.dumps with an indirection to lazy __str__. 2020-02-16 22:17:05 +00:00
service.py Replaced debug output of json.dumps with an indirection to lazy __str__. 2020-02-16 22:17:05 +00:00