Commit graph

75 commits

Author SHA1 Message Date
04b1fcea48 Verify ssl by default 2021-10-19 23:00:23 +02:00
833f72ff5d Don't store CriticRating in the userrating db field 2021-10-12 18:50:24 +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
bfc18e7d4b Merge dictionary assignment with declaration 2021-10-10 16:40:58 +02:00
Brian Pepple
52525d4725 Inline variable that is immediately returned 2021-10-10 16:40:58 +02:00
Brian Pepple
f5c0016914 Remove redundant conditional 2021-10-10 16:40:58 +02:00
jessbo
9b2d499a9c jellyfin_kodi/{jellyfin/api,player}.py: Add missing "PlaySessionId" argument to close_transcode().
Without this argument, server always returns 400.
2021-08-29 15:45:40 -04:00
Matt
53aa27444b Arguments with a linter 2021-05-16 21:48:37 -04:00
Matt
a4e024634f Make linter ignore these imports 2021-05-16 21:43:35 -04:00
Matt
405a0038a3 Stop throwing errors during playback reporting 2021-05-11 19:55:08 -04:00
Matt
293dc7a768 Make sure numpy doesn't cause issues 2021-05-11 19:51:34 -04:00
Matt
21c4a8539f Change websocket import location 2021-05-02 16:52:48 -04:00
Matt
979c077231 Move websocket to a dependency 2021-05-02 16:52:41 -04:00
mcarlton00
01b114c19e
Merge pull request #475 from oddstr13/plural(s)
Fix: Get specific library vs list of libraries
2021-02-24 21:12:37 -05:00
9b30c883ea Fix import order 2021-02-23 02:53:10 +01:00
164fc50d98 Named tuples and type hints? What is this magic? 2021-02-23 02:42:26 +01:00
153396acbb array.array.tostring is removed in Python 3.9 2021-02-22 04:10:32 +01:00
mcarlton00
a51fd6b932
Merge pull request #431 from oddstr13/pr-10.7-1
Fix some minor issues highlighted by 10.7
2020-12-20 18:57:49 -05:00
Matt
d1a66e00c3 Make sure status code gets returned in payload 2020-12-16 21:32:25 -05:00
Abby
f943316d25
Merge pull request #438 from mcarlton00/context-is-important
Move api_client details to context.py
2020-11-29 21:22:07 +00:00
Matt
203fb81f58 Move api_client details to context.py 2020-11-29 15:19:10 -05:00
9971940cac [websocket] Remove deprecated base64.encodestring
Clean up _validate_header a little bit
2020-11-29 19:25:49 +01:00
Abby Gourlay
8de6c30417 Fixing pipeline complaint about import order 2020-11-28 22:12:06 +00:00
Abby Gourlay
f0b0f551b6 Fixed dialog for deleting items + setup JellyfinClient for non-default entrypoints 2020-11-28 22:06:17 +00:00
146bd401bf HTTP 400: Log response body when it can't be decoded as json 2020-11-26 16:58:14 +01:00
8a9b69f2f5 Remove extra leading slash from the KodiSyncQueue ping endpoint 2020-11-26 16:58:14 +01:00
6c3b682ef0 Log HTTP 400 json payloads 2020-11-26 16:58:14 +01:00
cvium
a009530434 Byebye TheVoid 2020-11-17 11:00:50 -05:00
020bd59766 Fixes jellyfin/jellyfin-kodi#421
Jellyfin autodiscovery is IPv4 broadcast only.
We're not binding to a specific port, no need for SO_REUSEADDR.

IP_MULTICAST_LOOP belongs to IPPROTO_IP
https://tldp.org/HOWTO/Multicast-HOWTO-6.html
and SO_REUSEADDR belongs to SOL_SOCKET
https://docs.microsoft.com/en-us/windows/win32/winsock/sol-socket-socket-options
2020-11-15 18:50:54 +01:00
mcarlton00
4e2c8a0af3
Merge pull request #366 from oddstr13/pr-json-filter-1
Filter keys containing None values from dictionaries returned from the server
2020-08-21 17:43:52 -04:00
ed96dc8ad5 Clean json returned from server for keys with None values
Add testing
2020-08-21 15:09:34 +02:00
8a3ca73d52 flake8 2020-08-21 14:56:15 +02:00
Abby Gourlay
a1a318d636 SSL Verification Fix 2020-08-10 12:38:24 +01:00
Abby Gourlay
cc899931ed Removed else statements from loops without breaks 2020-08-02 15:53:58 +01:00
Abby Gourlay
98c86304fe Removed sonarqube issues tagged clumsy 2020-08-02 15:46:32 +01:00
803081f65a Remove some generic exceptions 2020-08-01 00:08:03 +02:00
mcarlton00
15056cb146 Force filter parameter during incremental sync 2020-06-14 15:32:02 -04:00
981e05e2b9 Fix server selection list to show multiple servers 2020-05-29 01:22:10 +02:00
Abby
f1eec7a90a
Merge pull request #301 from mcarlton00/password-reset
Add reset password dialog to addon menu
2020-05-25 16:38:43 +01:00
Matt
9c11dbc113 Validate token returns dict no matter what 2020-05-24 16:26:39 -04:00
Matt
0f1f8be5ce Use utf-8 for header encoding 2020-05-23 10:11:37 -04:00
Matt
5cbc798cad Allow the device name to have unicode characters 2020-05-22 20:46:35 -04:00
Matt
de95d23e5a Catch bad passwords on addon startup 2020-05-22 18:55:21 -04:00
3f63e7c213 Fix linting, flake8 and sonarcloud issues 2020-04-19 12:07:55 +02:00
mcarlton00
87af711c94
Merge pull request #277 from oddstr13/pr-logging-2
Attempt to improve logging
2020-04-19 00:32:38 -04:00
swedge
9ddab3fc9f Fixes #278 2020-04-18 21:39:26 -04:00
795dfd38df Get the logger from a central place 2020-04-19 03:21:40 +02:00
21643cd95e Disable TLSv1.0 and TLSv1.1 in websocket lib
These protocols are disabled by default in modern browsers
as of March/April 2020.
2020-04-16 03:37:34 +02:00
0dfea09769 Disable SSLv2 and SSLv3 support in websocket lib
Requires Python2 >= 2.7.9, Python3 >= 3.6
2020-04-16 01:57:13 +02:00