Commit graph

2131 commits

Author SHA1 Message Date
tomkat83
a23c357734 Dont set syncThreadNumber in file settings anymore 2016-08-07 16:09:06 +02:00
tomkat83
ae6061f771 Try reducing strain on PMS for metadata
- Taken from Plex for Android GET command
2016-08-07 15:50:01 +02:00
tomkat83
a2693b3485 Optimize player and playlist instances 2016-08-07 15:33:36 +02:00
tomkat83
ee802428f9 PKC player does not need another player instance 2016-07-23 18:16:44 +02:00
tomkat83
eff7d7b68b Use 1 PKC xbmc.player instance 2016-07-23 18:06:47 +02:00
tomkat83
d6c14d0aa4 Instantiate xbmc player only once for playlist 2016-07-23 17:38:45 +02:00
tomkat83
e712b6309e Fix companion playback not starting from playlist 2016-07-23 17:32:57 +02:00
tomkat83
fc5d731859 Fix Kodi monitor 2016-07-23 16:49:40 +02:00
tomkat83
3407d47f9c Reduce boilerplate 2016-07-22 16:55:57 +02:00
tomkat83
bc7be04fc2 Reduce boilerplate 2016-07-22 16:51:44 +02:00
tomkat83
603e4e7867 Let wrapper return 2016-07-22 16:48:48 +02:00
tomkat83
898f2e6379 Decorator CatchExceptions 2016-07-22 16:41:02 +02:00
tomkat83
5eac547633 Call xbmc __init__ methods 2016-07-22 15:54:03 +02:00
tomkat83
16dbc726f1 Improve logging 2016-07-22 15:42:37 +02:00
tomkat83
ab47ac958a Don't try too long to get window value 2016-07-22 15:33:27 +02:00
tomkat83
dd1f50efe6 Improve logging 2016-07-22 15:17:38 +02:00
tomkat83
a26526c146 Move Companion processing to companion thread 2016-07-22 15:04:42 +02:00
tomkat83
8a58c885e9 Redesign playlists 2016-07-20 18:36:31 +02:00
tomkat83
5d79bcf1c2 Prettify 2016-07-20 09:00:47 +02:00
tomkat83
1dc576965a Import traceback only on exception 2016-07-20 08:24:36 +02:00
tomkat83
92cf5bd517 Prettify 2016-07-20 08:23:25 +02:00
tomkat83
9496785f5d Fix AttributeError with Plex Companion MyHandler 2016-07-20 07:59:53 +02:00
tomkat83
ed8bf235c7 Remove logging 2016-07-19 18:30:11 +02:00
tomkat83
1f9ac4f133 Plex Companion: Compile regex only once 2016-07-19 18:23:52 +02:00
tomkat83
dec4b077d5 Code cleanup 2016-07-19 18:22:34 +02:00
tomkat83
d8a7218625 Beautify code 2016-07-19 15:08:28 +02:00
tomkat83
8a2fdec248 Don't let PMS crash: download one item at a time
- PMS can currently not handle concurrent connections asking for
metadata (several PKC threads)
- Might also fix #75
2016-07-17 13:57:50 +02:00
tomkat83
fcf6dce7d4 Update Readme 2016-07-16 16:09:10 +02:00
tomkat83
80c9b05bd3 Update Readme 2016-07-16 15:00:06 +02:00
tomkat83
641b8d3662 Version bump 2016-07-15 19:38:37 +02:00
tomkat83
dbd5acf714 Fix TypeError for playlists
- Fixes #74
2016-07-15 19:11:17 +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
a84ea2f0b5 Version bump 2016-07-13 07:25:24 +02:00
tomkat83
1eb90cc5e6 Hotfix: Fix ValueError for playing certain files 2016-07-13 07:24:35 +02:00
tomkat83
79ac5be045 Version bump 2016-07-12 21:45:04 +02:00
tomkat83
f0400f0119 Dont let PMS force scan the media
- Guess the 'checkFiles=1' parameter for requesting a PMS item's
metadata forced a scan
- Maybe also fixes #73
2016-07-12 21:36:30 +02:00
tomkat83
3e84f34acc Higher connection timeout
- Fixes #73
2016-07-12 21:30:39 +02:00
tomkat83
04e31986b5 Force pick first media stream for direct path sync
- Otherwise user would need to choose media stream for every item with
several streams - cumbersome for large libraries with many such items
2016-07-12 20:27:59 +02:00
tomkat83
a0b1adbf70 Enable stream/media selection for direct play 2016-07-12 20:16:45 +02:00
tomkat83
ba191eafc7 Improve code stability
- NEVER use e.g. {} or [] as standard function arguments
2016-07-12 20:03:10 +02:00
tomkat83
90e67931ff Improve detection of need to transcode
- Fixes #70
2016-07-12 19:57:04 +02:00
tomkat83
c0a39c5289 Code cleanup 2016-07-12 19:14:46 +02:00
tomkat83
9a60fe7b37 Version bump 2016-06-26 18:24:44 +02:00
tomkat83
8d9ac66cd7 Preparation for companion playlist skipping
- Unicode issues from JSON responses
2016-06-26 18:22:26 +02:00
tomkat83
fd1a44f15f Plex Companion: fix skipping forward and backward
- Fixes #45
2016-06-26 17:06:00 +02:00
tomkat83
40529938ca Cleanup playlist.py 2016-06-26 16:10:32 +02:00
tomkat83
3fb6443b2b Let user always play trailer in highest quality 2016-06-26 12:32:19 +02:00
tomkat83
c8311e465a Fix PKC playstate updates for widgets on Krypton
- Fixes #67
2016-06-26 11:53:26 +02:00
tomkat83
62faecb9ce Version bump 2016-06-25 17:23:49 +02:00
tomkat83
aa60baeb97 Let the user pick between several streams
- And don't just pick the first one
2016-06-25 17:21:47 +02:00