Commit graph

4018 commits

Author SHA1 Message Date
croneter
7ea9222e47 Fix PKC increasing the Plex watch-count by 2 instead of 1 2019-10-05 11:32:29 +02:00
croneter
d75e2a0109 Remember currently playing item directly 2019-10-05 11:31:44 +02:00
croneter
ae0e121b13 Optimize code 2019-10-05 10:46:33 +02:00
bernimoses
9933480f8d Add tmdb provider sync. 2019-10-03 22:17:00 +02:00
croneter
eef8a94b35
Merge pull request #1001 from croneter/fix-playerror
Fix Play Error in scenarios (older PMS version?) where posting playqueues using an uri `server://` is not possible and `library://` is necessary
2019-09-29 18:50:31 +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
1e60dd11df Fix rare AttributeError on PKC startup when modifying advancedsettings.xml 2019-09-24 08:16:04 +02:00
croneter
a8ee68ca4c
Merge pull request #990 from croneter/fix-escape
Correctly escape URLs for Direct Paths
2019-09-22 13:23:41 +02:00
croneter
2e90a30dba
Merge pull request #988 from croneter/optimize-migration
Don't migrate PKC settings if we're dealing with a clean new PKC installation
2019-09-22 13:22:48 +02:00
croneter
801695fdd4 Don't migrate PKC settings if we're dealing with a fresh PKC installation 2019-09-22 13:17:10 +02:00
croneter
f8ec9bbf9e
Merge pull request #987 from croneter/fix-migration
Force-scan every single item in the library - seems like we could lose some recently added items otherwise when updating PKC
2019-09-22 13:15:19 +02:00
croneter
e26cf09fef Force a re-scan of every single Plex item - we might have lost some recently added 2019-09-22 13:14:05 +02:00
croneter
a0c55d5b15
Merge pull request #992 from croneter/fix-obsolete
Remove some obsolete code
2019-09-22 13:11:25 +02:00
croneter
5a7d997da2 Correctly escape URLs for Direct Paths 2019-09-22 12:52:32 +02:00
croneter
3ae447012a Remove some obsolete code 2019-09-16 07:13:33 +02:00
croneter
1d210c2fde Remove obsolete import 2019-09-10 17:59:10 +02:00
croneter
5205964c60 Fix resume when force-transcoding 2019-09-08 16:17:33 +02:00
croneter
52c1a0e47d
Merge pull request #975 from croneter/fix-play-decision
Rework logic for using direct paths, direct play, direct streaming and transcoding, using the PMS StreamingBrain
2019-09-08 15:28:29 +02:00
croneter
a1a174a9e1
Merge pull request #979 from croneter/fix-update
Only enforce advancedsettings.xml 'cleanonupdate' to be false for PKC add-on paths
2019-09-08 15:26:00 +02:00
croneter
fbb65913db
Merge pull request #978 from croneter/fix-sync-items
Force a full sync of all items after choosing a new PMS, changing a PMS' address and changing which Plex libraries to sync
2019-09-08 15:25:30 +02:00
croneter
58e26be021
Merge pull request #977 from croneter/fix-sync
Fix PKC background sync synching items to Kodi even though entire section should not be synched
2019-09-08 15:25:00 +02:00
croneter
9b12647957 New setting to force transcode only 4K and above 2019-09-08 15:22:09 +02:00
croneter
7bd02861dc Allow for 4k transcoding and direct streaming 2019-09-08 15:22:09 +02:00
croneter
b5fec41448 Dont decide playback on optimizedForStreaming 2019-09-08 15:22:09 +02:00
croneter
e498736a96 Let PMS StreamingBrain decide on whether we need to force-transcode 2019-09-08 15:22:09 +02:00
croneter
69049c62f1 New setting to choose "Direct Streaming" 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
816913031c Optimize code 2019-09-08 15:06:07 +02:00
croneter
080eef441e Only enforce advancedsettings.xml cleanonupdate to be false for PKC add-on paths 2019-08-29 10:59:50 +02:00
croneter
e009c371b2 Force a full sync of all items after choosing a new PMS, changing a PMS' address and changing which Plex libraries to sync 2019-08-29 10:32:59 +02:00
croneter
65a921c3cc Fix PKC background sync synching items to Kodi even though entire section should not be synched 2019-08-29 10:08:01 +02:00
croneter
228cdc437d Never give up trying to connect to the PMS or Alexa using websockets 2019-08-17 09:52:58 +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
cfe3f55234
Merge pull request #962 from croneter/fix-extras
Fix extras not playing when path substitution is enabled
2019-08-10 13:24:33 +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
24ebb38f74 Reuse existing code 2019-08-09 20:42:12 +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
b7f13a8842 Fix extras not playing when path substitution is enabled 2019-08-09 08:16:17 +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
34e84cd037 Correctly detect whether we already synched a Kodi playlist 2019-08-02 11:32:03 +02:00
croneter
d2b5bc8d23
Merge pull request #954 from croneter/fix-companion
Fix Plex Companion casting from iOS and Android
2019-08-02 10:51:49 +02:00
croneter
064e573af9
Merge pull request #953 from croneter/optimize-sync
Sync playlists immediately after synching new/changed items and show an info dialog
2019-08-02 10:51:28 +02:00
croneter
b5bd13f7bd
Merge pull request #952 from croneter/less-logging
Less logging when comparing PKC versions
2019-08-02 10:51:10 +02:00
croneter
335bfc34c5
Merge pull request #946 from croneter/faster-playlists
Faster sync of playlists
2019-08-02 10:50:55 +02:00
croneter
91da038413
Merge pull request #950 from croneter/fix-check
Remove obsolete check if path is indeed in unicode
2019-08-02 10:50:30 +02:00
croneter
2cee5512d9
Merge pull request #948 from croneter/new-function
Separate function to wipe all synched Plex playlists
2019-08-02 10:50:12 +02:00
croneter
46830d29a9
Merge pull request #949 from croneter/unicode
Add unicode representation to Playlist() class
2019-08-02 10:49:56 +02:00
croneter
bae923d34a Fix Plex Companion casting from iOS and Android 2019-08-02 10:46:04 +02:00
croneter
33ed1bed83 Sync playlists immediately after synching new/changed items and show pop-up info 2019-08-02 10:25:53 +02:00
croneter
bcc97df209 Less logging when comparing PKC versions 2019-08-02 10:17:02 +02:00
croneter
7d8802467f Ensure playlists are freshly synched on PKC version bump 2019-08-01 14:53:49 +02:00
croneter
26fa1ff909 Use file size and last modification time to compare Kodi playlist files instead of slow MD5 hash of file 2019-08-01 14:53:49 +02:00
croneter
dca1bb6835 Remove obsolete check 2019-08-01 14:51:45 +02:00
croneter
53f77a7a97 Add unicode representation to Playlist() class 2019-08-01 14:50:09 +02:00
croneter
a83cf93150 Separate function to wipe all synched Plex playlists 2019-08-01 14:48:42 +02:00
croneter
85e0909105 Fix potential playlist sync issues with dot in playlist name 2019-08-01 14:38:44 +02:00
croneter
9b98ee9ec3 Fix On Deck for shows not appending showname and season and episode number 2019-07-27 12:08:42 +02:00
croneter
4b598200b9 AttributeError: 'NoneType' object has no attribute 'attrib' on playback startup 2019-07-21 12:11:28 +02:00
croneter
61f13f516b
Merge pull request #932 from croneter/fix-companion
Fix casting to PlexKodiConnect always starting the first episode
2019-07-14 13:00:52 +02:00
croneter
024bf31b83
Merge pull request #930 from croneter/upnext
Support for the Up Next Kodi add-on
2019-07-14 13:00:37 +02:00
croneter
5438fe4388 Fix casting to PlexKodiConnect always starting the first episode 2019-07-14 12:57:20 +02:00
croneter
38977a8ca6 Support for the Upnext Kodi add-on 2019-07-14 12:09:25 +02:00
croneter
a43e0801b4 Rename video nodes for ondeck 2019-07-14 07:46:09 +02:00
croneter
3436035530 Provide more metadata for unsynced directory-like items like a show 2019-07-13 14:49:59 +02:00
croneter
84d4e5aa99
Merge pull request #922 from croneter/fix-path
Fix 'Plex.nodes.<id>.path' not linking directly to entire library
2019-07-13 10:32:44 +02:00
croneter
33d20f0d0b Fix Plex.nodes.<id>.path not linking directly to entire library 2019-07-09 07:54:17 +02:00
croneter
e718fd3276 Fix sections that are not synced not displaying correct menu 2019-07-09 07:37:18 +02:00
croneter
76cbd27ae3
Merge pull request #919 from croneter/fix-actor-image
Fix missing cast artwork if an actor also acted as director or writer for another movie. You will have to manually reset the Kodi DB.
2019-07-07 18:09:38 +02:00
croneter
868cecfe35 Fix missing cast artwork if an actor acts as director or writer 2019-07-07 18:05:56 +02:00
croneter
a5aa0c2594 Reset PKC video library XMLs on PKC update 2019-07-06 21:22:12 +02:00
croneter
fc237383aa Ensure correct Container.Type is set for PKC widgets 2019-07-06 21:20:23 +02:00
croneter
416c424f52 Fix PKC potentially marking a video as watched on startup; don't sync time with toggling video watch state but use PMS epoch time 2019-06-28 17:47:01 +02:00
croneter
5466bb759c
Merge pull request #910 from croneter/fix-playlists
Fix PKC creating thousands of playlists if a single Kodi playlist wasn't unique
2019-06-28 16:47:34 +02:00
croneter
eb3e655213 Cleanup due to wrong assumption that kodi playlist hash was unique 2019-06-28 15:54:55 +02:00
croneter
58ba03b94b Ensure faulty index on Plex DB is correctly recreated on PKC update 2019-06-28 15:46:40 +02:00
croneter
fb76f49fbd Fix PKC creating thousands of playlists if there are 2 identical Kodi playlists 2019-06-28 15:20:22 +02:00
croneter
f32a8c534f Fix FutureWarning 2019-06-25 18:12:46 +02:00
croneter
671bbbd9a9 Fix Trakt add-on not recognizing id of tv shows 2019-06-22 18:34:12 +02:00
croneter
f506b971ce
Merge pull request #899 from croneter/fix-listitem
Fix for Kodi 17 Krypton TypeError on playback start: 'offscreen' is an invalid keyword argument for this function
2019-06-16 14:16:35 +02:00
croneter
c91f62108b
Merge pull request #898 from croneter/fix-skin
Fix widgets not being populated after very first PlexKodiConnect library sync
2019-06-16 14:16:20 +02:00
croneter
68cf59293f Fix for Kodi 17 Krypton TypeError on playback start: 'offscreen' is an invalid keyword argument for this function 2019-06-16 14:11:53 +02:00
croneter
67dfca32b5 Fix widgets not being populated after first PKC sync 2019-06-16 13:49:42 +02:00
croneter
b99b17d0f9 Don't restart Kodi if user chose to enter PKC settings on install 2019-06-15 16:01:02 +02:00
croneter
3627c9e6bb
Merge pull request #890 from croneter/widget-limit
Improve some PKC widgets
2019-06-14 20:03:06 +02:00
croneter
d4f23db945
Merge pull request #889 from croneter/fix-tvshows
Fix In Progress widgets being broken and tv shows showing up as completely watched
2019-06-14 20:02:46 +02:00
croneter
a463bd521f Add an additional, faster On Deck node for movies 2019-06-14 18:07:19 +02:00
croneter
0bf7ada6e3 Delete Plex video node files when migrating to PKC version 2.8.2 2019-06-14 12:46:37 +02:00
croneter
1c245683ad Introduce limits to the number of videos shown in PKC widgets to speed them up 2019-06-14 12:38:01 +02:00
croneter
12b84b42bb Fix In Progress widgets not displaying anything and all shows being marked as watched 2019-06-14 12:14:39 +02:00
croneter
a761a8987d Fix TypeError for Direct Paths: init() got an unexpected keyword argument ‘item’ 2019-06-14 11:11:00 +02:00
croneter
cd524cb978
Merge pull request #883 from croneter/fix-valueerror
Fix ValueError if casting to int/float
2019-06-12 20:05:37 +02:00
croneter
e433f6f719 Fix RuntimeError: Unknown exception thrown from the call "XBMCAddon::xbmcplugin::setResolvedUrl" 2019-06-12 19:59:16 +02:00