Commit graph

2741 commits

Author SHA1 Message Date
croneter
57ec06ae4d Don't empty entire playqueue on Kodi exit 2018-02-04 12:17:05 +01:00
croneter
3174521475 Reintroduce Kodi playlist polling
There is no way around it - Kodi does not tell if the user swaps items in the Kodi playlist, unfortunately
2018-02-04 12:06:39 +01:00
croneter
199939c8b7 Fix skipping back in Kodi playlist 2018-02-03 17:03:36 +01:00
croneter
8d1bd52328 Fix Companion KeyError for music playback 2018-02-03 16:49:58 +01:00
croneter
a6ce6ae8d2 Fix KeyError for Kodi playerids 2018-02-03 16:43:39 +01:00
croneter
fd4422fa65 Fix Kodi queueing several items 2018-02-03 16:40:24 +01:00
croneter
adb43b2bbf Prettify 2018-02-03 16:20:10 +01:00
croneter
68887772df Fix missing containerKey 2018-02-03 16:16:53 +01:00
croneter
a2b4b48ddc Less logging 2018-02-03 15:57:37 +01:00
croneter
698217d374 Fix items being added twice to playqueue 2018-02-03 15:54:00 +01:00
croneter
c6edaf4304 Fix wrong exception type 2018-02-03 15:46:41 +01:00
croneter
bee845ca95 Fix PKC clearing Kodi playlist 2018-02-03 15:12:10 +01:00
croneter
35536fdc2f Remove obsolete playlistitem attribute 2018-02-03 15:04:05 +01:00
croneter
48dc22ee35 Fix PlaylistError 2018-02-03 14:59:43 +01:00
croneter
76bd6e934a Fix PlaylistError 2018-02-03 14:54:54 +01:00
croneter
6075642e9e Fix logging 2018-02-03 14:49:56 +01:00
croneter
c8c453c031 Clear playqueue if there was only 1 item in it 2018-02-03 14:26:58 +01:00
croneter
6cf5a08038 Less logging 2018-02-03 14:09:29 +01:00
croneter
5613d76d95 Less logging 2018-02-03 14:05:18 +01:00
croneter
0d11c6db58 Fix context menu playback 2018-02-03 14:04:17 +01:00
croneter
73f7fc7644 Less logging 2018-02-03 13:54:39 +01:00
croneter
a2193ab01f Prettify 2018-02-03 13:44:16 +01:00
croneter
bd85bb445e Enable context menu playback 2018-02-03 12:45:48 +01:00
croneter
a6a8c18711 Prettify 2018-02-01 13:55:40 +01:00
croneter
187a6131f0 Prettify 2018-02-01 08:19:51 +01:00
croneter
3fe1f184d6 Prettify 2018-02-01 07:56:54 +01:00
croneter
ff09ae6457 Force lowercase protocol for plugin playback 2018-02-01 07:44:12 +01:00
croneter
128582bf96 Fix Kodi player seeking too often 2018-02-01 07:16:09 +01:00
croneter
ef1baa2d1d Revert "Fix Kodi player seeking too often"
This reverts commit c5a3741289.
2018-02-01 07:15:37 +01:00
croneter
c5a3741289 Fix Kodi player seeking too often 2018-02-01 07:15:22 +01:00
croneter
a95e07d32b Enable resume for playback initiated by Companion 2018-01-31 20:54:11 +01:00
croneter
3aa5ee0408 Remove playbackutils.py 2018-01-31 07:47:43 +01:00
croneter
0eb526add4 Enable Kodi playback for an entire PMS xml 2018-01-31 07:42:23 +01:00
croneter
336d50cd3a Fix UnboundLocalError for Direct Paths 2018-01-30 07:51:14 +01:00
croneter
fc9ea2444e Introduce PlaylistError exception 2018-01-30 07:50:44 +01:00
croneter
a6e9869a14 Fix channels playback 2018-01-28 18:06:30 +01:00
croneter
fd2c6115fc Reduce logging 2018-01-28 17:56:33 +01:00
croneter
e661236440 Fix resume playback outside Kodi library 2018-01-28 17:53:51 +01:00
croneter
2d8bd3051a Fix PKC restoring cache directories 2018-01-28 17:36:36 +01:00
croneter
83833d76b3 Fix missing resume points 2018-01-28 17:28:02 +01:00
croneter
dfd5297cd3 Revamp playback start, part 7 2018-01-28 17:21:28 +01:00
croneter
0e3a7a1673 Encode listitem paths 2018-01-28 15:24:41 +01:00
croneter
88f9ec3dfa Merge branch 'hotfixes' of https://github.com/Pavuucek/PlexKodiConnect into Pavuucek-hotfixes 2018-01-28 13:59:48 +01:00
croneter
bc26d53945 Fix Kodi suddenly marking item as played 2018-01-28 13:55:00 +01:00
croneter
8da730ed8d Wait a bit less 2018-01-28 13:31:35 +01:00
croneter
ec0d382206 Fix releasing of default.py 2018-01-28 13:30:50 +01:00
croneter
15f6d7bf18 Let Kodi decide whether an item is resumable 2018-01-28 13:29:27 +01:00
croneter
f32d2cfcfc Revert "Let Kodi decide whether item is resumable"
This reverts commit d1fc9c0bff.
2018-01-28 13:28:29 +01:00
croneter
d1fc9c0bff Let Kodi decide whether item is resumable 2018-01-28 13:28:05 +01:00
croneter
2243bc42aa Fix release of default.py 2018-01-28 13:26:25 +01:00
croneter
05f9f56a4d More logging 2018-01-28 13:24:42 +01:00
croneter
dde330a704 Fix requests verify ssl certificate 2018-01-28 13:23:47 +01:00
croneter
906f61a847 Fix resume playback for extended context menu 2018-01-28 12:52:31 +01:00
croneter
6e6fbadb02 Fix repeated playback of same resumable item 2018-01-26 09:47:58 +01:00
croneter
cfff75926a Revamp playback start, part 6 2018-01-25 17:15:38 +01:00
croneter
510952f9de Avoid error in log file 2018-01-24 07:40:28 +01:00
Michal Kuncl
db0d629302 Restore cache directories after deleting. Fixes #392 2018-01-23 21:39:55 +01:00
croneter
307806e65f Fix playback starting in the background 2018-01-23 20:38:50 +01:00
croneter
e8d9252891 Prettify 2018-01-23 19:13:47 +01:00
croneter
4b0fa90f5e Remove obsolete code 2018-01-23 19:10:18 +01:00
croneter
4d79a17738 Detect resume playback outside of widgets also 2018-01-23 19:07:05 +01:00
croneter
66f6605406 Fix TypeError when logging weird PMS answers 2018-01-23 08:07:19 +01:00
croneter
e6520ad2e8 Fix KeyError on playback start 2018-01-23 07:59:53 +01:00
tomkat83
287b888b6f Revamp playback start, part 5 2018-01-22 11:20:37 +01:00
tomkat83
2791da9f65 Revamp playback start, part 4 2018-01-21 18:31:49 +01:00
croneter
7ecaa376a2 Revamp playback start, part 3 2018-01-21 13:42:22 +01:00
croneter
fb7eafb27a Revamp playback start, part 2 2018-01-10 20:14:05 +01:00
croneter
24f2f60209 Fix TypeError when PMS answer empty 2018-01-09 19:54:54 +01:00
tomkat83
f0a2955b83 Revamp playback start, part 1 2018-01-07 17:50:30 +01:00
tomkat83
671424ecbe Move PKC Kodi master lock hack to PKC startup 2018-01-07 15:44:20 +01:00
tomkat83
36bcd70c9d Do not check plex.tv connection on startup 2018-01-07 15:20:25 +01:00
tomkat83
607fdab326 Force-set some important Kodi settings
- Fixes #389
2018-01-07 15:16:53 +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
e0f1225c21 Move plex_playbackProbs to state.py 2018-01-06 12:55:24 +01:00
tomkat83
546e79d925 Move propertiesPlayback from window to state.py 2018-01-03 17:50:01 +01:00
tomkat83
ec4a5d2b7c Prettify 2018-01-02 15:39:48 +01:00
tomkat83
359a8d0221 Revert "Fix Plex ratingKey being stored as int, not str"
This reverts commit 6bfd67a41d.
2018-01-02 15:12:01 +01:00
tomkat83
f4e83f6be5 Better detect if PKC playback init is still ongoing 2018-01-02 15:11:49 +01:00
tomkat83
93b878ad78 Fix playlist item representation (str, not int) 2018-01-02 15:10:23 +01:00
tomkat83
6bfd67a41d Fix Plex ratingKey being stored as int, not str 2018-01-02 14:31:57 +01:00
tomkat83
b84a833e0d Remove unreliable check for playback init 2018-01-02 14:30:54 +01:00
tomkat83
ac3be93894 More Plex Companion fixes 2018-01-02 13:28:25 +01:00
tomkat83
95356d9483 Fix headers 2018-01-02 12:13:41 +01:00
tomkat83
14183cccca Fix Plex Companion headers & URL arguments 2018-01-02 11:48:44 +01:00
tomkat83
3a9f65d908 Remove obsolete code 2018-01-02 10:58:28 +01:00
tomkat83
18a9e77b33 Plex Companion optimizations 2018-01-01 18:36:28 +01:00
tomkat83
2e5249ca4f Don't allow spaces in devicename 2018-01-01 17:15:01 +01:00
tomkat83
6caa759ce1 Fix wrong partIndex 2018-01-01 14:23:08 +01:00
tomkat83
d8e4093696 Use variable.py's machineIdentifier 2018-01-01 13:46:21 +01:00
tomkat83
6c0ab38193 Fix wrong Plex machineIdentifier 2018-01-01 13:40:45 +01:00
tomkat83
5337ae5715 Major Plex Companion overhaul, part 6 2018-01-01 13:28:39 +01:00
tomkat83
cf15799df2 Clear and remove-items from Kodi playqueues once 2017-12-30 12:57:23 +01:00
tomkat83
ba0f22ac1e Prettify 2017-12-28 21:46:48 +01:00
tomkat83
bfefef548e Fix typo 2017-12-28 21:32:12 +01:00
tomkat83
2f90674f51 Major Plex Companion overhaul, part 5 2017-12-28 21:31:05 +01:00
tomkat83
e4ea7692b2 Add json to skip to certain playqueue position 2017-12-28 21:23:50 +01:00
tomkat83
4b5f7868bb Fix typo 2017-12-28 20:47:23 +01:00
tomkat83
f5a6531386 Fix typos 2017-12-28 18:29:51 +01:00
tomkat83
e358e9b3a5 PKC playqueues now log as dicts for pprint 2017-12-28 17:32:58 +01:00
tomkat83
771520cd96 Save transient token earlier to PKC playqueue 2017-12-28 16:56:48 +01:00
tomkat83
11df634c91 Fix TypeError 2017-12-28 15:45:48 +01:00
tomkat83
48c05c415d Merge branch 'patch-1' of https://github.com/Draic/PlexKodiConnect into Draic-patch-1 2017-12-28 15:33:38 +01:00
tomkat83
244a8e308f Disable Kodi msg "Loading media info from files" 2017-12-28 15:30:56 +01:00
tomkat83
6e00838ef0 Prettify 2017-12-28 15:24:36 +01:00
Draic
1ca8a46473
Hi10p should only trigger on h264
changed h265 to h264 as this should be the intended codec.
2017-12-23 16:42:40 +01:00
croneter
02f48dd15f Prettify 2017-12-21 09:43:16 +01:00
croneter
4547ec52af Major Plex Companion overhaul, part 4 2017-12-21 09:28:06 +01:00
tomkat83
47779bbbee Modify logging 2017-12-15 16:22:03 +01:00
tomkat83
72de3b6796 Companion: enable audio and subtitle stream switch 2017-12-15 16:11:19 +01:00
tomkat83
f0a3cd8c55 Avoid RuntimeError on exit 2017-12-15 16:08:20 +01:00
tomkat83
39d7bfd80f Clean up json_rpc 2017-12-15 13:22:12 +01:00
croneter
5f4016e22e Clean-up 2017-12-14 17:39:50 +01:00
croneter
bb0ba08329 Also update volume and mute on PMS updates 2017-12-14 17:19:09 +01:00
croneter
7100802cab Ensure that PKC signals playback stop on shutdown 2017-12-14 15:54:28 +01:00
croneter
502c013af0 Update all Kodi player properties for Companion update 2017-12-14 15:20:41 +01:00
croneter
b520fe2b79 Fix playstate remaining at zero 2017-12-14 10:34:40 +01:00
croneter
8189eb6b4c Companion: fix audio stream and subtitle stream 2017-12-14 10:22:48 +01:00
croneter
0b54e24947 Never have negative playstates 2017-12-14 10:21:30 +01:00
croneter
c0e7c78a11 Major Plex Companion overhaul, part 3 2017-12-14 08:29:38 +01:00
croneter
80c106d57f Fix some IndexErrors and KeyErrors 2017-12-13 20:41:29 +01:00
croneter
9cac51d5c9 Major Plex Companion overhaul, part 2 2017-12-13 20:14:27 +01:00
croneter
cc347d5654 Fix some KeyErrors 2017-12-11 19:24:21 +01:00
tomkat83
b1e2791ca8 Major Plex Companion overhaul, part 1 2017-12-10 19:01:22 +01:00
tomkat83
c3b5054477 Fixes to Companion /poll replies 2017-12-09 17:23:50 +01:00
tomkat83
41abcc8d2c Remove plexbmc plexsettings.py 2017-12-09 16:30:52 +01:00
tomkat83
90c76aa997 Init unique machine identifier earlier 2017-12-09 16:18:46 +01:00
tomkat83
39014fe7f4 Move kodi webserver details to state.py 2017-12-09 15:41:07 +01:00
tomkat83
cdd38c6ef7 Optimize some imports 2017-12-09 14:35:08 +01:00
tomkat83
73c7f866e6 Security fix: Companion shall not send Plex token 2017-12-09 13:54:30 +01:00
tomkat83
843bedbee6 Switch Companion to use json_rpc.py 2017-12-09 13:47:19 +01:00
tomkat83
cceb110354 Always return JSON RPC answer 2017-12-08 20:41:11 +01:00
tomkat83
9380a23867 Fix typo 2017-12-08 20:35:32 +01:00
tomkat83
dfdc6eefd0 Move jsonrpc function 2017-12-08 20:32:10 +01:00
tomkat83
34cd0fadb4 Delete obsolete screensaver function 2017-12-08 20:24:36 +01:00
croneter
f2bc95813a Centralize Kodi json rpc 2017-12-08 19:43:06 +01:00
croneter
f6b666e892 Move companion json rpc commands 2017-12-08 07:53:01 +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
18a5bcd7db Fix potentially telling wrong PMS to stop transcode 2017-12-07 18:19:54 +01:00
croneter
e6a5b1c157 Move Kodi playback info to state.py 2017-12-07 17:25:48 +01:00
croneter
65a48ebe7b Attach PMS xml piece to playlist item 2017-12-07 17:25:24 +01:00
croneter
2a6d8757e6 Class must only be initiated and used once
Hence no borg necessary
2017-12-07 17:15:54 +01:00
croneter
208997b167 Remove obsolete method 2017-12-07 17:15:13 +01:00
croneter
dc590d7ed1 Fx docstrings 2017-12-06 18:05:01 +01:00
croneter
a2a925edc0 Add docstrings 2017-12-06 11:40:27 +01:00
croneter
116a2956ac Minor Plex Companion improvements 2017-12-05 11:14:41 +01:00
tomkat83
9052b84011 Fix .strm playback failing for addon paths
- Partially fixes #354
2017-12-04 19:50:12 +01:00
tomkat83
f86582689b Only transcode 10bit video for h265
- Fixes #367
2017-12-04 19:41:59 +01:00
tomkat83
3e9e572e3c Merge branch 'hotfixes' of https://github.com/croneter/PlexKodiConnect into hotfixes 2017-11-05 12:53:05 +01:00
tomkat83
f1c784d458 Support playback of .strm files 2017-11-05 12:51:45 +01:00