Commit Graph

39 Commits

Author SHA1 Message Date
Odd Stråbø cd53329fb9 Remove kodi_six: import directly 2024-06-11 05:28:19 +00:00
Odd Stråbø 76ac99fc61 Remove six.moves: urllib 2024-06-11 03:29:07 +00:00
Odd Stråbø a00a1951cb Remove six: iteritems 2024-06-11 03:14:07 +00:00
Odd Stråbø 415fa8ce97 Fix flake8 E721 2024-06-10 15:40:09 +00:00
Odd Stråbø 7763762212 Tool black: auto-format Python code 2024-06-10 09:19:47 +00:00
Matt 5da87c3f5c Fix opening the addon menu from the settings page 2022-04-03 10:04:57 -04:00
Odd Stråbø 390c1d5de8 Fix tests 2021-10-12 18:08:47 +02:00
Odd Stråbø 53c887d354 Use module-relative imports 2021-10-12 18:08:47 +02:00
Odd Stråbø 1462e07fa5 Apply suggestions from code review 2021-10-10 16:40:58 +02:00
Brian Pepple 0345106427 Replace unused for index with underscore 2021-10-10 16:40:58 +02:00
Odd Stråbø ba164d1358
Merge pull request #576 from mcarlton00/context-browse
Allow browsing to a show from the info menu
2021-10-10 14:48:01 +02:00
mcarlton00 0b3888aa32
Update jellyfin_kodi/entrypoint/default.py
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
2021-10-06 19:05:27 -04:00
Matt 85410639df Allow browsing to a show from the info menu 2021-10-03 00:45:18 -04:00
Matt 5e7901be27 Migrate to new translatePath library 2021-10-02 13:26:37 -04:00
Odd Stråbø 164fc50d98 Named tuples and type hints? What is this magic? 2021-02-23 02:42:26 +01:00
Matt 49ce9e4359 Don't crash when a user skips server setup 2020-12-14 22:34:23 -05:00
Matt e487163ca2 Make the linter happy 2020-11-17 19:23:40 -05:00
Matt bf4c385283 Fix fanart 2020-11-17 19:06:24 -05:00
Matt feea23e9da Voidless playback. Slightly important 2020-11-17 12:10:04 -05:00
Matt 4a437f7a2b Make addon menu work without TheVoid 2020-11-17 11:01:55 -05:00
cvium 21cf8bcb68 Fix some linting issues 2020-11-17 11:01:00 -05:00
cvium a009530434 Byebye TheVoid 2020-11-17 11:00:50 -05:00
Abby Gourlay 6f00779d73 Get resume from Kodi arguments 2020-07-31 23:53:12 +01:00
Odd Stråbø a6241d25db Update deprecated isPassword functionality
and dialog line1 to message parameter rename.

The isPassword change likely bumps minimum version up to Kodi 18.
This can be worked around if desirable.
2020-05-29 01:11:25 +02:00
Matt 22b5d413fd Add reset password dialog to addon menu 2020-05-19 21:47:19 -04:00
mcarlton00 0f84d148b9 Don't sort playlist contents 2020-05-18 23:39:48 -04:00
Matt 21dd8d95e8 Add music to addon menu 2020-05-15 19:07:45 -04:00
Odd Stråbø 0d4962ad83 sys.argv[1:] is not available in all addon threads 2020-04-19 13:08:00 +02:00
Odd Stråbø 3f63e7c213 Fix linting, flake8 and sonarcloud issues 2020-04-19 12:07:55 +02:00
Odd Stråbø 795dfd38df Get the logger from a central place 2020-04-19 03:21:40 +02:00
Odd Stråbø a9793eb1c9 Update deprecated kodi api functions 2020-04-02 15:49:22 +02:00
mcarlton00 1a83263095
Merge pull request #257 from TrueTechy/server_change_warning
Disabled changing server details & Removed corresponding function
2020-03-30 22:31:59 -04:00
Abby Gourlay ab6e51af58 Disabled changing server settings in settings menu & Removed corresponding update info function 2020-03-30 03:08:57 +01:00
Matt 43ee6991cb Remove duplicate strings in translations 2020-03-25 19:16:00 -04:00
Chuddah de493d13dd Moved JsonDebugPrinter to existing utils module 2020-02-22 15:04:28 +00:00
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
Odd Stråbø a51bf9c2cc Initial work on Kodi 19 (and Python 3) support 2020-01-04 03:32:30 +01:00
TrueTechy 4e179890ec Change translation function name from _ to translate 2019-11-25 00:58:44 +00:00
TrueTechy 84b8093171 Begin restructing, fixed some issues related to movement 2019-11-07 22:58:44 +01:00