Commit graph

3421 commits

Author SHA1 Message Date
croneter
b29e07846f Safely parse XMLs using defusedxml 2018-09-05 17:36:38 +02:00
croneter
0933dea407 Simplify code 2018-09-04 16:54:06 +02:00
croneter
d63f976da4 Update docstrings 2018-09-04 16:43:16 +02:00
croneter
7fe12968a1 Fix PKC trying to sync audio playlists even when audio sync disabled 2018-09-04 16:32:39 +02:00
croneter
cda881c25c Fix potential sync crash 2018-09-02 20:34:44 +02:00
croneter
e14994cf74 Fix Kodi hanging if media stream selection is aborted 2018-09-02 19:40:56 +02:00
croneter
4b3f641f25 Revert "Fix Kodi crash by committing to DB frequently"
This reverts commit 535163b675.
2018-09-02 18:18:45 +02:00
croneter
535163b675 Fix Kodi crash by committing to DB frequently
- Hopefully fixes #531
2018-08-30 12:27:16 +02:00
croneter
db5857f1aa Update translations 2018-08-29 16:55:16 +02:00
croneter
456c0401cd Compatibility with Kodi Leia Beta 1 2018-08-29 16:33:36 +02:00
croneter
c2d9470fe9 Remove obsolete command 2018-08-23 15:49:01 +02:00
croneter
9a8fcbb8a5 Fix playback not resuming (Kodi 18 ignores listitem "StartOffset")
- Fixes #525
2018-08-23 15:23:38 +02:00
croneter
229a04e65b Less logging 2018-08-23 15:18:55 +02:00
croneter
e3a209c24b Fix playerid not being retrieved for Kodi 18 2018-08-23 15:16:23 +02:00
croneter
ce4ca71766 Fix typos 2018-08-23 13:33:08 +02:00
croneter
ac2a57b28d Prefer local trailers; new setting to list extras instead of playing trailer
- Fixes #515
2018-08-13 20:26:36 +02:00
croneter
abca9c32f9 Update translations 2018-08-10 08:49:52 +02:00
croneter
3b60e6ffd2 Fix Typo 2018-08-09 07:45:10 +02:00
croneter
3bd9b3b5a4 Force-deactivate playlist sync for Microsoft UWP for Kodi 18
- Fixes #521
2018-08-07 20:02:44 +02:00
croneter
3fd40b64c6 Fix library sync crash due to exotic playlist characters
- Fixes #523
2018-08-07 18:11:23 +02:00
croneter
5003fd87c9 Fix PKC not starting by decoupling watchdog/subprocess modules
- Fixes #521
2018-08-06 07:53:30 +02:00
croneter
57e064efa2 Log whether playlist sync is activated 2018-08-05 18:13:16 +02:00
croneter
53c10b0847 Fix PKC not starting by importing playlist module only when sync enabled
- Fixes #521
2018-08-05 18:10:18 +02:00
croneter
11a66a8465 Fix playback sometimes not starting and UnicodeEncodeError for logging
- Fixes #520
2018-08-05 14:44:24 +02:00
croneter
f5ea8cc3ec Choose trailer if several are present (DB reset required)
- Fixes #515
2018-08-04 15:11:21 +02:00
croneter
3f6f557dc3 Fix casting to PKC failing 2018-08-03 20:45:10 +02:00
croneter
8322609ef9 Fix library sync crashing due to Plex photo albums
- Fixes #517
2018-08-03 18:37:16 +02:00
croneter
5eafcbafb1 Move PKC playlist shortcut 2018-07-30 13:20:40 +02:00
croneter
ce30a3f03f Fix PKC tv show node "all" 2018-07-30 13:04:51 +02:00
croneter
5968e845d2 Access Plex Hubs. Listing will be different depending on Kodi section! 2018-07-27 16:01:27 +02:00
croneter
04725a8aca Fix year for songs missing
- Fixes #514
2018-07-27 14:49:30 +02:00
croneter
1ca9099a0e Fix Plex extras not playing
- Fixes #515
2018-07-27 14:05:44 +02:00
croneter
f0db5a82f8 Fix rare library sync crash
- Fixes #513
2018-07-27 13:38:41 +02:00
croneter
25d80521c7 Enable Kodi libraries for Plex Music libraries 2018-07-24 21:04:31 +02:00
croneter
777b9e15e4 Delete obsolete code 2018-07-19 15:30:52 +02:00
croneter
ad3c0a51d5 Increase logging for browsing 2018-07-19 15:07:08 +02:00
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