Commit graph

170 commits

Author SHA1 Message Date
croneter
d8c96fa699 Fix PKC changing subtitles on playback start unnecessarily 2021-12-22 13:38:50 +01:00
croneter
56906db3c7 Fix logging for playlist items not working correctly 2021-12-05 11:54:40 +01:00
croneter
9ed7128ea2 Add warning 2021-11-25 08:34:23 +01:00
croneter
67e46e706c Fix KeyError on playback startup 2021-11-19 08:47:32 +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
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
5714d4fb0a Fix stream init if quickly changing to the next video 2021-11-05 19:12:41 +01:00
croneter
1d82fbc0fb Tell the PMS and Plex Companion about stream changes 2021-11-05 17:45:38 +01:00
croneter
f2cd4d68ea Refactor playqueues 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
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
fee6e23a23 Refactor and fix Kodi not activating subtitle when it should 2021-09-30 13:12:37 +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
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
43cc23505a Use Plex settings for audio and subtitle stream selection 2021-09-03 17:54:27 +02:00
croneter
f5af67427f Fix a rare AttributeError when using playlists 2021-04-30 10:26:33 +02:00
croneter
7f8939cee7 Add skip intro functionality 2021-02-09 18:14:31 +01:00
croneter
c22b4c782d Remove obsolete encodes and decodes 2020-12-27 13:16:44 +01:00
croneter
4b4dc1afbf Fix class __repr__ to account for Python 3 2020-12-18 19:59:33 +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
9f2210a5e7 Rewire PKC resume mechanism 2019-10-30 17:30:52 +01:00
croneter
e498736a96 Let PMS StreamingBrain decide on whether we need to force-transcode 2019-09-08 15:22:09 +02:00
croneter
7bb469702a Fix wording: "direct path" is not "direct play" 2019-09-08 15:06:07 +02:00
croneter
0541d38b3d
Merge pull request #967 from croneter/fix-racing
Fix playback report not working after having played a non-Plex video file
2019-08-10 13:28:34 +02:00
croneter
f1aa42b957 Merge branch 'beta-version' into code-opt 2019-08-10 13:27:11 +02:00
croneter
ac633d99e5
Merge pull request #964 from croneter/fix-report
Change how items are added to Plex playqueues by using PMS machine identifier
2019-08-10 13:24:53 +02:00
croneter
7ff4baac3a
Merge pull request #960 from croneter/fix-attributeerror
Fix rare AttributeError when shutting down Kodi
2019-08-10 13:24:17 +02:00
croneter
80abe0b34b Fix playback report not working after having played a non-Plex video file 2019-08-10 12:01:23 +02:00
croneter
a4526080db Code optimizations for PlaylistItem 2019-08-09 20:44:42 +02:00
croneter
95b469efb5 Faster lookup of elements in our plex.db 2019-08-09 20:42:31 +02:00
croneter
4f6156cf30 Rename class to PlaylistItem 2019-08-09 20:41:51 +02:00
croneter
6b5750910c Optimize logging 2019-08-09 20:41:30 +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
f5026b637d Fix rare AttributeError when Kodi exits 2019-08-08 19:54:39 +02:00
croneter
b1d59e65be Fix Plex Companion device restarting playback when reconnecting to PKC 2019-08-06 07:33:35 +02:00
croneter
a46cb731cf Refactor Plex API 2019-06-12 11:53:41 +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
1ac19109ba Turn urllib and urlparse unicode-safe 2019-03-30 17:32:42 +01:00
croneter
68ca41545c Fix playback sometimes not being reported for direct paths 2019-03-17 11:41:43 +01:00
croneter
e04c74392f Don't lock DBs when messing with the playqueue 2019-01-28 18:05:40 +01:00
croneter
6237d932d8 Improve Plex playQueue resiliance
- Partially fixes #566
2018-12-22 15:06:28 +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
croneter
20f26364b8 Enforce plex id type int 2018-11-06 19:06:48 +01:00
croneter
c996e5c9be Allow float offset values 2018-11-06 19:03:01 +01:00