Commit graph

90 commits

Author SHA1 Message Date
croneter
a045063769 Rather big change of PKC's plumbing 2018-11-18 14:59:17 +01:00
croneter
c5741c7225 Use xml.etree.cElementTree whenever possible to avoid memory leaks 2018-10-13 20:17:16 +02:00
croneter
b29e07846f Safely parse XMLs using defusedxml 2018-09-05 17:36:38 +02:00
croneter
4e0429fcc9 Fix switching to __future__ module
- Fixes #507
2018-07-12 18:46:02 +02:00
Croneter
c440dc7779 Switch to absolute imports 2018-06-21 19:24:37 +02:00
Croneter
ff4217b488 Specify exception type 2018-06-01 18:49:43 +02:00
Croneter
a4273c6c6e Declare PMS connection dead on first failed connection 2018-06-01 18:48:45 +02:00
croneter
952ad796dd Remove obsolete code 2018-02-14 20:10:11 +01:00
croneter
a2193ab01f Prettify 2018-02-03 13:44:16 +01:00
croneter
dde330a704 Fix requests verify ssl certificate 2018-01-28 13:23:47 +01:00
croneter
66f6605406 Fix TypeError when logging weird PMS answers 2018-01-23 08:07:19 +01:00
croneter
24f2f60209 Fix TypeError when PMS answer empty 2018-01-09 19:54:54 +01:00
tomkat83
14183cccca Fix Plex Companion headers & URL arguments 2018-01-02 11:48:44 +01:00
tomkat83
cdd38c6ef7 Optimize some imports 2017-12-09 14:35:08 +01:00
croneter
a09b6a4562 Fix SSLError not being recognized as such
ConnectionError is ancestor of SSLError
2017-12-07 18:22:52 +01:00
croneter
b0c62be75f Adjust log levels 2017-09-06 13:39:44 +02:00
tomkat83
583bfe0777 Remove obsolete attribute 2017-05-17 15:47:27 +02:00
tomkat83
056d4c86a3 Remove obsolete userid attribute 2017-05-17 15:45:59 +02:00
tomkat83
a63b90dd5f Revert "Revert "Code refactoring: avoid window vars in loops""
This reverts commit b6197231fa.
2017-05-17 10:09:50 +02:00
tomkat83
b6197231fa Revert "Code refactoring: avoid window vars in loops"
This reverts commit 6629fb41e3.
2017-05-14 16:41:22 +02:00
tomkat83
6629fb41e3 Code refactoring: avoid window vars in loops 2017-05-12 12:52:12 +02:00
tomkat83
0b7c9dc820 Allow for custom download from PMS, e.g. subtitles 2017-05-01 12:22:09 +02:00
tomkat83
b7373a4982 Small code refactoring 2017-04-30 17:22:46 +02:00
tomkat83
b1f6bd1edf Refactor service.py 2017-01-24 18:48:13 +01:00
tomkat83
579b52905e Code refactoring 2017-01-24 16:53:50 +01:00
tomkat83
8aba0d998d Code refactoring: put variables in one place 2017-01-24 16:04:42 +01:00
tomkat83
ce3435ac73 Less logging when PMS is offline 2016-12-17 13:21:44 +01:00
tomkat83
f8bb43a547 Catch both ConnectTimeout and ReadTimeout 2016-12-05 19:31:54 +01:00
tomkat83
0b2ccde834 Message if PMS item could not be deleted 2016-10-23 16:37:26 +02:00
tomkat83
394b6a240b Replace addonName references 2016-09-04 16:48:57 +02:00
tomkat83
bd2ffd0ea9 Merge conflicts downloadutils.py 2016-08-29 19:57:58 +02:00
tomkat83
dd70a79423 Fix PKC not releasing connections to the PMS. Should fix memory, connection and PMS issues. Fixes #75, fixes #64 2016-07-15 19:01:06 +02:00
tomkat83
3e84f34acc Higher connection timeout
- Fixes #73
2016-07-12 21:30:39 +02:00
tomkat83
a92146abc2 Remove emby references 2016-05-31 08:06:42 +02:00
tomkat83
67755d6a23 Improvements to PMS connection checks 2016-05-18 20:10:20 +02:00
tomkat83
d879a9d23c Additional artwork download from FanartTV! 2016-04-29 12:44:56 +02:00
tomkat83
c7b52a1fa4 Merge conflicts: download action_type 2016-04-26 14:02:19 +02:00
tomkat83
49a5f274e6 New settings option: default Plex On Deck TV Shows 2016-04-18 11:23:05 +02:00
tomkat83
7f9542c531 More logging 2016-04-13 14:42:04 +02:00
tomkat83
8794f221ff User auth resets download error counts 2016-04-13 14:34:58 +02:00
tomkat83
7bc3ee7fdf Fix TypeError 2016-04-13 14:20:28 +02:00
tomkat83
170b6c5066 Use window variables for download error count
When playing an item, another plugin instance is created. It is
impossible to share data otherwise
2016-04-13 13:04:23 +02:00
tomkat83
dc96dc533a Only declare unauthorized after 3 fails in a row 2016-04-13 12:14:16 +02:00
tomkat83
47938cf5c2 DoUtils: use authenticate instead of dontSignout 2016-04-13 10:48:45 +02:00
tomkat83
89fe2565d2 Try to shutdown more cleanly 2016-04-09 16:57:45 +02:00
tomkat83
3d5a3e9bfb Don't declare connection when poking PMS 2016-04-08 13:18:19 +02:00
tomkat83
be71912496 Don't sign out on checking connections 2016-04-07 16:46:12 +02:00
tomkat83
753e090cec Fix HTTP 401 and authentication endless loop 2016-04-07 16:10:07 +02:00
tomkat83
1f3598a7c4 Cleanup and Fixes
- Disable SSL warnings, finally
- Fix Plex Companion errors due to downloadutils switch
2016-04-06 18:23:51 +02:00
tomkat83
260fc7adf8 Rewired download and PMS connection
- Look for PMS in the LAN, even if plex.tv is available
2016-04-06 16:24:03 +02:00