Commit graph

3587 commits

Author SHA1 Message Date
croneter
417aefd588 Fix endless music sync loop 2018-11-05 09:52:18 +01:00
croneter
66ecaa155f Further optimize music sync 2018-11-05 09:51:21 +01:00
croneter
c9b6e67771 Optimize music sync 2018-11-05 09:39:33 +01:00
croneter
0b5fcb855c Fix OperationalError: no such column: Userrating 2018-11-04 17:47:40 +01:00
croneter
e8621acdf3 Fix OperationalError no such table 2018-11-04 17:44:06 +01:00
croneter
f8c6b21f51 Optimize logging 2018-11-04 17:33:55 +01:00
croneter
120a616331 Optimize code 2018-11-04 17:31:04 +01:00
croneter
0fa72faf61 Increase season sync resiliance 2018-11-04 17:28:22 +01:00
croneter
7f431f1923 Increase episode sync resiliance 2018-11-04 17:26:08 +01:00
croneter
2917bc982f Speed-up looking up of existing episodes 2018-11-04 17:02:01 +01:00
croneter
91ea8c8d00 Fix AttributeError 2018-11-04 17:00:34 +01:00
croneter
9245f44f70 Fix KeyError 2018-11-04 16:56:29 +01:00
croneter
41b5ec1b8e Fix KeyError 2018-11-04 16:55:24 +01:00
croneter
48a530b49a More hacking 2018-11-04 16:53:42 +01:00
croneter
2fcb43b9d9 PEP8 2018-11-03 18:47:51 +01:00
croneter
8bffc5a30f Fix OperationalError: Database is locked and heavily speed up sync 2018-11-03 18:40:11 +01:00
croneter
9c3c8b0d35 Fix log typo 2018-11-03 18:38:51 +01:00
croneter
bfef7a346e Refresh progress bar for every single item 2018-11-03 17:18:25 +01:00
croneter
85c5e15b91 Less logging 2018-11-03 17:10:14 +01:00
croneter
f32d1dde0f Less logging 2018-11-03 17:05:52 +01:00
croneter
b3eeabc9ad Fix AttributeError: __exit__ 2018-11-03 17:04:24 +01:00
croneter
2d0869b589 PEP8 2018-11-03 16:59:59 +01:00
croneter
80691861f8 Add lookup for audio types 2018-11-03 16:59:46 +01:00
croneter
b9a8d66e3d Fix KeyError 2018-11-03 16:56:51 +01:00
croneter
4cbad1f1f7 Enable notify for crashes for fanart 2018-11-03 16:53:56 +01:00
croneter
d0d6798bb1 Simplify code 2018-11-03 10:39:49 +01:00
croneter
335c0175a7 Fix KeyErrors 2018-11-03 10:37:10 +01:00
croneter
5673abc19b Rewire fanart sync 2018-11-03 10:36:37 +01:00
croneter
c967cfc8b1 Fix TypeError 2018-11-01 15:43:52 +01:00
croneter
835c047fb1 Rename logging 2018-11-01 15:43:43 +01:00
croneter
aabdf15072 Rewire websocket sync 2018-11-01 15:43:27 +01:00
croneter
146290c03e Switch to xbmc.abortRequested to terminate PKC 2018-10-31 15:35:44 +01:00
croneter
28a38c63a1 Fix OperationalError: near "1": syntax error 2018-10-29 13:35:46 +01:00
croneter
fbaccdf4bf Fix TypeError 2018-10-29 13:26:58 +01:00
croneter
ce002a0fa8 Improve the checking of an item's checksum 2018-10-29 13:26:14 +01:00
croneter
8c3764e8ad Fix OperationalError: no such table: artist 2018-10-29 13:21:35 +01:00
croneter
3d77bd64d1 Add missing method 2018-10-28 17:02:06 +01:00
croneter
01fc08b027 Fix TypeError: 'InitNewSection' object has no attribute 2018-10-28 16:50:00 +01:00
croneter
facf2d5e2d PEP8 2018-10-28 16:17:20 +01:00
croneter
17a7d306ae Fix AttributeError 2018-10-28 16:14:37 +01:00
croneter
8f86fc1038 Fix AttributeError 2018-10-25 18:29:47 +02:00
croneter
60f7d0fce2 Don't cast to unicode 2018-10-25 18:28:41 +02:00
croneter
0dfcebbee3 Fix TypeError 2018-10-25 18:17:00 +02:00
croneter
c10afd1920 Fix AttributeError 2018-10-25 18:16:01 +02:00
croneter
7640f1e2d2 Fix process_metadata and get_metadata 2018-10-25 18:14:35 +02:00
croneter
d5f4ad3e62 Fix AttributeError for Tasks 2018-10-25 17:50:59 +02:00
croneter
62c07b2ee0 Remove obsolete code 2018-10-25 16:07:56 +02:00
croneter
b7aedca7fa Add missing method 2018-10-25 16:07:34 +02:00
croneter
3a411cc36b Fix TypeError 2018-10-25 15:57:12 +02:00
croneter
4b7eace923 Fix AttributeError 2018-10-25 15:55:46 +02:00
croneter
eee4554213 Fix KeyErrors 2018-10-25 15:54:22 +02:00
croneter
587df50c54 Fix AttributeError 2018-10-25 13:27:12 +02:00
croneter
dfccefe2e8 Fix UnboundLocalError 2018-10-25 13:25:25 +02:00
croneter
14f7b56b08 Fix TypeError 2018-10-25 13:22:34 +02:00
croneter
ff73318157 Less logging 2018-10-25 13:21:24 +02:00
croneter
59dc295dc8 Fix AttributeError 2018-10-25 13:20:46 +02:00
croneter
9bab18367c Fix turning generator into list 2018-10-25 13:19:46 +02:00
croneter
a060b1fcaa Simplify call of SectionItems download 2018-10-25 13:05:26 +02:00
croneter
91533aa89f Fix time sync not downloading items 2018-10-25 13:02:36 +02:00
croneter
a603fbadca Drop Plex tables entirely on DB reset; no further version check needed 2018-10-25 12:55:25 +02:00
croneter
c2efe0d57f Optimize sync startup 2018-10-25 12:46:57 +02:00
croneter
2a97678ba4 Compare Plex DB version separately 2018-10-25 08:43:47 +02:00
croneter
e0fdfac063 Check Plex DB version and force-reset if necessary 2018-10-24 18:40:44 +02:00
croneter
3558182b7e Fix AttributeError: 'super' object has no attribute 2018-10-24 18:08:00 +02:00
croneter
a9138cbd71 Fix OperationalError 2018-10-24 18:07:51 +02:00
croneter
e74a4ba2e9 Fix ImportError 2018-10-24 17:59:41 +02:00
croneter
ae37e21aeb Fix AttributeError 2018-10-24 17:56:59 +02:00
croneter
b94952ba4a Fix ImportError 2018-10-24 17:55:56 +02:00
croneter
c7e7ac65a4 Fix ImportError 2018-10-24 17:55:04 +02:00
croneter
31a0939b42 Fix SyntaxError 2018-10-24 17:54:10 +02:00
croneter
4edeaba365 Fix ImportError 2018-10-24 17:53:20 +02:00
croneter
8799ec8592 Fix IndentationError 2018-10-24 17:51:43 +02:00
croneter
3bc1caebca Require database reset 2018-10-24 17:23:38 +02:00
croneter
842df1773f Rename librarysync 2018-10-24 17:19:36 +02:00
croneter
4246711b1e Remove old plexdb_functions 2018-10-24 17:17:02 +02:00
croneter
e7899d656d Remove old itemtypes 2018-10-24 15:23:38 +02:00
croneter
205dc3fab8 Rewire llibrary sync, part 7 2018-10-24 15:20:25 +02:00
croneter
f520cebf66 Rewire llibrary sync, part 6 2018-10-24 10:57:52 +02:00
croneter
2f96749fc7 Rewire llibrary sync, part 5 2018-10-24 07:08:32 +02:00
croneter
23dada9fe5 Rewire llibrary sync, part 4 2018-10-23 13:54:09 +02:00
croneter
35a25a7f15 More hacking 2018-10-21 18:32:11 +02:00
croneter
e935b7c97b Rewire llibrary sync, part 3 2018-10-21 16:56:13 +02:00
croneter
3f4c43e373 Rewire llibrary sync, part 2 2018-10-21 12:03:21 +02:00
croneter
e6692a9012 Rewire llibrary sync, part 1 2018-10-20 14:49:04 +02:00
croneter
3c6979813b Add download generator 2018-10-14 19:59:11 +02:00
croneter
02b20a9b74 Catch ParseError from defusedxml correctly 2018-10-14 12:15:09 +02:00
croneter
76fbf3ac83 Fix cElementTree TypeError: cannot serialize 2018-10-14 12:14:41 +02:00
croneter
36c627651e Fix cElementTree TypeError: cannot serialize 2018-10-14 12:13:52 +02:00
croneter
6021407929 Revert "Optimize code"
This reverts commit c5e1d7a7df.
2018-10-14 12:01:15 +02:00
croneter
e45a133f51 Fix cElementTree TypeError: cannot serialize 2018-10-14 11:48:44 +02:00
croneter
c5e1d7a7df Optimize code 2018-10-14 11:47:33 +02:00
croneter
8199c2ce5b Fix PEP-8 2018-10-14 11:12:48 +02:00
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
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
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
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
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
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
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
e85e514c8b Fix endless reboots if Plex music library missing 2018-06-01 20:36:24 +02:00