Commit graph

163 commits

Author SHA1 Message Date
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
croneter
f767342e13 Introduce properties for playqueue items 2018-11-06 19:01:56 +01:00
croneter
a75afc109c Fix TypeError for selecting Plex media streams 2018-11-06 15:12:17 +01:00
croneter
4246711b1e Remove old plexdb_functions 2018-10-24 17:17:02 +02:00
croneter
0933dea407 Simplify code 2018-09-04 16:54:06 +02:00
croneter
11a66a8465 Fix playback sometimes not starting and UnicodeEncodeError for logging
- Fixes #520
2018-08-05 14:44:24 +02:00
croneter
3f6f557dc3 Fix casting to PKC failing 2018-08-03 20:45:10 +02:00
croneter
25d80521c7 Enable Kodi libraries for Plex Music libraries 2018-07-24 21:04:31 +02:00