Commit graph

66 commits

Author SHA1 Message Date
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
1f0977ec77 Fix Plex Companion failing leading to PMS connection loss 2018-05-30 08:20:30 +02:00
croneter
d74c26fd4c Fix disabling of background sync (websockets)
- Partially fixes #425
2018-03-10 12:58:11 +01:00
croneter
e02e9bcd1f Rename thread methods 2018-02-11 14:57:39 +01:00
croneter
ca11528593 Prettify 2018-02-11 13:24:00 +01:00
croneter
90a0c4b545 Replace websocket shutdown with close 2018-02-09 15:10:20 +01:00
tomkat83
eb6b1fbe48 Remove obsolete code 2018-01-07 10:56:24 +01:00
tomkat83
e17824609a Greatly simplify handling of PKC playqueues 2018-01-06 15:19:12 +01:00
tomkat83
d8e4093696 Use variable.py's machineIdentifier 2018-01-01 13:46:21 +01:00
tomkat83
cdd38c6ef7 Optimize some imports 2017-12-09 14:35:08 +01:00
croneter
14b8df4f9c Fix Alexa websocket not exiting on Handshake Status 403 2017-09-15 20:01:20 +02:00
croneter
274ed4b430 Background sync now picks up more PMS changes 2017-09-08 12:06:31 +02:00
croneter
3ada7d1a98 More specific exception handling 2017-09-06 19:26:48 +02:00
croneter
81084ea479 Increase logging for websockets 2017-09-06 14:14:42 +02:00
tomkat83
f7da47f2d5 Rename Plex user id 2017-05-17 16:15:16 +02:00
tomkat83
bfe174dc09 Add state for Plex user ID 2017-05-17 15:57:30 +02:00
tomkat83
b532b74b84 Fix websockets 2017-05-17 14:34:52 +02:00
tomkat83
7a174f5a7e Fix Alexa thread suspend 2017-05-17 14:20:43 +02:00
tomkat83
06727fca71 Fix thread methods 2017-05-17 13:55:24 +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
715513cdb3 Fix spelling 2017-03-05 15:48:08 +01:00
tomkat83
df6d753c18 Only try to connect Alexa if we got a Plex token 2017-03-05 15:44:01 +01:00
tomkat83
57408c5137 Suspend Alexa thread if Plex user is restricted
- Alexa currently only works for the master user for Plex home
2017-03-05 15:38:13 +01:00
tomkat83
b734d0be8e Amazon Alexa support! 2017-03-04 17:54:24 +01:00
tomkat83
0c2d4984ab Playqueues major haul-over 2016-12-27 17:33:52 +01:00
tomkat83
9d2cf86091 Optimize websocket imports 2016-12-20 16:30:22 +01:00
tomkat83
17fc11d8bb Optimize websocket client queue 2016-12-20 16:27:22 +01:00
tomkat83
ad8b7c7d90 Merge Master 2016-12-20 16:13:19 +01:00
tomkat83
8ed9275a26 Catch websocket handshake errors correctly
- Fixes #97
2016-11-17 13:29:53 +01:00
tomkat83
c779491499 Revert "Sleep 5s after declaring connection dead"
This reverts commit d65d9f0aba.
2016-11-12 17:50:45 +01:00
tomkat83
d65d9f0aba Sleep 5s after declaring connection dead 2016-11-12 17:47:58 +01:00
tomkat83
1339ac2bc9 More debug logging for websockets 2016-11-12 17:45:37 +01:00
tomkat83
9d704a844f Cleanup websocket_client.py 2016-09-04 16:41:05 +02:00
tomkat83
a92146abc2 Remove emby references 2016-05-31 08:06:42 +02:00
tomkat83
6b329fbb02 Smarter, faster way to tell PMS went offline 2016-05-29 18:51:09 +02:00
tomkat83
65ac1b3f00 Fix websockets still checking SSL certificates 2016-05-29 17:56:55 +02:00
tomkat83
4575f1e482 Increase logging for background updates
- You will need to enable debug logging in the PKC settings
2016-05-07 17:42:19 +02:00
tomkat83
b9016a0acd Companion: handle timeout while connecting 2016-04-11 18:00:04 +02:00
tomkat83
1db371e9f1 Less logging 2016-04-07 17:51:42 +02:00
tomkat83
753e090cec Fix HTTP 401 and authentication endless loop 2016-04-07 16:10:07 +02:00
tomkat83
9dec68f6d9 Do background sync while playing
But no full sync
2016-03-29 19:45:32 +02:00
tomkat83
9037f65318 Improve websocket stability 2016-03-29 19:16:08 +02:00
tomkat83
dc7755ba6d Rewired websockets 2016-03-29 18:44:13 +02:00
tomkat83
c401cd9835 No websocket message logging 2016-03-28 14:43:35 +02:00
tomkat83
fb1bc7c555 Cleanup background sync 2016-03-27 19:06:36 +02:00