Commit graph

53 commits

Author SHA1 Message Date
a00a1951cb Remove six: iteritems 2024-06-11 03:14:07 +00:00
415fa8ce97 Fix flake8 E721 2024-06-10 15:40:09 +00:00
7763762212 Tool black: auto-format Python code 2024-06-10 09:19:47 +00:00
Marcell Kovács
3797ee228a
fix if statement
('Season') is just a string in parentheses, not a tuple
2023-02-07 17:52:28 +01:00
Odd Stråbø
745d7fdcf7 Add back verify_kodi_defaults from #426
Revert changes done in 144f71e71f
2022-10-27 22:35:34 +02:00
Matt
5da87c3f5c Fix opening the addon menu from the settings page 2022-04-03 10:04:57 -04:00
c72318e19d Fully qualify the imports from jellyfin_kodi.entrypoint 2021-10-19 15:35:17 +02:00
390c1d5de8 Fix tests 2021-10-12 18:08:47 +02:00
53c887d354 Use module-relative imports 2021-10-12 18:08:47 +02:00
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
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
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
203fb81f58 Move api_client details to context.py 2020-11-29 15:19:10 -05:00
Abby Gourlay
f0b0f551b6 Fixed dialog for deleting items + setup JellyfinClient for non-default entrypoints 2020-11-28 22:06:17 +00:00
a7e4fa8a5c
Merge pull request #425 from mcarlton00/BEGONE-SATAN
Remove TheVoid
2020-11-26 16:55:27 +01:00
Matt
144f71e71f Remove verify_kodi_defaults function 2020-11-18 19:36:41 -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
096680bc57 Remove unneeded import 2020-11-17 11:01:00 -05:00
cvium
a009530434 Byebye TheVoid 2020-11-17 11:00:50 -05:00
Abby Gourlay
ebcbd1893f Removed webservice 2020-08-15 01:04:57 +01:00
Abby Gourlay
98c86304fe Removed sonarqube issues tagged clumsy 2020-08-02 15:46:32 +01:00
Abby Gourlay
6f00779d73 Get resume from Kodi arguments 2020-07-31 23:53:12 +01:00
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
Abby
4b679eab74
Merge pull request #297 from mcarlton00/addon-menu
Improve addon menu
2020-05-16 17:45:15 +01:00
Matt
21dd8d95e8 Add music to addon menu 2020-05-15 19:07:45 -04:00
Matt
7911d957dc Fix errors before login occurs 2020-05-14 21:07:36 -04:00
0d4962ad83 sys.argv[1:] is not available in all addon threads 2020-04-19 13:08:00 +02:00
3f63e7c213 Fix linting, flake8 and sonarcloud issues 2020-04-19 12:07:55 +02:00
0ba319e700 Use __name__ for all logger names 2020-04-19 06:13:25 +02:00
795dfd38df Get the logger from a central place 2020-04-19 03:21:40 +02:00
a9793eb1c9 Update deprecated kodi api functions 2020-04-02 15:49:22 +02:00
mcarlton00
f4dc20cdf7
Merge pull request #256 from TrueTechy/remove_cachingQ_reset
Moved setting addon mode to utils
2020-03-30 23:26:46 -04: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
b4a2ee9d90 Added check to see if addon has already been setup 2020-03-30 17:43:41 +01:00
Abby Gourlay
ab6e51af58 Disabled changing server settings in settings menu & Removed corresponding update info function 2020-03-30 03:08:57 +01:00
Abby Gourlay
2cef5b727f Moved setting addon mode to utils
It was the only useful function left in setup.py since we've removed the rest of them over time
2020-03-30 02:48:09 +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