Commit graph

137 commits

Author SHA1 Message Date
croneter
5c81c15cfd Fix resume not working 2020-12-27 17:22:14 +01:00
croneter
cc587ed714 Make seek more resilient. Kodi bug still: JSONRPC error Received value does not match any of the union type definitions 2020-12-27 13:16:45 +01:00
croneter
ab73d3c1fd Fix playback not starting 2020-12-27 13:16:44 +01:00
croneter
6904494e31 Get rid of utils.try_encode and utils.try_decode 2020-12-27 13:16:44 +01:00
croneter
58eaa14043 Clean up imports 2020-12-18 17:43:24 +01:00
croneter
436b1fda83 Automatically convert source code from Python 2 to 3 using futurize 2020-12-18 17:10:20 +01:00
croneter
25f972f30f Refactor direct and add-on paths. Enables use of Plex music playlists synched to Kodi 2020-02-27 16:29:08 +01:00
croneter
6a7ca3c4d1 Rewire the set-up of audio and subtitle streams, esp. before starting a transcoding session 2020-02-25 18:19:08 +01:00
croneter
41aef50463 Fix regression: burn-in subtitles picking up the last user setting instead of the current one 2020-02-23 17:21:09 +01:00
croneter
4f59a1e2a9 Fix Kodi playback jumping to the beginning of a video that just started 2019-11-06 18:39:19 +01:00
croneter
ab77ddbe8b Fix resume for Kodi on low powered devices, e.g. Raspberry Pi 2019-11-03 14:24:20 +01:00
croneter
ca1e0d7b3d
Merge pull request #1032 from croneter/optimize-code
Get rid of ContextMonitor and the dedicated Python thread - with new resume mechanics, this is not needed anymore
2019-11-01 13:34:19 +01:00
croneter
5e3f3daf90 Get rid of ContextMonitor and the dedicated Python thread - with new resume mechanics, this is not needed anymore 2019-11-01 13:00:34 +01:00
croneter
da90e61ca8 Fix resume when starting playback via PMS or when force transcoding 2019-11-01 12:54:49 +01:00
croneter
e73c14bcf4 Fix PKC resuming instead of playing from the beginning 2019-10-31 20:09:31 +01:00
croneter
9f2210a5e7 Rewire PKC resume mechanism 2019-10-30 17:30:52 +01:00
croneter
76e1b1c629 Fix resume when casting to PKC 2019-10-29 08:03:32 +01:00
croneter
2f0767d086 Fix NameError when transcoding 2019-10-05 12:59:48 +02:00
croneter
b0fbb3ac09 Fix regression: labeling of playmethods 2019-10-05 12:43:12 +02:00
croneter
5fb2279c53 Fix PlexKodiConnect Play error in rare scenarios (an older PMS version?), where posting playqueues using an uri server:// is not possible and library:// is necessary 2019-09-29 17:45:16 +02:00
croneter
5205964c60 Fix resume when force-transcoding 2019-09-08 16:17:33 +02:00
croneter
e498736a96 Let PMS StreamingBrain decide on whether we need to force-transcode 2019-09-08 15:22:09 +02:00
croneter
f1aa42b957 Merge branch 'beta-version' into code-opt 2019-08-10 13:27:11 +02:00
croneter
24ebb38f74 Reuse existing code 2019-08-09 20:42:12 +02:00
croneter
0d7a1b3a9f Change way item is added to Plex playqueue by using PMS machine identifier 2019-08-09 17:06:14 +02:00
croneter
4b598200b9 AttributeError: 'NoneType' object has no attribute 'attrib' on playback startup 2019-07-21 12:11:28 +02:00
croneter
a46cb731cf Refactor Plex API 2019-06-12 11:53:41 +02:00
croneter
8e8cf18c0a Add comment: potential fix Kodi to immediately resuming the video if the user restarted playback 2019-06-02 19:30:28 +02:00
croneter
6bd5b28e0c Fix playback when the same video is started again from a widget 2019-06-02 13:47:50 +02:00
croneter
3ba09e1ff0 Increase logging 2019-06-02 13:30:23 +02:00
croneter
d0c0ab2a56 Fix video thrown by Plex Companion not resuming 2019-06-02 13:12:04 +02:00
croneter
04d328de3e Improve video resuming behavior; add a resume dialog for playback startup via PMS 2019-06-02 13:12:03 +02:00
croneter
bcb89aed88 Also play trailers if user chose to resume movie from the beginning 2019-06-01 16:15:14 +02:00
croneter
ccb95a0169 Fix Kodi always playing the same file version of a video 2019-06-01 16:15:14 +02:00
croneter
9171169956 Another attempt to keep Kodi from crashing on playback startup 2019-05-30 14:24:18 +02:00
croneter
10c7c79035 Hopefully fix Kodi crashing on playback startup for good 2019-05-29 21:01:51 +02:00
croneter
4a83aae573 Fix TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' 2019-02-16 17:59:03 +01:00
croneter
05a6700d55
Merge pull request #708 from croneter/improve-playerror-messages
Improve error messages when playback failes
2019-02-06 16:16:09 +01:00
croneter
c7eab63960 Improve error message when playback failes 2019-02-06 16:14:14 +01:00
croneter
1787e51c7c Zentrally register threads and introduce a way to wait for their suspension 2019-02-06 14:19:10 +01:00
croneter
09c2ad1b80 Fix playback not starting at the beginning 2019-02-02 20:50:01 +01:00
croneter
69cb09e009 Replace cPickle communication with JSON 2019-01-26 08:43:51 +01:00
croneter
3e3aa49d0d Fix playback start: Don't lock databases when starting playback
- Partially fixes #599
2019-01-16 17:13:23 +01:00
croneter
6076da724b Fix video resuming from old resume point 2018-12-25 18:13:50 +01:00
croneter
4fb4643ac0 Add-on paths: don't fail playback with an empty video 2018-12-24 17:44:52 +01:00
croneter
3e41f63c62 Move xbmc.Player() 2018-11-23 08:41:05 +01:00
croneter
1b11c55d84 Fix AttributeError 2018-11-22 17:58:56 +01:00
croneter
6fe0e23f53 Interrupt sleep if Kodi exits. Use Monitor's Player() 2018-11-20 16:58:25 +01:00
croneter
a045063769 Rather big change of PKC's plumbing 2018-11-18 14:59:17 +01:00
croneter
a16eae143a Rewire kodi database access 2018-11-08 21:22:16 +01:00