Commit graph

4350 commits

Author SHA1 Message Date
croneter
a89f7fa63b
Merge pull request #1690 from croneter/py3-fix-addon
Fix generating new unique device ID for PKC not working
2021-11-03 07:59:46 +01:00
croneter
b6d09eb59b Fix generating new PKC unique device ID not working 2021-11-03 07:46:15 +01:00
croneter
4baee9afc1 Explicitly instantiate Addon() for PKC 2021-11-03 07:46:15 +01:00
croneter
71f4fa0f76 Reduce the number of instantiations for Addon() 2021-11-03 07:45:31 +01:00
croneter
dfa1b4beaa Fix subtitle streams missmatch between Kodi and Plex 2021-11-02 19:52:15 +01:00
croneter
f2cd4d68ea Refactor playqueues 2021-11-02 19:52:15 +01:00
croneter
edf0cd9a54 Refactor Plex intro detection 2021-11-02 19:52:15 +01:00
croneter
eec4e14513 Fix IndexError due to Kodi returning wrong stream indices 2021-11-02 19:52:15 +01:00
croneter
2c74ddde88 Completely new implementation for Plex Companion 2021-11-02 19:51:07 +01:00
croneter
16f3605dff
Merge pull request #1684 from croneter/py3-fix-streams
Fix streams for videos not being set-up
2021-10-30 18:51:46 +02:00
croneter
d8bb852867
Merge pull request #1680 from OpenNOX/opennox/add-auto-intro-skip
Add auto skip intro functionality
2021-10-30 18:51:33 +02:00
croneter
622c468e3d Fix streams not being set-up 2021-10-30 18:37:16 +02:00
croneter
ab52521f73 Fix UnboundLocalError: local variable 'identifier' referenced before assignment 2021-10-30 18:34:35 +02:00
Christopher Kaliszewski
20e6a3d24c Add auto skip intro functionality 2021-10-24 01:50:15 -04:00
croneter
20f5d9d561 Fix Kodi JSON racing condition on playback startup and KeyError 2021-10-22 21:20:08 +02:00
croneter
49fce5a2cd Track video streams as well; refactor reporting of playback progress; only switch audio stream if different 2021-10-20 14:55:39 +02:00
croneter
4f7e54591c Fix TypeError for Plex Companion switching audio or subtitle stream 2021-10-19 08:36:05 +02:00
croneter
0d41321d7f Fix PKC not being able to register as a PMS client 2021-10-18 16:51:09 +02:00
croneter
aa14e8259f Fix Plex Web's Plex Companion connection terminating suddenly 2021-10-18 16:51:09 +02:00
croneter
f3754fa2e3 Use ThreadingHTTPServer instead of own threaded HTTPServer 2021-10-18 16:39:12 +02:00
croneter
8c64e2a17c Fix http server headers Connection:keep-alive and Content-Type for XMLs 2021-10-18 16:39:11 +02:00
croneter
e6171127dc Don't simply swallow all http server exceptions 2021-10-18 16:39:11 +02:00
croneter
d37fbb6c1a Remove obsolete BaseHTTPRequestHandler method 2021-10-18 16:39:11 +02:00
croneter
c107eb2ed8 Do not send a Connection: close header 2021-10-18 16:39:11 +02:00
croneter
492e235a53 If receiving a Companion request, reply with a code 200 xml 2021-10-18 16:39:11 +02:00
croneter
4d3e36fbdb Add missing HTTP headers that Plex for Window's Plex Companion uses 2021-10-18 16:39:11 +02:00
croneter
d8db463423 Improve logging for http client 2021-10-18 16:39:11 +02:00
croneter
f2e03e878e Do not close http output stream when responding 2021-10-18 09:53:26 +02:00
croneter
56a3cdbbd8 Use super() for subclassing BaseHTTPRequestHandler 2021-10-18 08:58:09 +02:00
croneter
ff5df50bb7 Lost patience with Kodi 19: drop use of Python multiprocessing entirely 2021-10-17 11:34:08 +02:00
croneter
56755cf506 Fix Receiving init() missing 1 required positional argument: ‘certification_country’ 2021-10-16 11:40:43 +02:00
croneter
266e2975a9 Add playback settings to let the user choose whether Plex or Kodi provides the default audio and subtitle streams on playback start 2021-10-09 17:23:47 +02:00
croneter
d4f9dd427f
Merge pull request #1644 from croneter/py3-fix-multiprocessing
Android: Fix broken Python multiprocessing module (a Kodi 19.2 bug)
2021-09-30 14:57:33 +02:00
croneter
7e3a1c9ddc
Merge pull request #1643 from croneter/py3-fix-subs
Refactor stream code and fix Kodi not activating subtitle when it should
2021-09-30 14:57:21 +02:00
croneter
5f0a256a16
Merge pull request #1642 from croneter/py3-fix-typeerror
Direct Paths: Fix TypeError: "element indices must be integers" on playback startup
2021-09-30 14:57:02 +02:00
croneter
3d535fe2bf Android: Fix broken Python multiprocessing module (a Kodi 19.2 bug) 2021-09-30 14:33:43 +02:00
croneter
79e912e2bb Direct Paths: Fix TypeError: element indices must be integers for subtitles 2021-09-30 14:17:52 +02:00
croneter
fa28ebfac1 Fix whitespace 2021-09-30 13:31:23 +02:00
croneter
fee6e23a23 Refactor and fix Kodi not activating subtitle when it should 2021-09-30 13:12:37 +02:00
croneter
594ca9b667 Fix logging if fanart.tv lookup fails 2021-09-24 16:24:57 +02:00
croneter
33ad095080 Fix download not always returning entire requests.response object 2021-09-24 16:02:32 +02:00
croneter
22f4d22af8
Merge pull request #1629 from croneter/py3-tell-pms
Tell the PMS if a video's audio stream or potentially subtitle stream has changed. For subtitles, this functionality is broken due to a Kodi bug
2021-09-19 13:45:39 +02:00
croneter
3480c8fb49 Tell the PMS if a video's audio stream or potentially subtitle stream has changed. For subtitles, this functionality is broken due to a Kodi bug 2021-09-19 13:40:16 +02:00
croneter
e65ce668b7 Remove some obsolete comments 2021-09-19 13:37:24 +02:00
croneter
a1f2a676fb Refactor usage of a media part's id 2021-09-13 14:35:58 +02:00
croneter
b500b7b659 Refactoring: playlist and playqueue items to use API instead of xml 2021-09-13 13:26:04 +02:00
croneter
b4ec68bf82 Refactoring: move all exceptions in a single module 2021-09-13 11:24:06 +02:00
croneter
d7b0b670d1 Disentangle and optimize some code
Rename method

Simplify some code

Clarify some code
2021-09-13 10:09:03 +02:00
croneter
727cf98771 Transcoding: Fix Plex burning-in subtitles when it should not 2021-09-13 10:04:29 +02:00
croneter
6e5dac46bb Fix RecursionError if videos lie in a root directory 2021-09-11 16:47:28 +02:00