Commit graph

4594 commits

Author SHA1 Message Date
croneter
e65ce668b7 Remove some obsolete comments 2021-09-19 13:37:24 +02:00
croneter
a1f2a676fb Refactor usage of a media part's id 2021-09-13 14:35:58 +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
d7b0b670d1 Disentangle and optimize some code
Rename method

Simplify some code

Clarify some code
2021-09-13 10:09:03 +02:00
croneter
727cf98771 Transcoding: Fix Plex burning-in subtitles when it should not 2021-09-13 10:04:29 +02:00
croneter
6e5dac46bb Fix RecursionError if videos lie in a root directory 2021-09-11 16:47:28 +02:00
croneter
f1433c3e97 Implement Kodi's "Reset resume position" 2021-09-09 13:55:20 +02:00
croneter
930d930301 Initial compatibility with Kodi 20 Nexus 2021-09-08 11:28:34 +02:00
Antonio Martin
90e9c9c27f Used general term in fanart.tv mapping for prefix completion 2021-09-03 22:25:17 +02:00
Antonio Martin
32dc7697bc Download landscape artwork from fanart.tv 2021-09-03 22:24:59 +02:00
croneter
68cc54c2f4
Merge pull request #1600 from croneter/py3-fix-subtitles
Use Plex settings for audio and subtitle stream selection. This is a best guess regarding subtitles as Plex and Kodi are not sharing much info
2021-09-03 22:19:33 +02:00
croneter
789d8459d1 Fix PlexKodiConnect setting the Plex subtitle to None 2021-09-03 22:13:32 +02:00
croneter
43cc23505a Use Plex settings for audio and subtitle stream selection 2021-09-03 17:54:27 +02:00
croneter
b738688096 Revert "Fix PlexKodiConnect changing subtitles for all videos on the PMS"
This reverts commit 3ef55f5526.
2021-09-03 17:46:39 +02:00
croneter
3ef55f5526 Fix PlexKodiConnect changing subtitles for all videos on the PMS 2021-08-22 18:03:54 +02:00
croneter
ab737ca5d0 Addon Paths: Fix Kodi scanning entire video file on playback start 2021-08-15 11:08:21 +02:00
croneter
2a06103eba Improve logging for converting Unix timestamps 2021-08-01 15:41:58 +02:00
croneter
b222df108d
Merge pull request #1563 from croneter/py3-fix-context-manager
Fix errors when PKC tries to edit files that don't exist yet
2021-07-25 15:25:25 +02:00
croneter
f2d94d9cb5 Fix AttributeError: module 'resources.lib.utils' has no attribute 'ParseError' 2021-07-25 15:21:54 +02:00
croneter
953b8383bb Fix errors when PKC tries to edit files but they don't exist yet 2021-07-25 15:20:43 +02:00
croneter
5b32021e26 Fix Regression: AttributeError 2021-07-25 11:03:34 +02:00
croneter
6974cff389
Merge pull request #1554 from croneter/py3-fix-recursion
Fix RecursionError: maximum recursion depth exceeded
2021-07-25 10:58:25 +02:00
croneter
cbcc4d1a74
Merge pull request #1553 from croneter/py3-fix-websocket
Bump websocket client: fix AttributeError: 'NoneType' object has no attribute 'is_ssl'
2021-07-25 10:57:42 +02:00
croneter
b1979262fe Fix RecursionError: maximum recursion depth exceeded 2021-07-25 10:53:22 +02:00
croneter
0cc271031c Bump websocket client: fix AttributeError: 'NoneType' object has no attribute 'is_ssl' 2021-07-25 10:30:27 +02:00
croneter
96e67d31fb Fix a racing condition that could lead to the sync getting stuck 2021-07-25 10:19:20 +02:00
croneter
38e4f6e20f
Merge pull request #1545 from croneter/py3-locked-database
Fix likelyhood of `database is locked` error occuring
2021-07-23 11:04:16 +02:00
croneter
a83bac03aa
Merge pull request #1544 from croneter/py3-increase-logging
Fix a racing condition that could lead to the sync process getting stuck
2021-07-23 11:03:59 +02:00
croneter
1711beaf95
Merge pull request #1541 from croneter/py3-fix-attributeerror
Fix AttributeError: module 'urllib' has no attribute 'parse'
2021-07-23 11:03:49 +02:00
croneter
ce72f07fec
Merge pull request #1538 from croneter/py3-anidb
Support for the Plex HAMA agent to let Kodi identify animes (using Kodi's uniqueID 'anidb')
2021-07-23 11:03:35 +02:00
croneter
7c2ad31a21 Fix likelyhood of database is locked error occuring 2021-07-23 10:49:10 +02:00
croneter
143c6271aa Switch to context manager 2021-07-23 10:31:09 +02:00
croneter
07a69a8fa5 Remove obsolete methods 2021-07-23 10:31:09 +02:00
croneter
c664f05718 Fix a racing condition that could lead to the sync getting stuck
Fixup racing
2021-07-23 10:30:51 +02:00
croneter
e36656dc81 Improve logging
fixup logging
2021-07-23 10:30:45 +02:00
croneter
78a3cc434a Fix AttributeError: module 'urllib' has no attribute 'parse' 2021-07-18 14:46:04 +02:00
BrutuZ
423e87046d Support forced HAMA IDs when using tvdb uniqueID 2021-07-18 12:20:57 +02:00
BrutuZ
b8569df1b3 Support for the Plex HAMA agent to let Kodi identify animes (using Kodi's uniqueID 'anidb')
Support HAMA's forced AniDB IDs
2021-07-18 12:18:48 +02:00
croneter
3983011066
Merge pull request #1520 from croneter/py3-update-translations
Update translations from Transifex
2021-06-05 15:44:52 +02:00
croneter
defa43d596
Merge pull request #1515 from croneter/py3-fix-versions
Fix auto-picking of video stream if several video versions are available
2021-06-05 15:44:20 +02:00
croneter
4f9c2d88ea Update translations from Transifex 2021-06-05 15:41:53 +02:00
croneter
f3b97e42f8 Fix auto-picking of video stream if several video versions are available 2021-06-05 14:54:13 +02:00
croneter
f53d817908 Add an additional Plex Hub "PKC Continue Watching" that merges the Plex Continue Watching with On Deck 2021-06-05 14:05:20 +02:00
croneter
bb3fa955b2 Fix websockets and AttributeError: 'NoneType' object has no attribute 2021-05-29 16:41:19 +02:00
croneter
485dfeceb6
Merge pull request #1499 from croneter/fix-arrow
Get rid of Python arrow; hopefully fix many Python import errors (also occuring in other add-ons!)
2021-05-26 21:06:01 +02:00
croneter
8d2b3ac1af Get rid of Python arrow; hopefully fix many Python import errors (also occuring in other add-ons!) 2021-05-26 21:00:41 +02:00
croneter
c0ec4cc23e Attempt to fix websocket threading issues and AttributeError: 'NoneType' object has no attribute 'is_ssl' or 'settimeout' 2021-05-26 20:50:55 +02:00
croneter
6d566c6cd2
Merge pull request #1490 from croneter/py3-update-websockets
Update websocket client to 1.0.0
2021-05-24 20:30:01 +02:00
croneter
9872266c61
Merge pull request #1494 from croneter/py3-fix-typeerror
Fix videos not starting due to a TypeError
2021-05-24 20:29:52 +02:00
croneter
7720d3f392 Fix videos not starting due to TypeError 2021-05-24 20:26:25 +02:00
croneter
f5b8084543 Show warning message to remind user to use Estuary for database resets 2021-05-24 15:51:41 +02:00
croneter
cb7a5c04e0 Update websocket client to 1.0.0 2021-05-24 13:02:57 +02:00
croneter
0e1d6c5832
Merge pull request #1486 from croneter/py3-fix-direct-paths
Direct Paths: fix several issues with episodes
2021-05-24 09:43:26 +02:00
croneter
bf5591354b Force PKC database reset 2021-05-24 09:39:26 +02:00
croneter
5a0de0e5f7 Fix PKC widgets not working at all in some cases 2021-05-24 09:35:36 +02:00
croneter
cfdcfb4bc4 Direct Paths: fix several issues with episodes 2021-05-23 18:03:18 +02:00
croneter
f33152049e
Merge pull request #1472 from croneter/py3-fix-attributeerror
Fix AttributeError: module 'shutil' has no attribute 'copy_tree'
2021-05-14 08:52:08 +02:00
croneter
4f8b4a9f44 Fix AttributeError: module 'shutil' has no attribute 'copy_tree' 2021-05-14 08:46:06 +02:00
croneter
56a74255b6 Fix Alexa and RuntimeError: dictionary keys changed during iteration 2021-05-02 14:35:24 +02:00
croneter
7760174900 Fix regression: fix add-on paths always falling back to direct paths 2021-05-02 14:10:33 +02:00
croneter
991eaad5df
Merge pull request #1464 from croneter/fix-message
Add PKC setting to disable verification whether we can access a media file
2021-05-02 13:50:14 +02:00
croneter
e6bf68b6f2
Merge pull request #1463 from croneter/adjust-paths
Direct paths: corrections to more closely mirror Kodi's way of saving movie and tv show files to the db
2021-05-02 13:49:53 +02:00
croneter
74a19966d2
Merge pull request #1462 from croneter/fix-playlists
Make sure that the correct file system encoding is used for playlists
2021-05-02 13:49:27 +02:00
croneter
054332079d Require Kodi database reset for PKC versions < 3.1.3 2021-05-02 13:40:02 +02:00
croneter
a355aee718 Direct paths: set exclude=0 and allAudio=0 in video path table 2021-05-02 13:38:31 +02:00
croneter
f716df0c29 Direct paths: fix pathId in Kodi movie table 2021-05-02 13:38:25 +02:00
croneter
9c8cb61c48 Add PKC setting to disable check whether we can access a media file 2021-05-02 12:55:32 +02:00
croneter
9aa283eea3 Make sure that the correct file system encoding is used for playlists 2021-05-02 12:29:40 +02:00
croneter
f5af67427f Fix a rare AttributeError when using playlists 2021-04-30 10:26:33 +02:00
croneter
f634554699
Merge pull request #1451 from croneter/fix-companion
Fix PKC not showing up as a casting target in some cases
2021-04-17 14:19:42 +02:00
croneter
7d4a144521
Merge pull request #1450 from croneter/fix-unicode
Fix UnicodeEncodeError if Plex playlist name contains illegal chars
2021-04-17 14:19:23 +02:00
croneter
35c9aeff8b Fix ImportError: cannot import name 'dir_util' from 'distutils' 2021-04-17 14:15:55 +02:00
croneter
281fe05158 Fix PKC not showing up as a casting target in some cases 2021-04-17 14:01:56 +02:00
croneter
fbc1ee8985 Fix UnicodeEncodeError if Plex playlist name contains illegal chars 2021-04-17 13:57:23 +02:00
croneter
2ec5cf026e
Merge pull request #1440 from croneter/fix-direct-paths
Direct paths: fix filename showing instead of full video metadata during playback
2021-04-05 16:11:00 +02:00
croneter
0032e6a106 Require Kodi database reset for PKC versions < 3.1.1 2021-04-05 15:27:36 +02:00
croneter
f8f9b98f70 Direct paths: fix movie details not showing on playback 2021-04-05 14:43:17 +02:00
croneter
fa681c9c0e Update translations from Transifex 2021-03-20 14:38:19 +01:00
croneter
db4f75da0c Fix resume not working if Kodi player start-up is slow 2021-03-19 18:30:24 +01:00
croneter
9151c149e5
Merge pull request #1411 from croneter/fix-socket
Fix error socket.timeout: timed out
2021-03-17 21:41:46 +01:00
croneter
92daa29592
Merge pull request #1410 from croneter/new-websocket
Fix instantaneous background sync and Alexa not working
2021-03-17 21:41:30 +01:00
croneter
c4433644ef Adapt websocket client logic 2021-03-17 21:40:52 +01:00
croneter
736f072ccf Fix error socket.timeout: timed out 2021-03-17 21:31:19 +01:00
croneter
8cdb9c999a Hopefully fix RuntimeError: no add-on "plugin.video.plexkodiconnect" 2021-03-17 21:16:11 +01:00
croneter
3918810338 Add new Python websocket client 2021-03-14 16:30:52 +01:00
croneter
35824fe4d0
Merge pull request #1397 from croneter/py3-add-websocket-info
Add information to PKC settings for background sync and Alexa whether a connection has been successfully made
2021-03-14 14:09:38 +01:00
croneter
ed9a2ca0ac
Merge pull request #1396 from croneter/fix-skip-intro
Rename skip intro skin file
2021-03-14 14:01:57 +01:00
croneter
de91987464 Add information to PKC settings about status of websocket and Alexa websocket connections 2021-03-14 13:54:40 +01:00
croneter
c7ff3f573a Rename skip intro skin file 2021-03-14 12:55:51 +01:00
croneter
ed93771d12
Merge pull request #1384 from croneter/py3-sync-playstates
Quickly sync recently watched items before synching the playstates of the entire Plex library
2021-03-07 17:19:18 +01:00
croneter
ec3616c66a
Merge pull request #1377 from croneter/py3-fix-websocket
Improve logging for websocket JSON loads
2021-03-07 17:18:49 +01:00
croneter
2dc2b0d99b Sync recently watched items individually before synching every playstate 2021-03-07 15:16:23 +01:00
croneter
dd69928b20 Improve logging for websocket JSON loads 2021-03-01 10:57:59 +01:00
croneter
64ac1f5349 Fix TypeError: function missing required argument 'message' 2021-03-01 10:39:17 +01:00
croneter
c39151e746 Fix UnboundLocalError: local variable 'user' referenced before assignment 2021-02-26 13:08:05 +01:00
croneter
c49fe06d0f
Merge pull request #1364 from croneter/py3-seasonnames
Sync name and user rating of a TV show season to Kodi
2021-02-24 17:45:12 +01:00
croneter
cd940d60f7 Sync name and user rating of a TV show season to Kodi 2021-02-24 17:20:37 +01:00
croneter
caf8903873 Fix rare TypeError: expected string or buffer on playback start 2021-02-24 15:22:18 +01:00
croneter
8dd533e071 Fix TypeError: function missing required argument 'message' 2021-02-21 17:12:15 +01:00