Commit graph

4611 commits

Author SHA1 Message Date
croneter
740271a8bb Fix Media not showing up if Kodi masterlock has been activated. Kodi bugfix is also necessary, hopefully coming with Kodi 19.4, otherwise switch to Kodi 19.1 2021-12-22 14:21:01 +01:00
croneter
01b8366506
Merge pull request #1729 from croneter/py3-fix-logging
Fix logging for playlist items not working correctly
2021-12-05 14:42:52 +01:00
croneter
2ad3d3c902 Fix detection of playqueue order. Thus fix PKC reporting back old episode with UpNext 2021-12-05 13:37:57 +01:00
croneter
56906db3c7 Fix logging for playlist items not working correctly 2021-12-05 11:54:40 +01:00
croneter
0383d560c5 Fix PKC not setting the currently playing item's path 2021-11-25 08:34:48 +01:00
croneter
9ed7128ea2 Add warning 2021-11-25 08:34:23 +01:00
croneter
3bac91044f
Merge pull request #1714 from croneter/py3-add-webserver
Re-add old Plex Companion mechanism as the new one sucks
2021-11-21 14:43:05 +01:00
croneter
af793c335e Re-add old Plex Companion mechanism as the new one sucks 2021-11-21 14:40:56 +01:00
croneter
67e46e706c Fix KeyError on playback startup 2021-11-19 08:47:32 +01:00
croneter
c6aa4d3021 Fix PKC not being able to connect to plex.tv after installation 2021-11-18 07:14:21 +01:00
croneter
51699bfdbb Plex Companion: Increase read timeout from 3 to 4 seconds to fix ReadTimeout 2021-11-16 18:51:39 +01:00
croneter
58a2a970b5 Fix Kodi getting blocked by e.g. cloudflare 2021-11-16 18:51:38 +01:00
croneter
578446d32a
Merge pull request #1705 from croneter/py3-fix-skipintro
Fix skip intro not working
2021-11-13 14:09:06 +01:00
croneter
305eca76ce
Merge pull request #1704 from croneter/py3-fix-another-indexerror
Fix rare IndexError when trying to delete a playlist item
2021-11-13 14:08:44 +01:00
croneter
96fde4db32 Fix skip intro not working 2021-11-13 14:05:51 +01:00
croneter
5ac785ce6a Fix rare IndexError when trying to delete a playlist item 2021-11-13 13:49:41 +01:00
croneter
d7f3a797ea Fix playback report not working due to an IndexError 2021-11-13 13:25:36 +01:00
croneter
020f050068 Revert "Adjust some Companion headers"
This reverts commit f2e2be6da7.
2021-11-07 11:48:58 +01:00
croneter
5714d4fb0a Fix stream init if quickly changing to the next video 2021-11-05 19:12:41 +01:00
croneter
f2e2be6da7 Adjust some Companion headers 2021-11-05 17:58:16 +01:00
croneter
1d82fbc0fb Tell the PMS and Plex Companion about stream changes 2021-11-05 17:45:38 +01:00
croneter
581b3d2536 Don't track the old playstate anymore 2021-11-05 07:17:19 +01:00
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