Commit graph

77 commits

Author SHA1 Message Date
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
tomkat83
8bad79413c Move any download activities to one method 2016-04-05 20:10:29 +02:00
tomkat83
12add3d369 Move xArgsDeviceInfo to clientinfo 2016-04-05 18:23:00 +02:00
tomkat83
6a2094d444 Backgroundsync using websockets 2016-03-27 16:57:20 +02:00
tomkat83
9a049854dc Don't de-authorize if several PMS are present 2016-03-23 16:40:31 +01:00
tomkat83
feb01b748f Switch from xml.etree.cElementTree to .ElementTree
cElementTree has issues, e.g. during Kodi user profile switch
2016-03-23 09:42:59 +01:00
tomkat83
22a0cfc6f0 Increase download timeout to 30s
Should take care of missing PMS replies if we request all elements of a
certain large library
2016-03-13 13:59:24 +01:00
tomkat83
a3c2d21757 Fix userclient 2016-03-10 16:02:46 +01:00
tomkat83
c8d6070682 Slightly increased download timeouts 2016-03-09 15:56:12 +01:00
tomkat83
55b3d44899 Overhaul userclient
Again...
2016-03-09 15:37:27 +01:00
tomkat83
e5e6f2208e Much shorter download timeouts
This should hopefully solve the stuck library sync
2016-03-08 15:28:59 +01:00
tomkat83
100421ce2d Connect to remote PMS 2016-03-08 14:50:43 +01:00
tomkat83
4e44579c1f General bug squishing 2016-03-03 15:28:44 +01:00
tomkat83
4704d8e983 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-01 10:10:11 +01:00