croneter
|
34e84cd037
|
Correctly detect whether we already synched a Kodi playlist
|
2019-08-02 11:32:03 +02:00 |
|
croneter
|
d2b5bc8d23
|
Merge pull request #954 from croneter/fix-companion
Fix Plex Companion casting from iOS and Android
|
2019-08-02 10:51:49 +02:00 |
|
croneter
|
064e573af9
|
Merge pull request #953 from croneter/optimize-sync
Sync playlists immediately after synching new/changed items and show an info dialog
|
2019-08-02 10:51:28 +02:00 |
|
croneter
|
b5bd13f7bd
|
Merge pull request #952 from croneter/less-logging
Less logging when comparing PKC versions
|
2019-08-02 10:51:10 +02:00 |
|
croneter
|
335bfc34c5
|
Merge pull request #946 from croneter/faster-playlists
Faster sync of playlists
|
2019-08-02 10:50:55 +02:00 |
|
croneter
|
91da038413
|
Merge pull request #950 from croneter/fix-check
Remove obsolete check if path is indeed in unicode
|
2019-08-02 10:50:30 +02:00 |
|
croneter
|
2cee5512d9
|
Merge pull request #948 from croneter/new-function
Separate function to wipe all synched Plex playlists
|
2019-08-02 10:50:12 +02:00 |
|
croneter
|
46830d29a9
|
Merge pull request #949 from croneter/unicode
Add unicode representation to Playlist() class
|
2019-08-02 10:49:56 +02:00 |
|
croneter
|
bae923d34a
|
Fix Plex Companion casting from iOS and Android
|
2019-08-02 10:46:04 +02:00 |
|
croneter
|
33ed1bed83
|
Sync playlists immediately after synching new/changed items and show pop-up info
|
2019-08-02 10:25:53 +02:00 |
|
croneter
|
bcc97df209
|
Less logging when comparing PKC versions
|
2019-08-02 10:17:02 +02:00 |
|
croneter
|
7d8802467f
|
Ensure playlists are freshly synched on PKC version bump
|
2019-08-01 14:53:49 +02:00 |
|
croneter
|
26fa1ff909
|
Use file size and last modification time to compare Kodi playlist files instead of slow MD5 hash of file
|
2019-08-01 14:53:49 +02:00 |
|
croneter
|
dca1bb6835
|
Remove obsolete check
|
2019-08-01 14:51:45 +02:00 |
|
croneter
|
53f77a7a97
|
Add unicode representation to Playlist() class
|
2019-08-01 14:50:09 +02:00 |
|
croneter
|
a83cf93150
|
Separate function to wipe all synched Plex playlists
|
2019-08-01 14:48:42 +02:00 |
|
croneter
|
85e0909105
|
Fix potential playlist sync issues with dot in playlist name
|
2019-08-01 14:38:44 +02:00 |
|
croneter
|
9b98ee9ec3
|
Fix On Deck for shows not appending showname and season and episode number
|
2019-07-27 12:08:42 +02:00 |
|
croneter
|
4b598200b9
|
AttributeError: 'NoneType' object has no attribute 'attrib' on playback startup
|
2019-07-21 12:11:28 +02:00 |
|
croneter
|
61f13f516b
|
Merge pull request #932 from croneter/fix-companion
Fix casting to PlexKodiConnect always starting the first episode
|
2019-07-14 13:00:52 +02:00 |
|
croneter
|
024bf31b83
|
Merge pull request #930 from croneter/upnext
Support for the Up Next Kodi add-on
|
2019-07-14 13:00:37 +02:00 |
|
croneter
|
5438fe4388
|
Fix casting to PlexKodiConnect always starting the first episode
|
2019-07-14 12:57:20 +02:00 |
|
croneter
|
38977a8ca6
|
Support for the Upnext Kodi add-on
|
2019-07-14 12:09:25 +02:00 |
|
croneter
|
a43e0801b4
|
Rename video nodes for ondeck
|
2019-07-14 07:46:09 +02:00 |
|
croneter
|
3436035530
|
Provide more metadata for unsynced directory-like items like a show
|
2019-07-13 14:49:59 +02:00 |
|
croneter
|
84d4e5aa99
|
Merge pull request #922 from croneter/fix-path
Fix 'Plex.nodes.<id>.path' not linking directly to entire library
|
2019-07-13 10:32:44 +02:00 |
|
croneter
|
33d20f0d0b
|
Fix Plex.nodes.<id>.path not linking directly to entire library
|
2019-07-09 07:54:17 +02:00 |
|
croneter
|
e718fd3276
|
Fix sections that are not synced not displaying correct menu
|
2019-07-09 07:37:18 +02:00 |
|
croneter
|
76cbd27ae3
|
Merge pull request #919 from croneter/fix-actor-image
Fix missing cast artwork if an actor also acted as director or writer for another movie. You will have to manually reset the Kodi DB.
|
2019-07-07 18:09:38 +02:00 |
|
croneter
|
868cecfe35
|
Fix missing cast artwork if an actor acts as director or writer
|
2019-07-07 18:05:56 +02:00 |
|
croneter
|
a5aa0c2594
|
Reset PKC video library XMLs on PKC update
|
2019-07-06 21:22:12 +02:00 |
|
croneter
|
fc237383aa
|
Ensure correct Container.Type is set for PKC widgets
|
2019-07-06 21:20:23 +02:00 |
|
croneter
|
416c424f52
|
Fix PKC potentially marking a video as watched on startup; don't sync time with toggling video watch state but use PMS epoch time
|
2019-06-28 17:47:01 +02:00 |
|
croneter
|
5466bb759c
|
Merge pull request #910 from croneter/fix-playlists
Fix PKC creating thousands of playlists if a single Kodi playlist wasn't unique
|
2019-06-28 16:47:34 +02:00 |
|
croneter
|
eb3e655213
|
Cleanup due to wrong assumption that kodi playlist hash was unique
|
2019-06-28 15:54:55 +02:00 |
|
croneter
|
58ba03b94b
|
Ensure faulty index on Plex DB is correctly recreated on PKC update
|
2019-06-28 15:46:40 +02:00 |
|
croneter
|
fb76f49fbd
|
Fix PKC creating thousands of playlists if there are 2 identical Kodi playlists
|
2019-06-28 15:20:22 +02:00 |
|
croneter
|
f32a8c534f
|
Fix FutureWarning
|
2019-06-25 18:12:46 +02:00 |
|
croneter
|
671bbbd9a9
|
Fix Trakt add-on not recognizing id of tv shows
|
2019-06-22 18:34:12 +02:00 |
|
croneter
|
f506b971ce
|
Merge pull request #899 from croneter/fix-listitem
Fix for Kodi 17 Krypton TypeError on playback start: 'offscreen' is an invalid keyword argument for this function
|
2019-06-16 14:16:35 +02:00 |
|
croneter
|
c91f62108b
|
Merge pull request #898 from croneter/fix-skin
Fix widgets not being populated after very first PlexKodiConnect library sync
|
2019-06-16 14:16:20 +02:00 |
|
croneter
|
68cf59293f
|
Fix for Kodi 17 Krypton TypeError on playback start: 'offscreen' is an invalid keyword argument for this function
|
2019-06-16 14:11:53 +02:00 |
|
croneter
|
67dfca32b5
|
Fix widgets not being populated after first PKC sync
|
2019-06-16 13:49:42 +02:00 |
|
croneter
|
b99b17d0f9
|
Don't restart Kodi if user chose to enter PKC settings on install
|
2019-06-15 16:01:02 +02:00 |
|
croneter
|
3627c9e6bb
|
Merge pull request #890 from croneter/widget-limit
Improve some PKC widgets
|
2019-06-14 20:03:06 +02:00 |
|
croneter
|
d4f23db945
|
Merge pull request #889 from croneter/fix-tvshows
Fix In Progress widgets being broken and tv shows showing up as completely watched
|
2019-06-14 20:02:46 +02:00 |
|
croneter
|
a463bd521f
|
Add an additional, faster On Deck node for movies
|
2019-06-14 18:07:19 +02:00 |
|
croneter
|
0bf7ada6e3
|
Delete Plex video node files when migrating to PKC version 2.8.2
|
2019-06-14 12:46:37 +02:00 |
|
croneter
|
1c245683ad
|
Introduce limits to the number of videos shown in PKC widgets to speed them up
|
2019-06-14 12:38:01 +02:00 |
|
croneter
|
12b84b42bb
|
Fix In Progress widgets not displaying anything and all shows being marked as watched
|
2019-06-14 12:14:39 +02:00 |
|
croneter
|
a761a8987d
|
Fix TypeError for Direct Paths: init() got an unexpected keyword argument ‘item’
|
2019-06-14 11:11:00 +02:00 |
|
croneter
|
cd524cb978
|
Merge pull request #883 from croneter/fix-valueerror
Fix ValueError if casting to int/float
|
2019-06-12 20:05:37 +02:00 |
|
croneter
|
e433f6f719
|
Fix RuntimeError: Unknown exception thrown from the call "XBMCAddon::xbmcplugin::setResolvedUrl"
|
2019-06-12 19:59:16 +02:00 |
|
croneter
|
e08e9b0d32
|
Fix ValueError if casting to int/float
|
2019-06-12 13:17:17 +02:00 |
|
croneter
|
563e86c8db
|
Merge pull request #880 from croneter/playlist-sync-dialog
Add additional info dialog for PKC synching playlists
|
2019-06-12 13:04:04 +02:00 |
|
croneter
|
03a9f84b9e
|
Fix rare UnicodeDecodeError on library sync
|
2019-06-12 13:02:29 +02:00 |
|
croneter
|
1cbd65861c
|
Add additional info dialog for PKC synching playlists
|
2019-06-12 12:18:09 +02:00 |
|
croneter
|
d96ac192d1
|
Fix casting to int silently failing
|
2019-06-12 11:53:41 +02:00 |
|
croneter
|
a46cb731cf
|
Refactor Plex API
|
2019-06-12 11:53:41 +02:00 |
|
croneter
|
8e8cf18c0a
|
Add comment: potential fix Kodi to immediately resuming the video if the user restarted playback
|
2019-06-02 19:30:28 +02:00 |
|
croneter
|
6bd5b28e0c
|
Fix playback when the same video is started again from a widget
|
2019-06-02 13:47:50 +02:00 |
|
croneter
|
3ba09e1ff0
|
Increase logging
|
2019-06-02 13:30:23 +02:00 |
|
croneter
|
d0c0ab2a56
|
Fix video thrown by Plex Companion not resuming
|
2019-06-02 13:12:04 +02:00 |
|
croneter
|
04d328de3e
|
Improve video resuming behavior; add a resume dialog for playback startup via PMS
|
2019-06-02 13:12:03 +02:00 |
|
croneter
|
bcb89aed88
|
Also play trailers if user chose to resume movie from the beginning
|
2019-06-01 16:15:14 +02:00 |
|
croneter
|
ccb95a0169
|
Fix Kodi always playing the same file version of a video
|
2019-06-01 16:15:14 +02:00 |
|
croneter
|
9171169956
|
Another attempt to keep Kodi from crashing on playback startup
|
2019-05-30 14:24:18 +02:00 |
|
croneter
|
10c7c79035
|
Hopefully fix Kodi crashing on playback startup for good
|
2019-05-29 21:01:51 +02:00 |
|
croneter
|
3e7533d965
|
Merge pull request #845 from croneter/update-widgets
Refresh widgets only on homescreen to prevent cursor from jumping within libraries
|
2019-05-28 20:11:49 +02:00 |
|
croneter
|
59aa9f3a55
|
Merge pull request #844 from croneter/no-refresh
Don't refresh container when user chose to delete or refresh an item from the context menu
|
2019-05-28 20:11:24 +02:00 |
|
croneter
|
f993373a4f
|
Revert "Merge pull request #841 from croneter/section-uuid"
This reverts commit edb9d6e2b0 , reversing
changes made to a603bd33ae .
|
2019-05-28 18:42:04 +02:00 |
|
croneter
|
7e829c1bad
|
Refresh widgets only on homescreen to prevent cursor from jumping within libraries
|
2019-05-01 08:56:11 +02:00 |
|
croneter
|
1a7a36820a
|
Don't refresh container when use chose to delete or refresh an item
|
2019-05-01 08:35:32 +02:00 |
|
croneter
|
ab8089d3b1
|
Rename section.section_id to section.id
|
2019-04-27 11:52:42 +02:00 |
|
croneter
|
e76fd03915
|
Safe section uuid when synching
|
2019-04-27 11:52:42 +02:00 |
|
croneter
|
ab5ab966e4
|
Use section for sync process
|
2019-04-27 11:52:42 +02:00 |
|
croneter
|
6a292d29f6
|
Safe Plex library section uuid to plex.db instead of kodi tagid
|
2019-04-27 11:52:42 +02:00 |
|
croneter
|
cc854a120f
|
Merge pull request #837 from croneter/fix-lastplayed
Fix last-played node value to ensure a playcount greater than zero
|
2019-04-21 10:06:20 +02:00 |
|
croneter
|
5c11ab21ed
|
Merge pull request #834 from croneter/reload-skin
Reload skin on resetting PKC video nodes
|
2019-04-21 10:05:43 +02:00 |
|
croneter
|
9b45a84d7e
|
Correctly clear window variables e.g. on user switch
|
2019-04-20 17:28:43 +02:00 |
|
croneter
|
453098ef4f
|
Fix last played node value for playcount
|
2019-04-20 14:16:54 +02:00 |
|
croneter
|
0c60f984d1
|
Reload skin on resetting PKC video nodes
|
2019-04-17 16:19:57 +02:00 |
|
croneter
|
e554195228
|
Merge pull request #831 from croneter/fix-customization
Fix some appearance tweak settings
|
2019-04-14 14:56:14 +02:00 |
|
croneter
|
86c6e44ad6
|
Merge pull request #829 from croneter/fix-transcoding
Fix transcoding not working
|
2019-04-14 14:55:46 +02:00 |
|
croneter
|
203edf90f0
|
Merge pull request #828 from croneter/fix-4k
Fix 4k H265 not being transcoded
|
2019-04-14 14:55:35 +02:00 |
|
croneter
|
2791dc7b57
|
Merge pull request #827 from croneter/fix-nodes
Fix music and picture nodes pointing to video library
|
2019-04-14 14:55:19 +02:00 |
|
croneter
|
4dcf057631
|
Merge pull request #826 from croneter/fix-ne
Fix unequality when comparing sections
|
2019-04-14 14:55:06 +02:00 |
|
croneter
|
15c4da46a9
|
Reenable setting: recently added: don't show watched movies
|
2019-04-14 14:49:44 +02:00 |
|
croneter
|
5cc67f41e1
|
Reenable setting: recently added: don't show watched episodes
|
2019-04-14 14:41:14 +02:00 |
|
croneter
|
eb1214f0c7
|
New setting to reloade Plex video nodes
|
2019-04-14 14:20:03 +02:00 |
|
croneter
|
75a6ecd1cf
|
Fix transcoding not working
|
2019-04-14 13:13:48 +02:00 |
|
croneter
|
9c4c6bf07f
|
Fix 4k H265 not being transcoded
|
2019-04-14 11:37:03 +02:00 |
|
croneter
|
34f1c7d1b9
|
Fix music and picture nodes pointing to video library
|
2019-04-14 11:03:05 +02:00 |
|
croneter
|
65e377a49f
|
Remove obsolete import
|
2019-04-14 10:29:08 +02:00 |
|
croneter
|
02a03bd0f2
|
Fix unequality when comparing sections
|
2019-04-13 12:51:14 +02:00 |
|
croneter
|
e93fd94a71
|
Fix Plex Companion logging error messages
|
2019-04-05 17:54:03 +02:00 |
|
croneter
|
b178526ca1
|
Merge pull request #819 from croneter/fix-kodi-crash
Attempt to fix rare Kodi crash on PKC exit
|
2019-04-05 17:13:09 +02:00 |
|
croneter
|
b1aceb1e90
|
Fix possible UnicodeEncodeError
|
2019-04-05 17:12:05 +02:00 |
|
croneter
|
11f636c4b9
|
Fix UnicodeEncodeError on playback startup
|
2019-04-05 17:12:05 +02:00 |
|
croneter
|
26689e16d4
|
Attempt to fix rare Kodi crash on PKC exit
|
2019-04-05 16:47:59 +02:00 |
|
croneter
|
bca657ab08
|
Merge pull request #807 from croneter/fix-unicode
Fixes to unicode
|
2019-03-30 17:50:30 +01:00 |
|
croneter
|
d5a7bab8db
|
Merge pull request #809 from croneter/cleanup
Cleanup code, remove some obsolet methods and functions
|
2019-03-30 17:50:11 +01:00 |
|
croneter
|
aadb22e531
|
Fix FutureWarning
|
2019-03-30 17:34:51 +01:00 |
|
croneter
|
c1bb083933
|
Cleanup plex_api.py
|
2019-03-30 17:32:42 +01:00 |
|
croneter
|
1ac19109ba
|
Turn urllib and urlparse unicode-safe
|
2019-03-30 17:32:42 +01:00 |
|
croneter
|
b4d036ed6b
|
Monkey patch xml.etree.ElementTree to always return unicode
|
2019-03-30 09:56:22 +01:00 |
|
croneter
|
d5781d0906
|
Remove obsolete method
|
2019-03-30 09:54:31 +01:00 |
|
croneter
|
88cc4e220c
|
Remove obsolete method
|
2019-03-30 09:54:24 +01:00 |
|
croneter
|
068379c0eb
|
Merge pull request #802 from croneter/quick-fix-direct-paths
Fix UnicodeEncodeError for Direct Paths and some PKC video nodes
|
2019-03-29 14:25:37 +01:00 |
|
croneter
|
e1bdce2b99
|
Revert need to reset the Kodi DB
|
2019-03-29 14:03:46 +01:00 |
|
croneter
|
90f445cc75
|
Fix UnicodeEncodeError
|
2019-03-28 20:08:45 +01:00 |
|
croneter
|
2013b498d6
|
Add function to urlencode unicode
|
2019-03-28 20:07:40 +01:00 |
|
croneter
|
456897a3cc
|
Merge pull request #800 from croneter/fix-direct-music
Fix duplicate music entries for direct paths (forces a Kodi database reset!)
|
2019-03-28 14:04:53 +01:00 |
|
croneter
|
de80885aa5
|
Fix playback sometimes not being reported for direct paths
|
2019-03-28 13:48:50 +01:00 |
|
croneter
|
c308c06929
|
Fix duplicate music entries for direct paths (requires DB reset!)
|
2019-03-28 13:47:35 +01:00 |
|
croneter
|
de19813a85
|
Merge pull request #794 from croneter/fix-nfs-masterlock
Fix Kodi Masterlock for nfs paths (requires restart)
|
2019-03-26 18:49:50 +01:00 |
|
croneter
|
648d88b9b2
|
Merge pull request #791 from croneter/fix-widget-loading
Wait for PKC to authorize before loading widgets
|
2019-03-26 18:48:51 +01:00 |
|
croneter
|
c072f0f439
|
Merge pull request #790 from croneter/fix-startup
Fix TypeError on Kodi start
|
2019-03-26 18:48:34 +01:00 |
|
croneter
|
5a8eb0db4b
|
Fix Kodi Masterlock for nfs paths (requires restart)
|
2019-03-26 18:00:35 +01:00 |
|
croneter
|
8a2ce01aee
|
Wait for PKC to authorize before loading widgets
|
2019-03-25 20:54:55 +01:00 |
|
croneter
|
448714e6a2
|
Fix TypeError on Kodi start
|
2019-03-25 20:51:28 +01:00 |
|
croneter
|
d05c29776c
|
Fix UnicodeDecodeError for libraries with non-ASCII paths
|
2019-03-25 17:47:42 +01:00 |
|
croneter
|
2c101d9145
|
Merge pull request #783 from croneter/fix-widgets
Fix node paths for skins
|
2019-03-21 20:35:14 +01:00 |
|
croneter
|
c996d51085
|
Fix video node path for widgets
|
2019-03-21 20:22:41 +01:00 |
|
croneter
|
7cb6c75f3b
|
Fix adding of show title, season and episode number
|
2019-03-21 20:06:52 +01:00 |
|
croneter
|
9665f34ee6
|
Fix Typo
|
2019-03-20 19:19:57 +01:00 |
|
croneter
|
a8a229967c
|
Merge pull request #777 from croneter/fix-profile-switch
Fix PKC synching playstate to wrong user on profile switch. Be aware that Kodi profile switches are error-prone
|
2019-03-17 17:59:20 +01:00 |
|
croneter
|
58b15e69a9
|
Merge pull request #775 from croneter/fix-nodes
Fix nodes for skin use
|
2019-03-17 17:58:28 +01:00 |
|
croneter
|
392f3f6359
|
Merge pull request #774 from croneter/fix-unicode
Fix sync not working due to non-ASCII Plex library names
|
2019-03-17 17:58:15 +01:00 |
|
croneter
|
71af3d0ca6
|
Merge pull request #773 from croneter/fix-direct-paths
Fix playback sometimes not being reported for direct paths
|
2019-03-17 17:58:00 +01:00 |
|
croneter
|
b5b9dd51a5
|
Merge pull request #771 from croneter/fix-playlist-sync
Fix 'NoneType' object has no attribute 'kodi_path'
|
2019-03-17 17:57:49 +01:00 |
|
croneter
|
815cd20d39
|
Ensure Plex companion thread quits on time
|
2019-03-17 17:56:31 +01:00 |
|
croneter
|
9d07a58c50
|
Replace waitForAbort() with sleep()
|
2019-03-17 17:56:31 +01:00 |
|
croneter
|
d068c37c49
|
Fix PKC synching playstate to wrong user on profile switch
- BUT: Kodi profiles seem to be a mess!
|
2019-03-17 16:53:13 +01:00 |
|
croneter
|
ba4f1d15d6
|
Increase logging
|
2019-03-17 16:26:48 +01:00 |
|
croneter
|
3c70a84704
|
Catch all exceptions, just in case
|
2019-03-17 15:42:29 +01:00 |
|
croneter
|
37bbf61a63
|
Ensure that reference to threader is gone on shutdown
|
2019-03-17 15:33:42 +01:00 |
|
croneter
|
41483e6731
|
Add more exit points when synching
|
2019-03-17 15:31:02 +01:00 |
|
croneter
|
9a6485737f
|
Fix 'all' video node not leading to all library items
|
2019-03-17 12:57:38 +01:00 |
|
croneter
|
a2b57909cb
|
Hopefully fix On Deck video node not working
|
2019-03-17 12:57:38 +01:00 |
|
croneter
|
3d4642dc56
|
Fix sync not working due to non-ASCII Plex library names
|
2019-03-17 11:54:09 +01:00 |
|
croneter
|
68ca41545c
|
Fix playback sometimes not being reported for direct paths
|
2019-03-17 11:41:43 +01:00 |
|
croneter
|
db0f7f283e
|
Simplify code to get path and filename
|
2019-03-17 11:30:44 +01:00 |
|
croneter
|
eef0eda426
|
Fix 'NoneType' object has no attribute 'kodi_path'
|
2019-03-16 17:47:23 +01:00 |
|
croneter
|
c6e635b39b
|
Fix float() argument must be a string or a number
|
2019-03-16 17:34:47 +01:00 |
|
croneter
|
7d040e37ae
|
Merge pull request #759 from croneter/version-bump
Beta version bump 2.7.5
|
2019-03-10 18:06:12 +01:00 |
|
croneter
|
bda58deb6e
|
Merge pull request #722 from croneter/widget_overhaul
Giant overhaul of widgets
|
2019-03-10 18:01:13 +01:00 |
|
croneter
|
86cde7c69a
|
Merge pull request #760 from croneter/fix-keyerror
Fix some KeyErrors when playing songs
|
2019-03-10 18:00:53 +01:00 |
|
croneter
|
e50c0c011e
|
Allow searching the PMS
|
2019-03-10 18:00:05 +01:00 |
|
croneter
|
5b7595c681
|
Rework widgets and listitems
|
2019-03-10 18:00:04 +01:00 |
|
croneter
|
4ea77370e8
|
Beta version bump 2.7.5
- Includes a migration!
|
2019-03-10 13:27:27 +01:00 |
|
croneter
|
c99cead6f5
|
Ignore all file events for playlists caused by PKC
|
2019-03-10 13:22:38 +01:00 |
|
croneter
|
8c51ee5c7a
|
Ignore all websocket playlist messages caused by PKC
|
2019-03-10 13:22:38 +01:00 |
|
croneter
|
62ecefdcca
|
Less logging
|
2019-03-10 11:25:02 +01:00 |
|
croneter
|
c69176d4a1
|
Fix some KeyErrors when playing songs
|
2019-03-09 16:19:29 +01:00 |
|
croneter
|
349829a754
|
Fix PKC not synching new items if an older Kodi db is present
|
2019-02-26 17:41:35 +01:00 |
|
croneter
|
c17dda40dd
|
Merge pull request #744 from croneter/fix-theme-log-entries
Fix PKC trying to initialize playqueues over and over again
|
2019-02-24 11:27:03 +01:00 |
|
croneter
|
33cae69cc4
|
Fix PKC not starting due to a higher version Kodi database
|
2019-02-24 11:19:35 +01:00 |
|
croneter
|
36c78b0d6e
|
Fix PKC trying to initialize playqueues over and over again
|
2019-02-23 08:53:37 +01:00 |
|
croneter
|
a9ff70fac7
|
Fix PKC not exiting correctly due to a call to xbmc.getCondVisibility
|
2019-02-22 08:11:58 +01:00 |
|
croneter
|
fa9ca95e2e
|
Remove obsolete check for Kodi profile switch
|
2019-02-21 09:15:29 +01:00 |
|
croneter
|
2c12f2e705
|
Update to new style Python class
|
2019-02-21 08:47:52 +01:00 |
|
croneter
|
3c9eb71324
|
Fix websocket threads not exiting correctly
|
2019-02-21 08:47:36 +01:00 |
|
croneter
|
78def504bc
|
Merge pull request #732 from croneter/fix-typeerror
Fix rare TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' on playback startup
|
2019-02-16 19:05:50 +01:00 |
|
croneter
|
2942300f10
|
Merge pull request #731 from croneter/improve-db
Improve plex db lookups by creating better db indicees
|
2019-02-16 19:05:36 +01:00 |
|
croneter
|
4a83aae573
|
Fix TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
|
2019-02-16 17:59:03 +01:00 |
|
croneter
|
056150a2da
|
Improve plex db lookups by creating better db indicees
|
2019-02-16 14:05:09 +01:00 |
|
croneter
|
823f6b6e3f
|
Fix KeyError: u'kodi_type'
|
2019-02-16 12:17:56 +01:00 |
|
croneter
|
94da14744d
|
Fix PKC crashing on recreating the database
|
2019-02-08 15:33:29 +01:00 |
|
croneter
|
d8aada43a6
|
Merge pull request #714 from croneter/version-bump
Beta version bump 2.6.8
|
2019-02-08 15:20:25 +01:00 |
|
croneter
|
a9bfae2b13
|
Merge pull request #715 from croneter/codacy
Implement Codacy suggestions
|
2019-02-08 15:20:11 +01:00 |
|
croneter
|
7a0b9c8fca
|
Merge pull request #713 from croneter/fix-collections
Fix processing of collections in special cases
|
2019-02-08 15:20:00 +01:00 |
|
croneter
|
80f3542737
|
Merge pull request #712 from croneter/fix-videos-disappearing
Fix movies or shows disappearing in fringe cases
|
2019-02-08 15:19:50 +01:00 |
|
croneter
|
da1cb6e3d7
|
Merge pull request #717 from croneter/fix-playlists
Fix rare case where thousands of identical playlists could be generated
|
2019-02-08 15:19:37 +01:00 |
|
croneter
|
a0d6674f7e
|
Merge pull request #711 from croneter/fix-unresponsive
Fix PKC becoming unresponsive
|
2019-02-08 15:19:23 +01:00 |
|
croneter
|
d617535a05
|
Beta version bump 2.6.8
|
2019-02-08 15:18:41 +01:00 |
|
croneter
|
873c9e74f5
|
Fix rare case where thousands of identical playlists could be generated
|
2019-02-08 15:15:52 +01:00 |
|
croneter
|
e6cd80a7dd
|
Implement Codacy suggestions
|
2019-02-08 13:52:33 +01:00 |
|
croneter
|
1a1e4b113d
|
Prompt user to select libraries to sync upon changing PMS
|
2019-02-08 13:24:14 +01:00 |
|
croneter
|
50d770718d
|
Choose which Plex libraries PKC should sync
|
2019-02-08 13:24:14 +01:00 |
|
croneter
|
6447281404
|
Fix processing of collections in special cases
|
2019-02-08 13:02:55 +01:00 |
|
croneter
|
f98e2df42f
|
Fix movies or shows disappearing in fringe cases
|
2019-02-08 13:01:10 +01:00 |
|
croneter
|
cd728b4c32
|
Fix PKC becoming unresponsive
|
2019-02-08 12:59:12 +01:00 |
|
croneter
|
3b18a92ab4
|
Fix PKC becoming unresponsive
|
2019-02-08 12:58:53 +01:00 |
|
croneter
|
05a6700d55
|
Merge pull request #708 from croneter/improve-playerror-messages
Improve error messages when playback failes
|
2019-02-06 16:16:09 +01:00 |
|
croneter
|
c7eab63960
|
Improve error message when playback failes
|
2019-02-06 16:14:14 +01:00 |
|
croneter
|
1787e51c7c
|
Zentrally register threads and introduce a way to wait for their suspension
|
2019-02-06 14:19:10 +01:00 |
|
croneter
|
63201db07d
|
Merge pull request #707 from croneter/version-bump
Beta version bump 2.6.6
|
2019-02-05 18:59:53 +01:00 |
|
croneter
|
d8796a174e
|
Merge pull request #706 from croneter/fix-pms-logs
Optimize headers for communication with PMS to appear like a Plex Media Player
|
2019-02-05 18:59:43 +01:00 |
|
croneter
|
6bf0cf4894
|
Merge pull request #705 from croneter/improve-sync-dialog
Improve sync dialog
|
2019-02-05 18:59:28 +01:00 |
|
croneter
|
950a2de0f5
|
Merge pull request #704 from croneter/fix-slow-sync
Greatly speed up sync for episodes, especially for large libraries
|
2019-02-05 18:59:16 +01:00 |
|
croneter
|
74dc249a37
|
Enforce database reset
|
2019-02-05 18:57:50 +01:00 |
|
croneter
|
9208cf2cb3
|
Optimize headers for communication with PMS to appear like PMP
|
2019-02-05 18:52:10 +01:00 |
|
croneter
|
01c0c36244
|
Increase batch size for playstates by a factor 10
|
2019-02-05 16:54:40 +01:00 |
|
croneter
|
ca16f73637
|
Make sure we're not showing an item's title while synching playstate
|
2019-02-05 15:48:24 +01:00 |
|
croneter
|
4786372490
|
Improve sync dialog for Estuary by switching item's title and sync count
|
2019-02-05 15:48:02 +01:00 |
|
croneter
|
2234e49cf8
|
Greatly speed up episode sync for large libraries
|
2019-02-05 15:32:50 +01:00 |
|
croneter
|
e65c9d6c94
|
Increase sync processing batch size from 200 to 500
|
2019-02-05 13:21:08 +01:00 |
|
croneter
|
0e16eb703a
|
Do not allow insecure HTTPS websocket connections for Kodi Leia in any case
|
2019-02-05 13:10:00 +01:00 |
|
croneter
|
7b21caceae
|
Allow websocket redirects
|
2019-02-05 13:09:59 +01:00 |
|
croneter
|
bf6e52bf20
|
Merge pull request #698 from croneter/improve-logging
Improve logging
|
2019-02-04 16:23:49 +01:00 |
|
croneter
|
76004f1aa6
|
Improve logging
|
2019-02-04 16:15:58 +01:00 |
|
croneter
|
20225f12b4
|
Fix extras not playing
|
2019-02-04 12:51:16 +01:00 |
|
croneter
|
033919d09b
|
Merge pull request #690 from croneter/fix-music
Fix music items getting deleted on startup
|
2019-02-03 20:31:53 +01:00 |
|
croneter
|
f90b470f5b
|
Never ignore SSL certificate errors for Kodi >= 18 - just like Kodi
|
2019-02-03 20:28:50 +01:00 |
|
croneter
|
ae3f24f6ca
|
Merge pull request #687 from croneter/manual_ip
Improve dialog to manually enter PMS IP and port
|
2019-02-03 20:25:48 +01:00 |
|
croneter
|
a7222af648
|
Merge pull request #686 from croneter/fix-resume
Fix playback not starting at the beginning
|
2019-02-03 20:24:04 +01:00 |
|
croneter
|
2c77bd28af
|
Implement Codacy suggestions
|
2019-02-03 20:22:41 +01:00 |
|
croneter
|
8f8ccd1daf
|
Fix music items getting deleted on startup
|
2019-02-03 17:20:36 +01:00 |
|
croneter
|
01609e4d72
|
Better inform the user if problems arise with manual PMS IP input
|
2019-02-03 16:44:37 +01:00 |
|
croneter
|
1071d75857
|
Improve dialog to manually enter PMS IP and port
|
2019-02-03 10:53:19 +01:00 |
|
croneter
|
09c2ad1b80
|
Fix playback not starting at the beginning
|
2019-02-02 20:50:01 +01:00 |
|
croneter
|
6c8b17d7b8
|
Fix PKC crashing on Xbox
|
2019-02-02 15:58:07 +01:00 |
|
croneter
|
7f0abcee7d
|
Merge pull request #673 from croneter/pr_improve_dialogs
Improve pop-up "Searching for PMS"
|
2019-02-02 13:43:34 +01:00 |
|
croneter
|
cb97734cf9
|
Merge pull request #671 from croneter/pr_fix_futurewarning
Fix FutureWarning
|
2019-02-02 13:43:24 +01:00 |
|
croneter
|
0de47c7b3e
|
Merge pull request #670 from croneter/pr_attributeerror
Fix artwork caching AttributeError: 'ImageCachingThread' object has no attribute 'cancel'
|
2019-02-02 13:43:09 +01:00 |
|
croneter
|
10e6caf3cd
|
Merge pull request #669 from croneter/pr_fix_delete
Fix PKC not deleting all the items it should
|
2019-02-02 13:42:58 +01:00 |
|
croneter
|
1d17dd867c
|
Merge pull request #668 from croneter/pr_sequence_item
Fix playlist sync: sequence item 0: expected string or unicode
|
2019-02-02 13:39:47 +01:00 |
|
croneter
|
b858373aeb
|
Also show a pop-up if PKC searches for changed PMS address on PKC startup
|
2019-02-02 13:24:31 +01:00 |
|
croneter
|
65fe1ed399
|
Show info pop-up "Searching for PMS" until PKC displays the results
|
2019-02-02 13:02:45 +01:00 |
|
croneter
|
fb9c560ccd
|
Fix FutureWarning
|
2019-02-02 11:34:16 +01:00 |
|
croneter
|
996adc2c03
|
Fix artwork caching AttributeError
|
2019-02-02 11:30:03 +01:00 |
|
croneter
|
3a9fcacd5c
|
Fix PKC not deleting all the items it should
|
2019-02-02 11:24:55 +01:00 |
|
croneter
|
d09d2e6aaf
|
Fix playlist sync: sequence item 0: expected string or unicode
|
2019-02-02 10:53:10 +01:00 |
|
croneter
|
fdbe42a05a
|
Fix keyError sessionKey for weird PMS messages
|
2019-02-02 10:42:57 +01:00 |
|
croneter
|
dfeba07ab6
|
Merge pull request #648 from croneter/user_fix
Fix TV sections not being deleted e.g. after user switch
|
2019-01-30 18:27:12 +01:00 |
|
croneter
|
5f72d50ed0
|
Merge pull request #647 from croneter/less_dialogs
Don't show a library sync error pop-up when full sync is interrupted
|
2019-01-30 18:23:46 +01:00 |
|
croneter
|
c388789fbd
|
Add error notification is full sync is unsuccessful
|
2019-01-30 18:05:28 +01:00 |
|
croneter
|
4e10a9da8b
|
Force database reset
|
2019-01-30 17:40:20 +01:00 |
|
croneter
|
8cb4e5f8fc
|
Fix to cleanly delete all songs and albums
|
2019-01-30 15:54:19 +01:00 |
|
croneter
|
624fe87fd1
|
Fix to cleanly delete all episodes and seasons
|
2019-01-30 15:54:19 +01:00 |
|
croneter
|
a279cf5198
|
Fix deleting entire Plex library sections
Typo plex_type - section_type
|
2019-01-30 15:54:13 +01:00 |
|
croneter
|
dcff85e203
|
Fix TV sections not being deleted e.g. after user switch
|
2019-01-30 10:58:20 +01:00 |
|
croneter
|
5298370413
|
Don't show an error pop-up if full sync is interrupted
|
2019-01-30 09:34:38 +01:00 |
|
croneter
|
5f1241adde
|
Fix to correctly escape paths
|
2019-01-29 13:52:23 +01:00 |
|
croneter
|
b5d0e4f428
|
Merge pull request #640 from croneter/fix_kodi_fileid
Fix KeyError: u'kodi_fileid' for some Plex websocket messages
|
2019-01-29 08:27:05 +01:00 |
|
croneter
|
3450bc5294
|
Don't lock Plex DB when processing websocket messages
|
2019-01-29 08:09:42 +01:00 |
|
croneter
|
91fe4f827d
|
Fix KeyError: u'kodi_fileid' for some Plex websocket messages
|
2019-01-29 08:05:15 +01:00 |
|
croneter
|
0278e16de0
|
Merge pull request #635 from croneter/fix_slow_playback_startup
Hopefully fix slow playback startup just after Kodi startup
|
2019-01-28 20:22:05 +01:00 |
|
croneter
|
9ec9278888
|
Merge pull request #633 from croneter/revamp_direct_paths
Better, safer way to enter network credentials for Direct Paths
|
2019-01-28 20:21:48 +01:00 |
|
croneter
|
77ca3c428e
|
Merge pull request #632 from croneter/path_exists
Fix check whether a direct path is accessible
|
2019-01-28 20:21:38 +01:00 |
|
croneter
|
ee805301a3
|
Merge pull request #630 from croneter/operationalerror
Fix OperationalError: no such table on database reset
|
2019-01-28 20:21:25 +01:00 |
|
croneter
|
06964fab7d
|
Merge pull request #627 from croneter/missing_items
Fix 'NoneType' object has no attribute 'execute' when Plex artwork is not synced and an item is deleted
|
2019-01-28 20:21:14 +01:00 |
|
croneter
|
96db37c588
|
Merge pull request #626 from croneter/optimize_logging
Log whether Plex artwork is synced to Kodi
|
2019-01-28 20:21:03 +01:00 |
|
croneter
|
652a43e05c
|
Reduce batch size for processing playstate to 10%
|
2019-01-28 18:11:44 +01:00 |
|
croneter
|
e04c74392f
|
Don't lock DBs when messing with the playqueue
|
2019-01-28 18:05:40 +01:00 |
|
croneter
|
cffebf2f65
|
Better, safer dialogs to enter network credentials
|
2019-01-28 14:43:58 +01:00 |
|
croneter
|
4be8b3da9b
|
Add comment about need to have sources.xml and passwords.xml set-up
|
2019-01-28 09:23:10 +01:00 |
|
croneter
|
25aacc8495
|
Fix check whether a file exists
|
2019-01-28 09:22:36 +01:00 |
|
croneter
|
a3d2c5530c
|
Fix OperationalError: no such table on database reset
|
2019-01-27 13:31:59 +01:00 |
|
croneter
|
aa2b1e5e15
|
Always open a connection to the Kodi texture DB
|
2019-01-27 09:27:12 +01:00 |
|
croneter
|
4779f3e994
|
Log whether Plex artwork is synced to Kodi
|
2019-01-27 08:33:15 +01:00 |
|
croneter
|
352402bc35
|
Revert "Refresh Kodi view only once on full syncs"
This reverts commit b86a6549ac .
|
2019-01-26 17:18:48 +01:00 |
|
croneter
|
69cb09e009
|
Replace cPickle communication with JSON
|
2019-01-26 08:43:51 +01:00 |
|
croneter
|
211d3d6a5a
|
Revert "Use highes available protocol for cPickle"
This reverts commit 32d8083b60 .
|
2019-01-25 17:30:03 +01:00 |
|
croneter
|
2ee3d86c27
|
Revert "Don't use class attributes for cPickle"
This reverts commit e181b4cac2 .
|
2019-01-25 17:29:59 +01:00 |
|
croneter
|
32d8083b60
|
Use highes available protocol for cPickle
|
2019-01-25 15:43:45 +01:00 |
|
croneter
|
e181b4cac2
|
Don't use class attributes for cPickle
See https://docs.python.org/2/library/pickle.html#what-can-be-pickled-and-unpickled
|
2019-01-25 15:43:17 +01:00 |
|
croneter
|
5de91ff9b5
|
Fix KodiVideoDB object has no attribute kodiconn
- Partially fixes #593
- Fixes #614
|
2019-01-23 10:00:49 +01:00 |
|
croneter
|
d6246a1cab
|
Fix local variable 'set_api' referenced before assignment
|
2019-01-22 08:52:04 +01:00 |
|
croneter
|
9e6b841296
|
Begin a new transaction when database was locked
- Hopefully fixes #593
|
2019-01-19 17:53:35 +01:00 |
|
croneter
|
7527f38c3f
|
Revert "Wait even longer to try to write to Kodi DB"
This reverts commit 9f0d0026e6 .
|
2019-01-19 17:12:45 +01:00 |
|
croneter
|
f821134ed3
|
Add link for more sqlite info
|
2019-01-19 17:06:52 +01:00 |
|
croneter
|
5b5af1ceed
|
Fix browsing to show from info dialog
- Fixes #603
- Increases dependency on plugin.video.plexkodiconnect.tvshows to 2.0.8
|
2019-01-19 16:56:10 +01:00 |
|
croneter
|
9f0d0026e6
|
Wait even longer to try to write to Kodi DB
- Hopefully fixes #593
|
2019-01-19 09:35:32 +01:00 |
|
croneter
|
04da3572cb
|
Fix rare KeyError if user is playing something somewhere else
|
2019-01-19 09:22:00 +01:00 |
|
croneter
|
5f79e944ab
|
Fix browsing to show from info dialog
|
2019-01-17 20:33:46 +01:00 |
|
croneter
|
5dd346b657
|
Fix crash on startup-sync due to missing albums
|
2019-01-17 19:58:07 +01:00 |
|
croneter
|
e4af13bbd5
|
Try even longer to write to Kodi database
- Partially fixes #593
|
2019-01-17 19:30:55 +01:00 |
|
croneter
|
3b9fce7470
|
Fix some items rarely not being synced
|
2019-01-17 18:05:02 +01:00 |
|
croneter
|
889b6094d9
|
Ignore playstate updates for full sync time stamps croneter committed
|
2019-01-17 17:49:00 +01:00 |
|
croneter
|
b86a6549ac
|
Refresh Kodi view only once on full syncs
|
2019-01-17 17:36:26 +01:00 |
|
croneter
|
3e3aa49d0d
|
Fix playback start: Don't lock databases when starting playback
- Partially fixes #599
|
2019-01-16 17:13:23 +01:00 |
|
croneter
|
e255958b57
|
Fix playback not starting for really large libraries
- Partially fixes #599
|
2019-01-14 18:22:31 +01:00 |
|
croneter
|
4d17a9747f
|
Fix KeyError due to malformed PMS messages
- Fixes #604
|
2019-01-13 17:57:48 +01:00 |
|
croneter
|
ce82725116
|
Further increase database sync resiliance
- Partially fixes #593
|
2019-01-13 14:51:48 +01:00 |
|
croneter
|
73bad8fa05
|
Increase number of attempts to write to Kodi DB
- Partially fixes #593
|
2019-01-13 14:29:35 +01:00 |
|
croneter
|
5a3ad09a04
|
Support for Kodi 18 Leia RC 5.2
|
2019-01-13 13:42:03 +01:00 |
|
croneter
|
1fccd23c4f
|
Make PKC potentially compatible with several database schemas
|
2019-01-13 13:41:22 +01:00 |
|
croneter
|
0f289393c1
|
Fix rare OperationalError: Locked Database
- Partially fixes #593
|
2019-01-11 21:41:11 +01:00 |
|
croneter
|
251263eec7
|
Revert "Log locking of DB"
This reverts commit f5d98d66d4 .
|
2019-01-08 20:14:48 +01:00 |
|
croneter
|
f5d98d66d4
|
Log locking of DB
|
2019-01-08 18:47:58 +01:00 |
|
croneter
|
2d19cd4d63
|
Fix playback not starting up
- Fixes #595
|
2019-01-08 18:46:45 +01:00 |
|
croneter
|
e590968d52
|
Fix Plex channels and watch later not working
|
2019-01-05 08:48:16 +01:00 |
|
croneter
|
b8ebed35f4
|
Beta version bump 2.5.12
|
2019-01-04 20:41:42 +01:00 |
|
croneter
|
262a2dda21
|
New option to not use Plex artwork
|
2019-01-04 20:38:45 +01:00 |
|
croneter
|
3d4ba1e165
|
Increase database resiliance with sqlite WAL mode
|
2019-01-04 18:02:58 +01:00 |
|
croneter
|
1f35caba54
|
Add-on paths: Fix resume if playback not initiated with PKC
|
2019-01-04 14:39:33 +01:00 |
|
croneter
|
bd192e4b6a
|
Direct Paths: Fix AttributeError for widgets
- Fixes #588
|
2019-01-01 16:53:50 +01:00 |
|
croneter
|
70632f1749
|
Enable Plex Hub listings to be used for widgets
- Fixes #585
|
2019-01-01 13:19:26 +01:00 |
|
croneter
|
56331bead5
|
Finally fix deleteting of items from PMS not working
- Fixes #587
|
2019-01-01 13:00:30 +01:00 |
|
croneter
|
0f95889b75
|
Revert "Increase database timeouts"
This reverts commit 74e8d1cc0f .
|
2019-01-01 12:51:38 +01:00 |
|
croneter
|
1ab9ff7790
|
Catch sqlite OperationalError for websocket messages
- Hopefully fixes #580
|
2019-01-01 12:51:33 +01:00 |
|
croneter
|
74e8d1cc0f
|
Increase database timeouts
- Partially fixes #580
|
2018-12-30 22:10:36 +01:00 |
|
croneter
|
e4cb07df68
|
Close DB connections while caching images
- Partially fixes #580
|
2018-12-30 21:30:08 +01:00 |
|
croneter
|
2dff87dc4b
|
Leia: fix resetting of videoplayer autoplay next item
- Fixes #466
|
2018-12-29 16:57:46 +01:00 |
|
croneter
|
134b76cb09
|
Ensure path replacement never contains trailing (back)slash
- Fixes #563
|
2018-12-29 16:13:59 +01:00 |
|
croneter
|
122bc56c31
|
Don't store identical show artwork for seasons
- Fixes #540
|
2018-12-29 15:35:17 +01:00 |
|
croneter
|
769f093492
|
Improve logging for seasons
|
2018-12-29 15:15:56 +01:00 |
|
croneter
|
6aa1a09b56
|
Compatibility with Kodi 18 RC 4
|
2018-12-29 11:29:10 +01:00 |
|
croneter
|
dc369a0453
|
Remove obsolete code
|
2018-12-28 17:13:56 +01:00 |
|
croneter
|
6d8885fae9
|
Optimize code
|
2018-12-27 12:10:41 +01:00 |
|
croneter
|
a9cf7eb294
|
New setting to escape paths e.g. for HTTP direct paths
- Fixes #555
|
2018-12-27 12:08:18 +01:00 |
|
croneter
|
50686ae191
|
Fix database is locked
- Fixes #580
|
2018-12-25 19:12:49 +01:00 |
|
croneter
|
4ee828dfe9
|
Move function
|
2018-12-25 18:26:13 +01:00 |
|
croneter
|
6076da724b
|
Fix video resuming from old resume point
|
2018-12-25 18:13:50 +01:00 |
|
croneter
|
4fb4643ac0
|
Add-on paths: don't fail playback with an empty video
|
2018-12-24 17:44:52 +01:00 |
|
croneter
|
a9f51f9ac4
|
Faster way to initialize playlists on the Plex side
- Partially fixes #578
|
2018-12-24 17:06:01 +01:00 |
|
croneter
|
323a4482e5
|
Improve logging
|
2018-12-24 13:19:40 +01:00 |
|
croneter
|
e9f49be7f3
|
Fix PKC recreating playlists too often
|
2018-12-23 13:01:50 +01:00 |
|
croneter
|
db6a7ba9b4
|
Shutdown playlist sync if necessary
- Partially fixes #578
|
2018-12-23 11:12:47 +01:00 |
|
croneter
|
6950a3d979
|
Increase logging
|
2018-12-23 10:20:28 +01:00 |
|
croneter
|
b0563f5dcc
|
Beta version bump 2.5.7
|
2018-12-22 15:22:30 +01:00 |
|
croneter
|
6237d932d8
|
Improve Plex playQueue resiliance
- Partially fixes #566
|
2018-12-22 15:06:28 +01:00 |
|
croneter
|
16ff6a51f5
|
Increase database connection timeout when wiping
|
2018-12-22 14:33:52 +01:00 |
|
croneter
|
ff8bfd9523
|
Fix music DB not being wiped on database reset
- Fixes #575
|
2018-12-22 14:33:30 +01:00 |
|
croneter
|
79e4ff4509
|
Increase timeout for database connections
- Partially fixes #574
|
2018-12-22 14:20:56 +01:00 |
|
croneter
|
7966dd5ee4
|
Fix resume for episodes for add-on paths
|
2018-12-21 19:02:36 +01:00 |
|
croneter
|
512479e47e
|
Fix movies not showing up on switching PMS
|
2018-12-21 17:22:30 +01:00 |
|
croneter
|
825237dfed
|
Close sync dialog if video playback starts
|
2018-12-21 17:00:51 +01:00 |
|
croneter
|
519c9675ae
|
Finish full syncs during playbacks, don't start new ones
|
2018-12-21 16:53:53 +01:00 |
|
croneter
|
3b3d671f37
|
Remove obsolete import
|
2018-12-21 16:48:57 +01:00 |
|
croneter
|
5cf52aa2a3
|
Fix not all songs being synced
|
2018-12-21 16:33:31 +01:00 |
|
croneter
|
9b9d2be53d
|
Only marking full sync as successful if that is indeed the case
|
2018-12-21 16:27:59 +01:00 |
|
croneter
|
9087f27f2a
|
Optimize code
|
2018-12-21 16:03:56 +01:00 |
|
croneter
|
9a5239ab1d
|
Optimize code
|
2018-12-21 15:37:16 +01:00 |
|
croneter
|
8803d3353c
|
Fix some very few items not being synced
|
2018-12-21 15:36:14 +01:00 |
|
croneter
|
bd1b0cc533
|
Optimize code
|
2018-12-21 15:18:19 +01:00 |
|
croneter
|
5d6b8f1273
|
Fix many items not getting synced
|
2018-12-21 15:18:06 +01:00 |
|
croneter
|
9682d7a313
|
Return None as timestamp instead of 1970 timestamp
|
2018-12-20 12:52:45 +01:00 |
|
croneter
|
4fbcdcac7f
|
Fix episodes not being synced to due a missing season
- Partially fixes #566
|
2018-12-14 19:51:30 +01:00 |
|
croneter
|
48b08b4ba4
|
Fix ValueError during sync due to missing Plex timestamp
|
2018-12-14 19:38:34 +01:00 |
|
croneter
|
1c25441e99
|
Fix AttributeError when a playlist disappeared
- Should fix #568
|
2018-12-11 14:57:43 +01:00 |
|
croneter
|
1156a4efa1
|
Don't show sync messages while Kodi is playing something
- Fixes #570
|
2018-12-11 12:54:14 +01:00 |
|
croneter
|
b87ba4c753
|
Fix OperationalError and PKC not starting up
|
2018-12-10 20:32:59 +01:00 |
|
croneter
|
1a46664051
|
Fix permanent missing library items if PMS failed to send a single response
|
2018-12-10 20:00:48 +01:00 |
|
croneter
|
97d829779f
|
Fix OperationalError: enforce Kodi restart with clean DB once
- Fixes #570
|
2018-12-10 19:51:17 +01:00 |
|
croneter
|
d2e0479225
|
Fix switching PMS not recognizing when old PMS is selected
|
2018-12-10 19:19:46 +01:00 |
|
croneter
|
e0fbccabc8
|
Fix PKC not automatically connecting to changed PMS IP on startup
|
2018-12-10 07:39:40 +01:00 |
|
croneter
|
6eb36f0560
|
Remove message "Full library sync finished"
|
2018-12-10 07:35:46 +01:00 |
|
croneter
|
74e801cf4d
|
Remove cProfile program metrics measurements
|
2018-12-10 07:32:57 +01:00 |
|
croneter
|
edbb99b2e2
|
Fix a couple of issues related to episodes
- Hopefully fixes #566
|
2018-12-10 07:23:25 +01:00 |
|
croneter
|
d406843e78
|
Fix Plex sections not showing up or disappearing
|
2018-12-09 19:21:02 +01:00 |
|
croneter
|
3f173f9677
|
Force-Reboot Kodi immediately if sqlite PRAGMA WAL causes errors
|
2018-12-09 18:41:05 +01:00 |
|
croneter
|
22ea4a6a7c
|
Fix FutureWarning
|
2018-12-09 18:38:15 +01:00 |
|
croneter
|
8ed61410ab
|
Revert "Catch error if Kodi DB cannot be used in WAL mode"
This reverts commit e13273c5b8 .
|
2018-12-09 17:48:42 +01:00 |
|
croneter
|
e13273c5b8
|
Catch error if Kodi DB cannot be used in WAL mode
|
2018-12-09 17:29:58 +01:00 |
|
croneter
|
07174a39f3
|
Revert "Catch error if Kodi DB cannot be used in WAL mode"
|
2018-12-09 17:28:45 +01:00 |
|
croneter
|
3a73b9de44
|
Fix AttributeError
|
2018-12-09 17:23:43 +01:00 |
|
croneter
|
f13950590e
|
Increase database connection cache size
|
2018-12-09 17:19:16 +01:00 |
|
croneter
|
70cf483fe2
|
Do a Kodi library update after synching new/changed items
|
2018-12-09 16:16:26 +01:00 |
|
croneter
|
2baafa77bb
|
Shut down download threads as soon as they're done
|
2018-12-09 16:15:37 +01:00 |
|
croneter
|
aeda4d97ba
|
Remove obsolete code
|
2018-12-09 15:56:48 +01:00 |
|
croneter
|
adeeee7162
|
Fix wierd behavior upon switching to another PMS
|
2018-12-09 15:25:30 +01:00 |
|
croneter
|
1cc8cb7ad3
|
Force a full sync on switching Plex user
|
2018-12-09 14:36:13 +01:00 |
|
croneter
|
27d34167e9
|
Fix current sync progress for more than 2000 items
|
2018-12-09 14:23:01 +01:00 |
|
croneter
|
de90ab225f
|
Revert "Do not cache artwork vor Kodi 18 Leia or later"
This reverts commit 9cc731e18f .
|
2018-12-09 14:16:33 +01:00 |
|
croneter
|
866412a720
|
Catch error if Kodi DB cannot be used in WAL mode
|
2018-12-09 14:00:26 +01:00 |
|
croneter
|
9cc731e18f
|
Do not cache artwork vor Kodi 18 Leia or later
- Seems Kodi is doing a better job at it then PKC
- PKC caching could mess with Kodi threads trying to cache artwork that needs to show up immediately
|
2018-12-09 13:56:51 +01:00 |
|
croneter
|
c8405414d1
|
Add PKC settings status indication for caching
|
2018-12-09 13:52:26 +01:00 |
|
croneter
|
01bbaaa90a
|
Replace annoying sync message with PKC settings info
|
2018-12-09 13:45:09 +01:00 |
|
croneter
|
dac7cdd47e
|
Fix KeyError when synching playlists
- Should fix #568
|
2018-12-09 13:10:15 +01:00 |
|
croneter
|
4f750379f1
|
Fix ImportError for Plex Companion gdm issues
- Partially fixes #568
|
2018-12-09 13:07:36 +01:00 |
|
croneter
|
80414ea0d4
|
Optimize sqlite transactions
|
2018-12-09 13:04:27 +01:00 |
|
croneter
|
d33ba7e502
|
Rewire library sync
|
2018-12-09 13:02:08 +01:00 |
|
croneter
|
f6415ae444
|
Optimize code
|
2018-12-09 09:14:45 +01:00 |
|
croneter
|
1ab1f18e07
|
Fix PKC version being recorded several times
- Partially fixes #566
|
2018-12-03 07:59:25 +01:00 |
|
croneter
|
28e4561461
|
Fix OperationalError: near "WHERE": syntax error
- Partially fixes #566
|
2018-12-03 07:54:27 +01:00 |
|
croneter
|
1864adf151
|
Fix OSError on resetting the database
|
2018-12-02 17:46:35 +01:00 |
|
croneter
|
acc1b24480
|
Fix songs not appearing
|
2018-12-02 17:10:53 +01:00 |
|
croneter
|
260ff230c5
|
Don't check whether we need to delete "Artist" role for songs
|
2018-12-02 17:01:19 +01:00 |
|
croneter
|
64b8c522af
|
Don't fill discography table for Kodi 18
|
2018-12-02 17:00:13 +01:00 |
|
croneter
|
f2ca67c418
|
Fix strMusicBrainzAlbumID
|
2018-12-02 16:32:36 +01:00 |
|
croneter
|
0400eec0c9
|
Fix iOrder of song_genre table being None instead of 0
|
2018-12-02 16:16:21 +01:00 |
|
croneter
|
a55c0c6ecb
|
Add dateAdded for songs
|
2018-12-02 16:12:17 +01:00 |
|
croneter
|
59af1d09a3
|
Optimize code
|
2018-12-02 16:03:20 +01:00 |
|
croneter
|
8b3272aa7b
|
Fix FutureWarning
|
2018-12-02 16:02:46 +01:00 |
|
croneter
|
89aa7bc1d9
|
Fix user select dialog not opening
|
2018-12-02 15:59:05 +01:00 |
|
croneter
|
b3b1d64484
|
Increase logging
|
2018-12-02 15:56:59 +01:00 |
|
croneter
|
f20341b983
|
Fix Plex.tv login not showing up upon installation
|
2018-12-02 15:52:49 +01:00 |
|
croneter
|
bb88c24e11
|
Increase logging
|
2018-12-02 15:46:15 +01:00 |
|
croneter
|
fb3f1d4669
|
Kodi 18: Ensure that we're setting music scan flag correctly upon boot
- Should fix #561
|
2018-12-02 15:25:54 +01:00 |
|
croneter
|
3c0bb49fbf
|
Fix adding new album or artist to Plex in the background
|
2018-12-02 14:10:11 +01:00 |
|
croneter
|
e9f811f2cd
|
Ignore PMS messages related to set/collections
|
2018-12-02 13:20:18 +01:00 |
|
croneter
|
2b3366923a
|
Fix KeyError if a new set/collection is added to Plex
|
2018-12-02 13:19:13 +01:00 |
|
croneter
|
2e0d11a7bb
|
Kodi 18: fix playback report for trailers
|
2018-12-02 11:11:24 +01:00 |
|
croneter
|
861af0f170
|
Further optimize sync speed
|
2018-12-02 10:13:27 +01:00 |
|
croneter
|
7fce226d47
|
Fix items getting deleted on subsequent sync
|
2018-12-01 18:50:52 +01:00 |
|
croneter
|
056463da55
|
Revert "Attempt to fix items getting deleted on second sync"
This reverts commit 459bd72299 .
|
2018-12-01 18:43:47 +01:00 |
|
croneter
|
459bd72299
|
Attempt to fix items getting deleted on second sync
|
2018-12-01 18:43:42 +01:00 |
|
croneter
|
a776f940de
|
Remove obsolete code
|
2018-12-01 16:52:22 +01:00 |
|
croneter
|
d972594553
|
Optimize DB access using transactions
|
2018-12-01 12:19:15 +01:00 |
|
croneter
|
07cf25b324
|
Get section overview xml asynchronously
|
2018-12-01 11:14:12 +01:00 |
|
croneter
|
41bbdbc206
|
Dedicated method for creating new actor
|
2018-12-01 11:09:59 +01:00 |
|
croneter
|
79785d0400
|
Fix FutureWarning
|
2018-12-01 09:13:23 +01:00 |
|
croneter
|
abfb386e13
|
Fix FutureWarning
|
2018-12-01 09:05:45 +01:00 |
|
croneter
|
024e0e5e09
|
Fix Typo
|
2018-11-30 08:05:23 +01:00 |
|
croneter
|
5b22cbcd52
|
Fix crash on switching Kodi profile
- Should fix #559
- Cannot use cElementTree with Kodi/XBMC reliably 😞
|
2018-11-28 09:13:38 +01:00 |
|
croneter
|
061dcb77e0
|
Revert "Catch cElementTree TypeError"
This reverts commit a10e3925d5 .
|
2018-11-28 08:19:21 +01:00 |
|
croneter
|
a10e3925d5
|
Catch cElementTree TypeError
- Hopefully fixes #559
|
2018-11-26 20:44:36 +01:00 |
|
croneter
|
36d14ffdcf
|
Optimize join()
|
2018-11-26 19:47:41 +01:00 |
|
croneter
|
9261a8b143
|
Increase queue size
|
2018-11-26 19:40:56 +01:00 |
|
croneter
|
ccdb76709e
|
Fix OperationalError: Database is locked
|
2018-11-26 19:40:43 +01:00 |
|
croneter
|
0e335dd35e
|
Fix MRO
|
2018-11-26 18:11:34 +01:00 |
|
croneter
|
55ec381bfe
|
Fix sync not correctly being canceled
|
2018-11-26 17:58:15 +01:00 |
|
croneter
|
752a57c15e
|
Fix OperationalError: no such table tvshows
|
2018-11-26 17:33:59 +01:00 |
|
croneter
|
4515559dff
|
Fix AttributeError
|
2018-11-26 17:32:21 +01:00 |
|
croneter
|
a0e14ca2cb
|
Fix TypeError
|
2018-11-26 17:23:35 +01:00 |
|
croneter
|
a7243d813d
|
Force a full sync after manually changing PMS IP
|
2018-11-26 16:59:22 +01:00 |
|
croneter
|
0146c2e2b6
|
Force full sync on changing PMS
|
2018-11-26 16:58:25 +01:00 |
|
croneter
|
1f5eae8267
|
Fix PKC not connecting due to changed IP
|
2018-11-26 16:56:39 +01:00 |
|
croneter
|
27b2d4cbf2
|
Less logging
|
2018-11-26 16:17:03 +01:00 |
|
croneter
|
bd2c467183
|
Fix PKC crashing due to a restricted Python environment
|
2018-11-26 15:44:12 +01:00 |
|
croneter
|
6219ba6834
|
Fix TypeError
|
2018-11-26 07:58:12 +01:00 |
|
croneter
|
fa1dcdffaa
|
Fix TypeErrors
|
2018-11-26 07:56:27 +01:00 |
|
croneter
|
b0a68b255e
|
Fix NameError
|
2018-11-26 07:54:32 +01:00 |
|
croneter
|
a8fbcc6be4
|
Fix AttributeError
|
2018-11-26 07:50:38 +01:00 |
|
croneter
|
fada7f707f
|
Move playback startup from thread to task
|
2018-11-26 07:48:45 +01:00 |
|
croneter
|
030c381f65
|
Ensure that only one thread accesses settings.xml
Avoids corruption of settings.xml
|
2018-11-26 07:35:19 +01:00 |
|
croneter
|
7d2f785a8d
|
Move detection of context menu to main loop
- One thread less!
|
2018-11-26 07:31:36 +01:00 |
|
croneter
|
c4156cb865
|
Fix TypeError upon deactivating screensaver
|
2018-11-26 07:25:50 +01:00 |
|
croneter
|
a149d8de27
|
Fix widgets not receiving PKC information
|
2018-11-26 07:19:34 +01:00 |
|
croneter
|
0fe2de1705
|
Fix resetting of databases crashing
|
2018-11-25 21:07:25 +01:00 |
|
croneter
|
ded8a59dd7
|
Fix adding misisng artist on adding an album
|
2018-11-25 20:57:16 +01:00 |
|
croneter
|
202d33d7c0
|
Fix video library sometimes not updating
|
2018-11-25 20:36:54 +01:00 |
|
croneter
|
2ceb0cd7a2
|
Fix sync error when only an item is deleted in section
|
2018-11-25 20:31:40 +01:00 |
|
croneter
|
69e65f5ca6
|
Fix KeyError
|
2018-11-25 20:28:22 +01:00 |
|
croneter
|
697b66167c
|
Fix deleting entire library sections
|
2018-11-25 20:15:38 +01:00 |
|
croneter
|
90e13cb8ee
|
Fix TypeError upon removing entire section
|
2018-11-25 19:53:42 +01:00 |
|
croneter
|
67807d3eb7
|
Remove obsolete import
|
2018-11-25 19:50:50 +01:00 |
|
croneter
|
36eb5e9646
|
Force full sync after Plex user switch
|
2018-11-25 19:49:47 +01:00 |
|
croneter
|
b1f04c85a6
|
Code cleanup
|
2018-11-25 19:46:34 +01:00 |
|
croneter
|
3f42e24b7d
|
Fix PKC not really starting upon first boot
|
2018-11-25 19:28:07 +01:00 |
|
croneter
|
81de319715
|
Fix more AttributeErrors
|
2018-11-25 17:29:21 +01:00 |
|
croneter
|
09f0492fa4
|
Fix AttributeErrors
|
2018-11-25 17:27:22 +01:00 |
|
croneter
|
9fd4a022a2
|
Fix RuntimeError: maximum recursion depth exceeded
|
2018-11-25 17:23:31 +01:00 |
|
croneter
|
a9bed6a3f8
|
Fix removal of movies
|
2018-11-25 17:21:41 +01:00 |
|
croneter
|
7670aa7a14
|
Fix OperationalError: Database is locked when video was deleted
|
2018-11-25 17:21:32 +01:00 |
|
croneter
|
6dc436da91
|
Rewire PKC startup and authentication mechanism
|
2018-11-25 17:03:19 +01:00 |
|
croneter
|
6d450b2be9
|
Fix TypeError
|
2018-11-24 14:06:21 +01:00 |
|
croneter
|
fb364a2275
|
Safety net for cleaning Kodi file table
|
2018-11-24 09:56:30 +01:00 |
|
croneter
|
3e754dfd1b
|
Fix AttributeError
|
2018-11-24 09:54:57 +01:00 |
|
croneter
|
69b7f91542
|
New class to run functions as tasks
|
2018-11-24 09:53:37 +01:00 |
|
croneter
|
c25d6bee48
|
Clarify code
|
2018-11-24 09:52:36 +01:00 |
|
croneter
|
f32b5c1e71
|
Set fix limit of 6 worker threads
|
2018-11-24 09:52:25 +01:00 |
|
croneter
|
45fb84e697
|
Remove obsolete import
|
2018-11-23 17:25:28 +01:00 |
|
croneter
|
e87edb07f0
|
Fix PKC playQueue manager not picking up Plex ids correctly
|
2018-11-23 09:05:51 +01:00 |
|
croneter
|
8110c104f1
|
Less logging
|
2018-11-23 08:54:43 +01:00 |
|
croneter
|
02475bc8a6
|
Increase logging
|
2018-11-23 08:54:09 +01:00 |
|
croneter
|
5422b6d233
|
Fix AttributeError
|
2018-11-23 08:42:29 +01:00 |
|
croneter
|
3e41f63c62
|
Move xbmc.Player()
|
2018-11-23 08:41:05 +01:00 |
|
croneter
|
1b11c55d84
|
Fix AttributeError
|
2018-11-22 17:58:56 +01:00 |
|
croneter
|
d49ea8b383
|
Optimize code
|
2018-11-22 17:46:42 +01:00 |
|
croneter
|
9d6f729b21
|
Fix OperationalError: database is locked
|
2018-11-22 08:29:14 +01:00 |
|
croneter
|
d2922d61f5
|
Fix AttributeError
|
2018-11-22 08:04:41 +01:00 |
|
croneter
|
14c135a634
|
Fix OperationalError: no such column
|
2018-11-22 07:54:54 +01:00 |
|
croneter
|
5ad5bc1681
|
Fix SyntaxError
|
2018-11-22 07:46:15 +01:00 |
|
croneter
|
dcb10249a3
|
PEP8
|
2018-11-22 07:45:57 +01:00 |
|
croneter
|
7387b89d28
|
Fix OperationalError
|
2018-11-22 07:44:48 +01:00 |
|
croneter
|
fddd374b79
|
Fix some TypeErrors
|
2018-11-21 20:20:06 +01:00 |
|
croneter
|
c8b0e203ef
|
Fix ImportError
|
2018-11-21 07:59:35 +01:00 |
|
croneter
|
ce191f6eeb
|
Fix ProgrammingError: Cannot operate on a closed database
|
2018-11-20 19:23:42 +01:00 |
|
croneter
|
45b3c0e3f5
|
Fix potential TypeError if setting value is missing
|
2018-11-20 19:14:11 +01:00 |
|
croneter
|
0d22b72112
|
Fix TypeError
|
2018-11-20 19:10:26 +01:00 |
|
croneter
|
37ed6c2347
|
Remove obsolete code
|
2018-11-20 19:10:12 +01:00 |
|
croneter
|
b35cec106a
|
Fix AttributeError due to missing method
|
2018-11-20 19:06:10 +01:00 |
|
croneter
|
f835e84d80
|
Fix context managers swallowing exceptions
|
2018-11-20 18:57:54 +01:00 |
|
croneter
|
5305d7bdfd
|
Fix Syntax Error
|
2018-11-20 18:46:25 +01:00 |
|
croneter
|
2aadcbd198
|
Fix AttributeError
|
2018-11-20 18:39:18 +01:00 |
|
croneter
|
d668b3e640
|
Warn user and stop sync if crash occurs
|
2018-11-20 18:28:34 +01:00 |
|
croneter
|
0f740b1a02
|
Dedicated DB method to add video uniqueid
|
2018-11-20 18:24:43 +01:00 |
|
croneter
|
70a6ee5ed6
|
Dedicated DB method to add video rating_id
|
2018-11-20 18:18:52 +01:00 |
|
croneter
|
3acaad5663
|
Fix exceptions not being raised during sync
|
2018-11-20 18:08:51 +01:00 |
|
croneter
|
f68b4c8820
|
Fix AttributeError
|
2018-11-20 17:24:47 +01:00 |
|
croneter
|
f2df4fade6
|
Fix AttributeError
|
2018-11-20 17:17:52 +01:00 |
|
croneter
|
6fe0e23f53
|
Interrupt sleep if Kodi exits. Use Monitor's Player()
|
2018-11-20 16:58:25 +01:00 |
|
croneter
|
fff791e3d1
|
Remove obsolete code
|
2018-11-20 16:21:30 +01:00 |
|
croneter
|
e5c723d14f
|
Remove obsolete code
|
2018-11-19 08:51:51 +01:00 |
|
croneter
|
f9f7b74ef3
|
Add user error message if Plex.tv does not provide users
|
2018-11-19 08:48:51 +01:00 |
|
croneter
|
a4dd5d8711
|
Prompt to login to plex.tv if no token available
|
2018-11-19 08:43:12 +01:00 |
|
croneter
|
3a514365ee
|
Fix logging out also deleting Plex token
|
2018-11-19 08:17:49 +01:00 |
|
croneter
|
a045063769
|
Rather big change of PKC's plumbing
|
2018-11-18 14:59:17 +01:00 |
|
croneter
|
b2615c19bd
|
Fix fanart download message showing up too often
|
2018-11-13 16:30:05 +01:00 |
|
croneter
|
a566dc566d
|
Ensure that artwork caching thread suspends on STOP_SYNC
|
2018-11-13 16:02:54 +01:00 |
|
croneter
|
5c7968abdb
|
Ensure that fanart sync closes DB connection during playback
|
2018-11-13 15:01:31 +01:00 |
|
croneter
|
789b214b50
|
Suspend fanart sync during playback
|
2018-11-13 14:54:54 +01:00 |
|
croneter
|
c168981a5b
|
Optimize code
|
2018-11-13 14:51:10 +01:00 |
|
croneter
|
0c9e544e9e
|
Suspend fanart sync if another sync is running
|
2018-11-13 14:48:25 +01:00 |
|
croneter
|
40e3a852a2
|
Fix AttributeError for songs
|
2018-11-13 14:42:48 +01:00 |
|
croneter
|
5a30b1c86a
|
Fix download generator hanging
|
2018-11-13 14:38:38 +01:00 |
|
croneter
|
4ff2a8cb18
|
Try deleting temp DB files on DB wipe
|
2018-11-13 09:28:19 +01:00 |
|
croneter
|
e10d92cecb
|
Cleanup music sync code
|
2018-11-13 09:02:34 +01:00 |
|
croneter
|
aafba74ccd
|
PEP8
|
2018-11-13 07:47:37 +01:00 |
|
croneter
|
2d5e22c146
|
Update sync progress string
|
2018-11-12 16:37:56 +01:00 |
|
croneter
|
52dfd49080
|
More logging
|
2018-11-11 20:37:40 +01:00 |
|
croneter
|
bd1c2c3a0a
|
More indicees for Kodi DB to increase sync speed
|
2018-11-11 20:13:10 +01:00 |
|
croneter
|
51745fd838
|
Optimize code
|
2018-11-11 20:11:19 +01:00 |
|
croneter
|
dfde9533d8
|
More indicees for Plex DB
|
2018-11-11 19:32:05 +01:00 |
|
croneter
|
ead799d38b
|
More fixes
|
2018-11-11 19:22:32 +01:00 |
|
croneter
|
bc7fc4db1b
|
Fixes to XML download iterator
|
2018-11-11 17:48:11 +01:00 |
|