Commit graph

3635 commits

Author SHA1 Message Date
croneter
ccd953704e Only show Plex libraries in the applicable Kodi media category 2018-07-19 15:02:21 +02:00
croneter
1721aad580 Turn private into public method 2018-07-19 14:54:46 +02:00
croneter
232d3a3199 Optimize code 2018-07-19 14:53:16 +02:00
croneter
30f7cdf701 Less logging 2018-07-19 14:52:07 +02:00
croneter
6957b9a522 Retrieve strings from Kodi if no string is found for PKC 2018-07-19 13:54:36 +02:00
croneter
6e6d6cc110 New Playlists menu item for video libraries 2018-07-17 13:48:09 +02:00
croneter
38f5f9c694 Fix ImportError on first PKC run 2018-07-16 16:06:20 +02:00
croneter
06bfb95623 Hopefully fix playlist sync loops 2018-07-15 19:20:51 +02:00
croneter
59a64d227d Less logging 2018-07-13 07:31:21 +02:00
croneter
4e0429fcc9 Fix switching to __future__ module
- Fixes #507
2018-07-12 18:46:02 +02:00
croneter
141234c8b8 Fix "Prefer Kodi Artwork" toggle doing the exact opposite 2018-07-12 16:34:35 +02:00
croneter
726addd117 Fix "Prefer Kodi artwork" setting not being visible 2018-07-12 16:23:33 +02:00
croneter
61e185ae4f Improve logging 2018-07-12 10:50:45 +02:00
croneter
109fafcf4c Improve logging 2018-07-12 09:24:51 +02:00
croneter
1f5ce87bdc Improve logging for playlists 2018-07-12 07:58:48 +02:00
croneter
b8286c9b14 Fix KeyError on playlist full sync 2018-07-12 07:49:48 +02:00
croneter
c0d78bd273 Refactor code 2018-07-11 21:24:27 +02:00
croneter
e0108eeb89 Rewire partial playlist sync, part 2 2018-07-10 21:19:08 +02:00
croneter
f2d782c15a Fix slow sync. Fix endless sync of corrupted PMS elements
- Fixes #135
- Fixes #506
2018-07-10 20:37:26 +02:00
croneter
1626436094 Fix FutureWarning 2018-07-10 20:28:06 +02:00
croneter
ad54059289 Rewire partial playlist sync, part 1 2018-07-09 21:11:51 +02:00
croneter
2e0b23e299 Fix OnDeck widget for Direct Paths
- Fixes #505
2018-07-08 13:24:25 +02:00
croneter
c557cbdb93 Fix Plex Companion crashing when connected to Plex Web 2018-07-08 12:53:03 +02:00
croneter
bd34ee20e3 Revert "Fix Plex Companion crashing when connected to Plex Web"
This reverts commit baebd11825.
2018-07-08 12:46:22 +02:00
croneter
0d601d7309 Fix Plex Companion crash when connected to Plex Web playing playlist music 2018-07-08 12:37:38 +02:00
croneter
baebd11825 Fix Plex Companion crashing when connected to Plex Web 2018-07-08 12:28:28 +02:00
croneter
99ea9dd61f Improve Plex playback report when playing music playlist 2018-07-08 12:13:32 +02:00
croneter
9e7868141d Improve reliability in Kodi song playback 2018-07-08 11:52:59 +02:00
croneter
fcb5e131dc Less logging 2018-07-08 11:30:02 +02:00
croneter
e1c9690b57 Catch some errors if user mixes audio and video in Kodi playqueue
- Plex does not support mixed playqueues nor playlists
2018-07-08 11:08:30 +02:00
croneter
662dbba2e8 Fix playlist sync settings not disappearing 2018-07-07 19:32:39 +02:00
croneter
6f38472b17 Fix FutureWarning 2018-07-07 19:16:33 +02:00
croneter
70d809f179 Add some safety nets for playlist sync 2018-07-07 19:10:52 +02:00
croneter
e015770dd1 Optimize code 2018-07-07 18:59:40 +02:00
croneter
33afc448fd Clarify some comments 2018-07-07 18:57:09 +02:00
croneter
641520dcbb Optimize code 2018-07-07 18:32:11 +02:00
croneter
d44e782543 Fix playlists getting recreated and deleted in an endless loop 2018-07-07 18:21:50 +02:00
croneter
0166aaf7ba Decrease filesystem safety margin to 1 second 2018-07-06 21:48:07 +02:00
croneter
c29b47319f Drop directory filesystem events immediately 2018-07-06 21:44:08 +02:00
Croneter
44bbcddbdf Hopefully fix Kodi and Plex playlists getting out of sync
- Implement a special Watchdog observer that will wait for <timeout> AFTER a filesystem event has been received
2018-07-06 09:01:46 +02:00
Croneter
4fe95fdf12 Fix typo 2018-07-05 17:55:52 +02:00
Croneter
080e9184cc Fix and optimize startup of playlist sync 2018-07-05 16:38:06 +02:00
Croneter
f9571f009b Hide certain playlist settings under certain conditions 2018-07-05 16:12:34 +02:00
Croneter
248cbe2c90 Fix errors in Kodi log
- Fixes #504
2018-07-05 13:55:38 +02:00
Croneter
038e557e7b Fix UnboundLocalError 2018-07-05 13:10:42 +02:00
Croneter
e28a7af7ed Catch exception 2018-07-05 13:03:18 +02:00
Croneter
f6a0b70ca4 Deduplication 2018-07-05 12:59:13 +02:00
Croneter
89d55b8b60 Fix hard PKC not working (OSError: no such file) 2018-07-05 12:52:02 +02:00
Croneter
e62b909a75 Support for Plex collection artwork (PKC settings toggle under Artwork )
- Fixes #408
2018-07-05 12:46:40 +02:00
Croneter
7e0439b146 Update translations 2018-07-04 14:48:30 +02:00
Croneter
4f461ed02b Fix playback sometimes not starting up
- Fixes #492 UnboundLocalError
2018-07-04 09:08:39 +02:00
Croneter
768de346b1 Don't show artwork sync progress, reduce setting-writes
- Hopefully fixes #499
2018-07-04 08:17:37 +02:00
Croneter
50b457cb15 Fix imports
- Fixes #503
2018-07-04 08:05:24 +02:00
Croneter
98ba2b8caa Ignore case when deciding whether to sync playlists 2018-07-04 07:46:30 +02:00
Croneter
1eed16dd52 Allow to only sync specific Plex or Kodi playlists 2018-07-02 20:23:16 +02:00
Croneter
d918a26a00 Reset PKC setting to English only 2018-06-28 15:40:35 +02:00
Croneter
1cd037d4b6 Fix default settings string, only show in English
- Might fix #499
2018-06-28 15:38:33 +02:00
croneter
aacd882e8b Fix AttributeError and add_update has crashed
- Fixes #500
2018-06-24 16:05:04 +02:00
croneter
108944c4b2 Fix LibrarySync crashing due to Plex Companion messages 2018-06-24 11:19:42 +02:00
croneter
832863ad71 Append tv show and SxxExx to episode playlist entries 2018-06-24 10:47:35 +02:00
croneter
a89a935ede Merge branch 'stable-version' into beta-version 2018-06-24 10:06:36 +02:00
croneter
25c777bcad Compatibility with Kodi Krypton Alpha 2 2018-06-24 10:04:30 +02:00
croneter
463514186d Fix decoding of sys.argv 2018-06-23 19:15:24 +02:00
croneter
79281853ba Less logging 2018-06-23 18:44:31 +02:00
croneter
e8a35e06a9 Try to rename again 2018-06-23 18:35:06 +02:00
croneter
137425dcb1 GitHub fuckup: cases are ignored for Windows 2018-06-23 18:34:42 +02:00
Croneter
1234f61fc0 Fix encoding of file and path operations 2018-06-23 18:25:18 +02:00
Croneter
074c439e99 PEP8 2018-06-22 13:40:13 +02:00
Croneter
c03abddc27 Encode file paths correctly for all platforms 2018-06-22 13:39:38 +02:00
Croneter
9b76795ea4 Attempt to fix locking mechanisms
- Wraper to lock entire function was NOT working
2018-06-21 20:43:39 +02:00
Croneter
c440dc7779 Switch to absolute imports 2018-06-21 19:24:37 +02:00
Croneter
9c6fa31fda Fix UnboundLocalError for playlists 2018-06-20 12:31:18 +02:00
Croneter
2389f61b91 Speed up subtitle download to Kodi 2018-06-20 12:30:05 +02:00
croneter
ba04d85310 Merge branch 'stable-version' into beta-version 2018-06-17 17:09:07 +02:00
croneter
1136178381 Check all Kodi database versions before starting PKC 2018-06-17 13:38:58 +02:00
croneter
7297267613 Less logging 2018-06-17 13:21:22 +02:00
croneter
de626f5cd9 Fix KeyError on non-PKC playback startup 2018-06-17 12:35:09 +02:00
Croneter
0220c84554 PEP8 2018-06-15 15:16:55 +02:00
Croneter
9963163f0e PEP8 2018-06-15 15:15:35 +02:00
Croneter
12f1486f53 Merge branch 'stable-version' into beta-version 2018-06-15 14:41:15 +02:00
Croneter
51444111d2 PEP8 2018-06-15 14:40:29 +02:00
Croneter
1a58967111 PEP8 2018-06-15 14:15:39 +02:00
Croneter
b3c0374477 PEP8 2018-06-15 14:13:46 +02:00
Croneter
2c2029437a PEP8 2018-06-15 14:11:17 +02:00
Croneter
391cbab0be Remove obsolete variable 2018-06-15 14:09:40 +02:00
Croneter
0653b79306 PEP8 2018-06-15 14:08:43 +02:00
Croneter
c580638fb5 PEP8 2018-06-15 14:07:53 +02:00
Croneter
210701c366 PEP8 2018-06-15 14:07:08 +02:00
Croneter
bf8f238af4 PEP8 2018-06-15 14:05:48 +02:00
Croneter
18c6d8f784 Remove obsolete argument 2018-06-15 14:01:09 +02:00
Croneter
2037ba432b PEP8 2018-06-15 14:00:12 +02:00
Croneter
96dff29afe PEP8 2018-06-15 13:58:39 +02:00
Croneter
28ccd1a3b3 PEP8 2018-06-15 13:57:33 +02:00
Croneter
c14b9b4ed8 PEP8 2018-06-15 13:55:32 +02:00
Croneter
f427210f14 Remove obsolete function 2018-06-15 13:51:13 +02:00
Croneter
de846e7241 PEP8 2018-06-15 13:50:04 +02:00
Croneter
73403a8a7b PEP8 2018-06-15 13:49:18 +02:00
Croneter
1d277c26e1 PEP8 2018-06-15 13:47:22 +02:00
Croneter
d4bd51379d PEP8 2018-06-15 13:44:46 +02:00
Croneter
0d1275a1bb PEP8 2018-06-15 13:40:25 +02:00
Croneter
67d2638bc1 Update translations 2018-06-15 10:26:03 +02:00
Croneter
3419e8869f Fix KeyError 2018-06-14 21:08:49 +02:00
Croneter
c03b7c52c4 Detect playback from playlist more reliable for add-on paths 2018-06-14 21:01:54 +02:00
Croneter
a36307e0aa Fix add-on paths playstate and Plex Companion for playlists 2018-06-14 19:54:35 +02:00
Croneter
0a55e7fee8 Rewire detection of add-on paths playlists playback
- Pain to fix Kodi bugs
2018-06-14 19:43:21 +02:00
Croneter
e09cfa8cb3 Clear kodi_playlist_playback attribute correctly 2018-06-14 18:57:49 +02:00
Croneter
b135980981 Fix Kodi telling Plex companion false playqueue position 2018-06-14 16:40:26 +02:00
Croneter
7ccfb61a7c Detect playback from a Kodi playlist 2018-06-14 16:27:13 +02:00
Croneter
108c88114b Fix playback from playlists for add-on paths 2018-06-14 15:54:12 +02:00
Croneter
01d269f995 Don't try to get a Kodi library items for Plex clips 2018-06-14 15:44:53 +02:00
Croneter
2152c789c7 Fix library sync crash due to PMS sending string, not unicode 2018-06-12 19:43:09 +02:00
croneter
0c41bb1604 Use unicode paths, not strings for dir_util.copy_tree 2018-06-09 13:13:56 +02:00
Croneter
45c4d7f479 Fix Library Sync crash for Android
- Caused by PKC wanting to copy permissions bits as well
2018-06-09 13:13:44 +02:00
croneter
602966e035 Use unicode paths, not strings for dir_util.copy_tree 2018-06-09 13:09:31 +02:00
Croneter
15f3313c1f Fix Library Sync crash for Android
- Caused by PKC wanting to copy permissions bits as well
2018-06-09 12:56:21 +02:00
Croneter
69b8e98b39 Merge branch 'master' into playlists 2018-06-08 10:24:09 +02:00
Croneter
1f144d693c Fix migration not working 2018-06-08 10:07:47 +02:00
Croneter
c5ca8910d7 Merge branch 'master' into playlists 2018-06-07 17:41:46 +02:00
Croneter
807fb1614e Fix context menu missing "Delete item from PMS"
- Fixes #483
2018-06-07 17:23:24 +02:00
Croneter
ee1a33cc4c Fix searching for PMS if there is no internet connection
- Fixes #485
2018-06-07 17:15:37 +02:00
Croneter
65561eea47 Fix DB reset on Startup if PMS connection fails
- Should fix #484
2018-06-07 17:11:13 +02:00
Croneter
2f90a29acf Fix resume for On Deck widget for direct paths 2018-06-07 16:27:41 +02:00
croneter
136461160f Merge branch 'master' into playlists 2018-06-03 14:26:55 +02:00
croneter
9b1085c134 Less logging
- Fixes #482
2018-06-03 14:04:11 +02:00
croneter
0486934d81 Force a sync on startup even if Kodi is playing something
- Fixes #482
2018-06-03 13:48:00 +02:00
croneter
f9121d281c Direct paths: Don't download PMS sections twice 2018-06-03 13:32:25 +02:00
croneter
87b22f1588 Revert "Make sure that LOCK is released after adding one element"
This reverts commit c05b772e90.
- Should fix a racing condition if the playlist is cleared (picked up by both kodimonitor and playqueue monitor)
2018-06-02 17:31:57 +02:00
croneter
48810a227f Revert "Fix playqueue monitoring locking mechanism"
This reverts commit 1e43f1cc77.
- Should fix a racing condition if the playlist is cleared (picked up by both kodimonitor and playqueue monitor)
2018-06-02 17:26:36 +02:00
croneter
147d35ca24 Include Plex Home username in "Log-out Plex Home user" 2018-06-02 16:38:10 +02:00
croneter
bd73c03078 Merge branch 'hotfixes' into playlists 2018-06-02 16:12:47 +02:00
croneter
c10d4381c8 Update Czech translation 2018-06-01 20:44:21 +02:00
croneter
e85e514c8b Fix endless reboots if Plex music library missing 2018-06-01 20:36:24 +02:00
croneter
faf17f34d1 Merge branch 'hotfixes' of https://github.com/croneter/PlexKodiConnect into hotfixes 2018-06-01 19:56:47 +02:00
Croneter
ff4217b488 Specify exception type 2018-06-01 18:49:43 +02:00
Croneter
a4273c6c6e Declare PMS connection dead on first failed connection 2018-06-01 18:48:45 +02:00
Croneter
a6881a8a32 Fix KeyErrors if Kodi player does not return position
- Partially fixes #481
2018-06-01 18:43:56 +02:00
Croneter
7bf6d19708 Fix AttributeError 2018-05-30 13:10:54 +02:00
Croneter
114895c183 Fix logging 2018-05-30 11:24:51 +02:00
Croneter
b729cf5423 Fix logging 2018-05-30 10:41:46 +02:00
Croneter
7c92c01047 Fix Typo 2018-05-30 08:29:33 +02:00
Croneter
1f0977ec77 Fix Plex Companion failing leading to PMS connection loss 2018-05-30 08:20:30 +02:00
Croneter
06f9f6a7a5 Fix PKC add-on setting user changes not saving 2018-05-30 07:53:30 +02:00
croneter
8a2622c3f8 Fix playback of last item not starting up 2018-05-27 11:36:54 +02:00
croneter
ecc67b5707 Use float instead of int for resume 2018-05-27 11:13:19 +02:00
croneter
60bfff16dd Remove obsolete setting of resumetime for library items 2018-05-27 10:57:04 +02:00
croneter
6a66acb44c Use float for resume and runtime instead of int 2018-05-27 10:52:04 +02:00
croneter
7b4a3da023 Version bump 2018-05-26 19:00:19 +02:00
croneter
5c33f3c02a Fix episode widget resume not working (add-on paths)
- Hack alert, really...
- Need to reset the Kodi DB
2018-05-26 18:54:38 +02:00
croneter
ac7b7bb96d Revert "Another attempt to fix episode resume from widgets"
This reverts commit 04044ac896.
2018-05-26 17:28:17 +02:00
croneter
04044ac896 Another attempt to fix episode resume from widgets
- Tried to get as close as possible to emby DB
2018-05-26 17:28:11 +02:00
croneter
f68b167c0d Revert "Attempt to fix resume from widget not working"
This reverts commit a6bc0b9e69.
2018-05-24 19:36:14 +02:00
croneter
a6bc0b9e69 Attempt to fix resume from widget not working 2018-05-24 19:28:50 +02:00
croneter
8fbca537f4 Attach missing filename to plugin call 2018-05-22 20:31:32 +02:00
croneter
d1390c25c7 Revert "Try to fix widget resume for episodes for addon paths"
This reverts commit 95354fe564.
2018-05-20 18:54:31 +02:00
croneter
95354fe564 Try to fix widget resume for episodes for addon paths
- By introducing a second file_id in file and bookmark table
2018-05-20 18:15:09 +02:00
croneter
ca1151bc6d Speed up PKC start-up 2018-05-20 14:28:56 +02:00
croneter
ed213a4b34 Fix ValueError if plex.tv returns Plex Cloud URIs 2018-05-20 14:23:21 +02:00
croneter
f00b5fe59d Revert "Fix ValueError if plex.tv returns Plex Cloud URIs"
This reverts commit a7702573ad.
2018-05-20 14:22:05 +02:00
croneter
fe3293e986 Speed up checking of PMS connection, e.g. on startup 2018-05-20 14:17:49 +02:00
croneter
a7702573ad Fix ValueError if plex.tv returns Plex Cloud URIs 2018-05-20 14:16:50 +02:00
croneter
45e6baa34d Revert "Default to not show image caching notifications"
This reverts commit 5a993a2bf0.
2018-05-20 13:55:23 +02:00
croneter
80acc668ec Improve collection lookup; fix PKC caching wrong url 2018-05-20 13:52:23 +02:00
croneter
75994bff47 Prettify 2018-05-20 12:34:44 +02:00
croneter
7b7ee9fa8d PEP8 2018-05-20 12:28:49 +02:00
croneter
978278db7b Remove obsolete kwarg 2018-05-20 12:26:52 +02:00
croneter
a65981c1de Update translations 2018-05-18 19:54:36 +02:00
croneter
611ca5f138 Dummy modify strings.po 2018-05-18 19:41:15 +02:00
croneter
0a7752e392 Fallback connection if plex.direct does not resolve
- Fixes #472
- Partially fixes #478
2018-05-18 19:31:43 +02:00
Croneter
5a993a2bf0 Default to not show image caching notifications 2018-05-18 16:26:02 +02:00
Croneter
ba2098ac93 Merge branch 'master' of https://github.com/dazedcrazy/PlexKodiConnect into dazedcrazy-master 2018-05-18 16:00:28 +02:00
Croneter
84c2aa7fa0 Reduce CPU strain for artwork caching progress
- Fixes #477
2018-05-18 15:59:26 +02:00
dazedcrazy
f7dfc25058 contextmenu changes 2018-05-17 04:01:40 +01:00
dazedcrazy
e4fef8297e contextmenu changes 2018-05-16 18:33:43 +01:00
croneter
c63adaf2e3 Improve artwork caching counter in PKC settings 2018-05-15 20:46:16 +02:00
croneter
76193329d6 Fix PMS showing up twice
- Fixes #469
2018-05-15 19:39:34 +02:00
croneter
43c31ce419 Fix migration not working correctly for re-connecting PMS
- Fixes #469
2018-05-15 19:33:17 +02:00
Croneter
7ea2fbf417 Version bump 2018-05-14 20:59:32 +02:00
Croneter
0e1902cc91 Don't ask user for DB reset if forced by PKC 2018-05-14 20:51:14 +02:00
Croneter
abdfd00374 Increase logging 2018-05-14 20:43:48 +02:00
Croneter
e129c94053 Ensure movies and tv shows are synced before music 2018-05-14 20:23:39 +02:00
Croneter
6541b16810 Ensure a later migration if user downgraded PKC 2018-05-14 20:00:49 +02:00
Croneter
ce284f668a Fix migration 2018-05-14 19:57:36 +02:00
Croneter
f0195f14aa Use plex.direct url instead of local ip to use correct SSL certificate; thus fix artwork caching
- Fixes #461
- Migration necessary: re-connect to PMS to use plex.direct URI
2018-05-14 19:42:00 +02:00
Croneter
8b1d04af79 Revert "Increase timeout between syncing images"
This reverts commit 0807ce5314.
2018-05-14 17:56:39 +02:00
croneter
6c93934026 Version bump 2018-05-13 16:39:01 +02:00
croneter
8348b3a150 Update translations 2018-05-13 16:34:04 +02:00
croneter
1a261a3b9e Reset artwork sync status in PKC settings on DB reset 2018-05-13 16:15:48 +02:00
croneter
2191f59092 Fix context menu not working for shows in library view 2018-05-13 16:12:50 +02:00
croneter
4a948c1639 Fix Plex Companion playstate status for iOS
- Partially fixes #456
2018-05-13 15:50:26 +02:00
croneter
5241baef28 Show FanartTV lookup progress in PKC settings 2018-05-13 15:22:03 +02:00
croneter
f8560aec4d Optimize startup of additional fanart sync 2018-05-13 14:42:58 +02:00
croneter
9b2291dd47 Reduce logging 2018-05-13 14:22:50 +02:00
croneter
9b47d0970c Fix string 2018-05-13 14:21:32 +02:00
croneter
d16296395f Show caching progress for Plex images in the PKC settings 2018-05-13 14:20:39 +02:00
croneter
f9cc0f249d Tweak PKC settings 2018-05-13 13:34:14 +02:00
croneter
8d76bc53e5 Fix rare library sync errors
- Fixes #462
2018-05-13 12:31:54 +02:00
Croneter
ad9de09027 Merge branch 'hotfixes' into playlists 2018-05-04 19:03:47 +02:00
Croneter
63f7d5615d Finally support for Extras! 2018-05-04 19:03:27 +02:00
Croneter
ce29f5a60e Fix ValueError for third party add-ons calling PKC 2018-05-04 15:11:18 +02:00
Croneter
569cb71ca8 Refactor playlist and playqueue classes 2018-05-03 17:30:29 +02:00
Croneter
5bfe9b7c7f Also do a playlist full sync on library full sync 2018-05-03 17:20:23 +02:00
Croneter
25a9a3c4ce Optimize logging 2018-05-03 17:13:00 +02:00
Croneter
73655d354f Optimize logging 2018-05-03 14:02:00 +02:00
Croneter
2a862b5169 Optimize length for playlist filename (m3u instead of m3u8) 2018-05-03 08:29:14 +02:00
Croneter
6bcddc8382 raise PlaylistError instead of just returning 2018-05-03 08:24:41 +02:00
Croneter
ca1033801d Add setting to (de)activate playlist sync 2018-05-03 08:20:55 +02:00
Croneter
c61fc3241f Ensure that music playlists are not synced if music is deactivated 2018-05-03 08:01:26 +02:00
Croneter
df7bfd2e0c Improve logging 2018-05-03 07:56:32 +02:00
Croneter
f5a457a87d Rename variable 2018-05-03 07:53:28 +02:00
Croneter
a8d02bffdc Merge branch 'master' into playlists 2018-05-03 07:43:45 +02:00
Croneter
b357f43e79 Revert "Use list instead of set"
This reverts commit 5cea57e935.
Fixes #460
Fixes #458
2018-05-02 19:29:04 +02:00
Croneter
0c3db3e2f8 Delete all synced playlists on PKC (database) reset 2018-05-02 19:13:56 +02:00
Croneter
5b4ed1d6a6 Fix music playlists 2018-05-02 18:50:31 +02:00
Croneter
b00ec8989c Optimize logging 2018-05-02 18:22:23 +02:00
Croneter
63c829b042 Fix error message upon playlist deletion 2018-05-02 18:14:33 +02:00
Croneter
81b1d18192 Don't let librarysync crash if Plex playlist deletion doesnt work 2018-05-02 18:05:27 +02:00
Croneter
3016c9747f Fix possible AttributeError 2018-05-02 17:59:06 +02:00
Croneter
c3b649c1b1 Clean up code 2018-05-02 17:55:27 +02:00
Croneter
799f9ba25a Fix Plex playlist duplicating 2018-05-02 17:55:19 +02:00
Croneter
c98a8456ff Introduce playlist locking; override watchdog dispatching 2018-05-02 17:45:31 +02:00
Croneter
2971dd3f7c Extend websocket listening to Plex playlist changes 2018-05-02 17:27:35 +02:00
Croneter
0baa081dc6 Optimize logging 2018-05-02 16:57:27 +02:00
Croneter
5fd6587ff7 Fix deleting Plex playlists 2018-05-02 16:47:03 +02:00
Croneter
2f25453fe2 Plex playlist creation does not update hash; fix Kodi monitoring 2018-05-02 16:46:54 +02:00
Croneter
02e1917072 Increase logging 2018-05-02 16:20:20 +02:00
Croneter
94641b9ed6 Improve logging 2018-05-02 15:59:59 +02:00
Croneter
c4841ed946 Fix logging 2018-05-02 15:56:31 +02:00
Croneter
c36746dbdf Fix use of wrong function 2018-05-02 15:50:26 +02:00
Croneter
b33ed4ccbe Fix putting more items on Plex playlist 2018-05-02 15:44:54 +02:00
Croneter
61b0645314 Rename function 2018-05-02 15:34:21 +02:00
Croneter
e637f36a21 Save Plex playlist details on initialization 2018-05-02 15:17:58 +02:00
Croneter
376338a9b0 Fix initializing of playlists on the Plex side 2018-05-02 09:33:37 +02:00
Croneter
ba0aff0f54 Rename function 2018-05-01 18:08:31 +02:00
Croneter
6c3c9a4f93 Use m3u instead of m3u8 2018-05-01 17:59:51 +02:00
Croneter
9f4dbe6ee5 Increase logging 2018-05-01 17:13:00 +02:00
Croneter
341571e232 Fix saving Plex updatedAt value for new playlists 2018-05-01 17:09:58 +02:00
Croneter
8ee20b1bba Fix sync if Kodi playlist has been deleted 2018-05-01 16:52:12 +02:00
Croneter
20fef65b3d Fix playlist id and naming on playlist creation 2018-05-01 16:48:31 +02:00
Croneter
7ddfc0143d Revert "Remove API method playlist_type()"
This reverts commit 7b64b794f2.
2018-05-01 16:44:40 +02:00
Croneter
7dde71734c Fix updating playlist object from XML 2018-05-01 16:41:10 +02:00
Croneter
1a3a94894b Fix AttributeError for exceptions 2018-05-01 16:37:27 +02:00
Croneter
ff72648570 Fix AttributeError 2018-05-01 16:35:26 +02:00
Croneter
f8682fb8cb Fix AttributeErrors 2018-05-01 16:33:49 +02:00
Croneter
e2c90ac0f4 Fix AttributeErrors for Plex playlist id 2018-05-01 16:31:03 +02:00
Croneter
7b64b794f2 Remove API method playlist_type() 2018-05-01 16:30:04 +02:00
Croneter
6f6fb16352 Hopefully fix download of Plex playlists 2018-05-01 16:27:18 +02:00
Croneter
b448d1c06f Fix setting Kodi playlist path 2018-05-01 16:20:57 +02:00
Croneter
e8aba6b77b Increase logging 2018-05-01 16:18:06 +02:00
Croneter
26c588828e Fix ValueError 2018-05-01 16:12:25 +02:00
Croneter
4e16756829 Fix AttributeErrors 2018-05-01 16:09:35 +02:00
Croneter
1780b3948b Fix KeyError 2018-05-01 16:08:24 +02:00
Croneter
0cedfd7a7d Fix Plex playlist download 2018-05-01 16:04:26 +02:00
Croneter
df2b3810bf Fix FutureWarning for etree xmls 2018-05-01 15:24:58 +02:00
Croneter
1de2390cdd Fix IndexError for setting playlist path 2018-05-01 15:23:39 +02:00
Croneter
892458981d Fix AttributeError for setting playlist path 2018-05-01 15:21:29 +02:00
Croneter
151c679e29 Fix WindowsError for WatchDog trying to monitor playlists 2018-05-01 15:13:42 +02:00
Croneter
5ce97246d1 Fix TypeError for getting a PMS playlist 2018-05-01 14:59:57 +02:00
Croneter
f622eab809 Fix TypeError for PlaylistObject instantiation 2018-05-01 14:56:07 +02:00
Croneter
b50506b891 Fix AttributError due to false import 2018-05-01 14:55:11 +02:00
Croneter
e38f99f088 Playlist sync support, part 2 2018-05-01 14:48:49 +02:00
Croneter
ac8b8e6153 Optimize start of playlist monitor 2018-04-30 15:01:43 +02:00
Croneter
952261fb5a Add some comments 2018-04-30 14:18:14 +02:00
Croneter
e1c7ab5b04 PEP8 2018-04-30 14:16:45 +02:00
Croneter
b7644198c7 Merge branch 'master' into playlists 2018-04-29 15:12:11 +02:00
Croneter
0e421d16e3 Pull latest transifex translations 2018-04-29 14:59:04 +02:00
Croneter
29d9a29cb7 Merge branch 'hotfixes' into playlists 2018-04-29 14:44:32 +02:00
Croneter
0807ce5314 Increase timeout between syncing images 2018-04-29 14:39:36 +02:00
Croneter
f87a631674 Revert "Increase timeout between syncing images"
This reverts commit 62d6c8fe45.
2018-04-29 14:39:08 +02:00
Croneter
559bd5408f Optimize startup of image caching 2018-04-29 14:26:53 +02:00
Croneter
1ca2bdba79 Less logging 2018-04-29 14:16:56 +02:00
Croneter
62d6c8fe45 Increase timeout between syncing images
- Partially fixes #457
2018-04-29 14:14:31 +02:00
Croneter
d3ef80ed22 Cache missing posters and backgrounds/fanart on Kodi startup
- Partially fixes #457
2018-04-29 14:12:39 +02:00
Croneter
51f47452f2 Add toggle to deactivate image caching during playback
- Partially fixes #451 - you can now disable image caching during playback
2018-04-29 14:11:03 +02:00
Croneter
5cea57e935 Use list instead of set 2018-04-29 12:39:29 +02:00
Croneter
0a83d6c084 Playlist sync support, part 1 2018-04-28 09:12:29 +02:00
Croneter
7fb0f32bcf Fix TV show artwork Kodi native library (reset Kodi DB!) 2018-04-26 08:18:51 +02:00
Croneter
54c132d3e3 Fix music database if new music is added in the background 2018-04-26 08:01:27 +02:00
Croneter
8a08d85cce Kodi Leia: Fix playback failing
- Hopefully fixes #455
2018-04-23 19:50:16 +02:00
Croneter
7bc5f3ad16 Fix IndexError for certain Plex channels
- Fixes #454
2018-04-23 07:39:36 +02:00
Croneter
a376dbe2a5 Less logging 2018-04-20 16:52:25 +02:00
Croneter
3bba2199e8 Fix missing episode poster in certain views
- Fixes #453
2018-04-20 15:58:35 +02:00
Croneter
00613e7ef5 Fix episode artwork sometimes not being complete
- Partially fixes #453
2018-04-20 07:41:59 +02:00
Croneter
d4e15d6dfb Prettify 2018-04-19 11:52:36 +02:00
Croneter
165b85c52d Fix TV On Deck direct paths asking to choose between different media 2018-04-19 08:06:51 +02:00
Croneter
32a880cef0 Clean up code for userclient 2018-04-18 08:39:41 +02:00
croneter
f8ed5646c5 Fix PKC playback startup getting caught in infinity loop 2018-04-17 21:01:51 +02:00
croneter
57d95e57f3 Fix PKC not working anymore after using context menu on songs 2018-04-17 20:44:53 +02:00
croneter
d03b68b4e1 Fix deleting music album not working 2018-04-17 20:22:32 +02:00
croneter
678544d236 Rewire library sync, suspend sync during playback
- Fixes #451
2018-04-17 20:18:25 +02:00
croneter
88ef5f9eda Remove obsolete window variable 2018-04-15 18:54:24 +02:00
croneter
42ededd751 Fix docstring 2018-04-15 18:37:27 +02:00
croneter
3fe5cf571c Code cleanup 2018-04-15 18:33:20 +02:00
croneter
83e85a3ea9 Fix playback failing in certain cases 2018-04-15 18:13:48 +02:00
croneter
b4b05b70ec Fix logging string 2018-04-15 16:37:13 +02:00
croneter
5f26692e0f Code cleanup 2018-04-15 16:34:45 +02:00
croneter
ecc8df014c "Fix IndexError when emptying Kodi playqueue" 2018-04-15 13:16:58 +02:00
croneter
8bea313865 Revert "Fix IndexError when emptying Kodi playqueue"
This reverts commit a87b40c612.
2018-04-15 13:15:17 +02:00
Croneter
ba31050aac Less logging 2018-04-12 18:54:12 +02:00
Croneter
0f1e2e7dec Fix deletion of Plex music items
- Fixes #336
2018-04-12 18:52:37 +02:00
Croneter
8f30a466ff Increase speed for getting plex id from kodi id 2018-04-11 08:50:51 +02:00
Croneter
a87b40c612 Fix IndexError when emptying Kodi playqueue 2018-04-10 19:26:15 +02:00
Croneter
1e43f1cc77 Fix playqueue monitoring locking mechanism 2018-04-10 19:23:37 +02:00
Croneter
f6b3dfdf12 Fix Plex trailers screwing up playqueue
- Introduce a flag to check whether PKC itself made changes to the playqueue
2018-04-10 07:56:44 +02:00
Croneter
e6199819c4 Fix TypeError 2018-04-09 08:17:47 +02:00
Croneter
76e721b78a Incorporate PKC player in kodimonitor module 2018-04-09 08:13:54 +02:00
Croneter
74c0b32440 Remove obsolete import 2018-04-09 07:22:28 +02:00
Croneter
d65b8ec0c0 Remove obsolete window properties 2018-04-09 07:21:47 +02:00
Croneter
ec5dff4a8d Clean up code 2018-04-09 07:15:12 +02:00
Croneter
a53bd0f89c Remove obsolete import 2018-04-09 07:09:27 +02:00
croneter
7a4997da7a Direct paths: fix replaying item where playback was started via PMS 2018-04-08 15:38:13 +02:00
croneter
30abe0f2fb Fix some playqueue inconsistencies using Plex Companion
- Also fix movie helper and TV show helper add-ons
2018-04-08 14:34:38 +02:00
croneter
7ae831f7c3 Fix pretty printing of PKC playqueues not working 2018-04-08 12:37:25 +02:00
croneter
244df4184f Less logging 2018-04-07 14:34:27 +02:00
croneter
c1b2d3d54f Prettify music removal 2018-04-07 14:30:17 +02:00
Croneter
460b33d6d6 Update translations 2018-04-06 15:35:49 +02:00
Savage
414c33bde4 Added translation for Hungarian language 2018-04-06 13:45:11 +02:00
Croneter
8f9c485156 Update FR and NL translations 2018-04-05 17:53:20 +02:00
Croneter
4a2b816360 Update all translations 2018-04-05 16:58:34 +02:00
Croneter
dedf90f9be Remove most strings not being used by PKC
- For easier translations
2018-04-05 15:21:00 +02:00
Croneter
b7adbd8653 Remove some legacy settings 2018-04-05 15:20:15 +02:00
Croneter
61065e0cc5 Finally make PKC compatible with Kodi 18 Leia Alpha 1
- Fixes #339
2018-04-05 08:06:48 +02:00
croneter
c12c9c08d8 Simplify code 2018-04-03 17:07:37 +02:00
croneter
14ef7ae247 Fix information screen and Plex option not working
- Fixes #440
2018-04-03 16:53:59 +02:00
croneter
01d1d342aa Activate Kodi background updates to hide "Compressing Database" 2018-04-03 12:43:59 +02:00
croneter
f481bd2980 Do NOT delete playstates before getting new ones from the PMS 2018-04-02 18:32:52 +02:00
croneter
5b58db6cec Fix Plex Companion thinking video is playing again
- Fixes #449
2018-04-02 18:09:00 +02:00
croneter
98a544a764 Don't clean the Kodi file table 2018-04-02 17:19:34 +02:00
croneter
8c5baf80ee Only remember which player has been active if we got a Plex id 2018-04-02 17:09:44 +02:00
croneter
5facbddfc7 Warn if "Play next video automatically" is enabled, cause it breaks PKC playback report 2018-04-02 16:29:56 +02:00
croneter
0a978188b4 New JSON functions to retrieve and set Kodi settings 2018-04-02 16:27:08 +02:00
croneter
35ff51e39f Modify import 2018-04-01 10:45:22 +02:00
croneter
7d38ccf504 Hopefully fix ValueError for datetime.utcnow()
- Should fix #448
2018-04-01 10:18:15 +02:00
croneter
c05b772e90 Make sure that LOCK is released after adding one element
- Partially fixes #446
2018-03-31 20:34:09 +02:00
croneter
dcf2b9b4e4 Play the selected element first, then add the Kodi playqueue to the Plex playqueue
- Fixes #446
2018-03-31 20:32:55 +02:00
croneter
e81bee0101 Fix resetting PKC player state
- Should fix #445
2018-03-31 18:51:03 +02:00
croneter
9a4533d7e0 Ensure that playstate for ended (not stopped) video is recorded correctly 2018-03-31 15:37:05 +02:00
Croneter
3dd10ba29c Don't tell PMS last item is playing if non-Plex item is played 2018-03-29 07:37:20 +02:00
Croneter
cd5b3a3e2b Remove obsolete import 2018-03-29 07:35:54 +02:00
Croneter
f23f6da627 Fix PKC sometimes telling wrong item being played 2018-03-29 07:33:07 +02:00
Croneter
9f82b05c11 Fix rare KeyError for playback including trailers 2018-03-28 08:04:03 +02:00
Croneter
6aa3e612cf Adjust playback cleanup for empty video file 2018-03-27 18:20:36 +02:00
Croneter
fc836bebe6 Use an empty video file to "fail" playback 2018-03-27 18:07:16 +02:00
Croneter
b23c6e2932 Fix resume for On Deck and browse by folder 2018-03-27 08:20:39 +02:00
Croneter
f0393771a9 Fix "Use identical add-on paths for On Deck and browsing folders" 2018-03-27 08:02:31 +02:00
Croneter
d7891d6ec2 New API method to retrieve only filename 2018-03-27 08:01:24 +02:00
Croneter
bfd4415fa1 Use identical add-on paths for On Deck and browsing folders 2018-03-27 07:47:58 +02:00
Croneter
bb15f62648 Fix widget navigating to entire TV show not working 2018-03-22 18:51:11 +01:00
Croneter
79d87c5b01 Change default setting to force reload skin after playback stop to False
- Fixes #434
2018-03-22 17:27:57 +01:00
Croneter
22503657d2 Revert "Revert "Fix for "In Progress" not appearing""
This reverts commit 303adbf02e.
2018-03-22 17:26:11 +01:00
Croneter
baf60c2cc8 Simplify error message
- Fixes #435
2018-03-22 17:25:21 +01:00