Commit graph

3295 commits

Author SHA1 Message Date
croneter
c2c13b715d Fix typo 2018-10-14 11:12:08 +02:00
croneter
740cc5a6ff Fix NameError 2018-10-13 20:28:55 +02:00
croneter
c5741c7225 Use xml.etree.cElementTree whenever possible to avoid memory leaks 2018-10-13 20:17:16 +02:00
croneter
770b3704e8 Fix Kodi crashing due to PKC memory leak
- Fixes #531
2018-10-13 14:43:44 +02:00
croneter
6be1f40373 Try to fix PKC for Enigma 2
- Hopefully fixes #545
2018-10-10 19:26:35 +02:00
croneter
d09933a68a PEP8 2018-10-10 19:19:30 +02:00
croneter
25675a9136 Optimize resetting of Kodi and Plex databases
- Fixes #527
2018-10-10 19:18:06 +02:00
croneter
c9341169c3 Increase logging 2018-10-07 17:52:38 +02:00
croneter
27e92afe02 Make sure we retain a dummy first music artist entry
- Hopefully fixes #527
2018-10-07 17:47:32 +02:00
croneter
594e908508 Fix PKC not starting up on Enigma
- Fixes #545
2018-10-07 17:12:30 +02:00
croneter
6718182411 Fix sync issues if video lies in root of file system
- Fixes #544
- Manual Kodi database reset is necessary
2018-10-07 17:07:45 +02:00
croneter
8d9d135595 Wipe Kodi database on first PKC run
- Fixes #543
2018-10-06 15:47:41 +02:00
croneter
ab81c88b8f Fix flickering Kodi screen 2018-10-06 14:45:01 +02:00
croneter
8e1b3444ac Rewire Kodi library refreshs 2018-10-06 14:40:14 +02:00
croneter
9f35e1d99e Fix playback not starting up at all 2018-10-06 13:30:43 +02:00
croneter
0d0a5948ac Fix rare case when playback would not start-up 2018-10-04 19:48:13 +02:00
croneter
be57db9200 Increase logging 2018-10-04 19:45:44 +02:00
croneter
7b4e7cbb22 Fix Kodi addons throwing jsonrpc errors (database reset needed)
- Fixes #539
2018-09-29 16:51:51 +02:00
croneter
c6e1a7029a Fix numbering of already existing playlist files 2018-09-23 16:03:50 +02:00
croneter
5fabaf6a8e Hopefully fix endless playlist sync loops 2018-09-23 15:06:41 +02:00
croneter
21fb1ad015 Ensure shows are deleted before seasons before episodes 2018-09-23 13:52:08 +02:00
croneter
35d0f6a49d Fix library sync crash on deleting episode with missing season 2018-09-23 13:45:57 +02:00
croneter
cbcdc74a8c Fix Typo 2018-09-22 12:07:30 +02:00
croneter
88ebf718d5 Optimize logging 2018-09-22 12:06:02 +02:00
croneter
e3328ad061 Switch to Plex style dialogs 2018-09-18 16:26:40 +02:00
croneter
e9e1b7b7de Revert "Change optionsdialog import behavior"
This reverts commit ad444a5da0.
2018-09-18 16:20:24 +02:00
croneter
ad444a5da0 Change optionsdialog import behavior 2018-09-18 14:18:07 +02:00
croneter
6666d3fc3a Fix AttributeError on forcing texture caching 2018-09-17 18:13:33 +02:00
croneter
e1c01b184b Don't show a pre-sign-in dialog 2018-09-16 17:29:18 +02:00
croneter
dd62cded43 Simplify code 2018-09-16 17:18:46 +02:00
croneter
c6073e2426 Fix user not being able to close dialog 2018-09-16 17:18:37 +02:00
croneter
1fe244e8a6 Use Plex dialog 2018-09-16 16:13:08 +02:00
croneter
c4f6a441b6 Fix Info screen not returning 2018-09-16 16:08:44 +02:00
croneter
c7bb333e97 Fix AttributeError 2018-09-16 14:02:27 +02:00
croneter
4cf191cbb4 Switch paths 2018-09-16 14:00:52 +02:00
croneter
1a4135c6a4 Fix add-on settings not opening on installation 2018-09-16 13:35:07 +02:00
croneter
9dc86c9731 Fix UnicodeDecodeError for PMS with non ASCII chars 2018-09-16 13:33:20 +02:00
croneter
a82fda85ca New Plex.tv sign-in dialogs 2018-09-16 13:25:15 +02:00
croneter
3110d8c0ee Use Plex dialogs for initial PKC set-up 2018-09-15 16:53:06 +02:00
croneter
93fd45a4e1 Add new Plex yes-no dialog 2018-09-15 16:30:17 +02:00
croneter
029ea93268 Translate Plex info dialog button text 2018-09-15 16:15:14 +02:00
croneter
038bce1a27 Use Plex dialog 2018-09-15 16:12:10 +02:00
croneter
a7791bad0a Don't show a warning if user aborted user selection 2018-09-15 16:08:51 +02:00
croneter
1bf98cb27e Greatly speed up deleting of items on the Kodi side 2018-09-15 15:50:59 +02:00
croneter
3088078ff8 Fix empty pin entry field showing up 2018-09-15 15:46:06 +02:00
croneter
b5524d1206 Optimize code 2018-09-15 15:16:59 +02:00
croneter
0147e29cef Only try user login once 2018-09-15 15:15:28 +02:00
croneter
82a7e021ef Make home button close user selection dialog 2018-09-15 15:07:57 +02:00
croneter
98e38ae9a8 Add Plex dialog to switch users 2018-09-10 20:53:46 +02:00
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
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
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
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