Commit graph

268 commits

Author SHA1 Message Date
croneter
b50414ebd4
Merge pull request #1214 from croneter/fix-ValueError
Fix ValueError: invalid literal for int() with base 10 during show sync
2020-09-19 20:44:44 +02:00
croneter
06cc2b6cde Fix ValueError: invalid literal for int() with base 10 during show sync 2020-09-19 14:40:00 +02:00
croneter
61e4056a13 Fix UnboundLocalError when certain Plex sections are deleted or un-synced 2020-07-29 17:42:04 +02:00
croneter
db48ffb419 Fix rare sync crash when queue was full 2020-03-21 14:22:43 +01:00
croneter
64af58172b Fix yet another rare but annoying bug where PKC becomes unresponsive during sync 2020-02-17 19:15:06 +01:00
croneter
b56d67d3fa
Merge pull request #1115 from croneter/fix-websockets
Fix PKC background sync not working in some cases
2020-02-15 18:45:59 +01:00
croneter
6f553e5c94 Fix PKC background sync not working in some cases 2020-02-15 18:40:14 +01:00
croneter
51d1538f95 Rewire the ProcessingQueue to ensure that we can exhaust it completely and don't get stuck 2020-02-15 17:47:17 +01:00
croneter
73ffb706f8 Make sure we're receiving valid item from the processing queue in case we should be aborting sync 2020-02-15 17:47:17 +01:00
croneter
a4a0b075bf Increase logging for the number of items we actually process 2020-02-15 17:47:17 +01:00
croneter
9a0ce533ee Rename method 2020-02-15 17:47:17 +01:00
croneter
ddd356deda Refactor code 2020-02-15 17:47:16 +01:00
croneter
0255551ea9 Don't spin up 2 separate threads but use the thread pool 2019-12-20 14:17:49 +01:00
croneter
b611a66ff5 Fix sync getting stuck 2019-12-13 14:00:46 +01:00
croneter
58a86d34f1 Clarify class description 2019-12-13 14:00:46 +01:00
croneter
6510d5e399 Fix display of item numbers during playstate sync 2019-12-13 14:00:46 +01:00
croneter
b55b22efb0 Clarify variables 2019-12-13 14:00:46 +01:00
croneter
136af95351 Speed up and simplify sync of playstates 2019-12-13 14:00:40 +01:00
croneter
654748218e Get section iterators in a dedicated thread to gain speed 2019-12-13 14:00:40 +01:00
croneter
70b7a44514 Avoid duplicate code 2019-12-13 14:00:39 +01:00
croneter
2744b9da7e Copy entire plex.db to avoid db-locks entirely 2019-12-08 10:09:57 +01:00
croneter
a87dfa0a7a Don't use a dedicated thread to get section generators 2019-12-08 10:09:57 +01:00
croneter
8f86f43a93 Rewire library sync to speed it up and fix sync getting stuck in rare cases 2019-12-08 10:09:56 +01:00
croneter
c85e1e2bd0 Optimize threads by using events instead of a polling mechanism. Fixes PKC become unresponsive, e.g. when switching users 2019-11-30 13:48:51 +01:00
croneter
24ec8dd8e4
Merge pull request #1057 from croneter/increase-batch
Increase batch size for library sync from 500 to 2000 to increase sync speed
2019-11-14 17:20:24 +01:00
croneter
1654c3175e
Merge pull request #1056 from croneter/optimize
Optimize some code
2019-11-14 17:20:06 +01:00
croneter
2fcbc1f9b7 Optimize code 2019-11-13 17:55:44 +01:00
croneter
7a8cec5968 Increase batch size for library sync from 500 to 2000 to increase sync speed 2019-11-13 17:53:46 +01:00
croneter
f67ff2f136 Fix recently added albums sort order (you will have to reset the Kodi database manually) 2019-11-13 17:49:16 +01:00
croneter
65a921c3cc Fix PKC background sync synching items to Kodi even though entire section should not be synched 2019-08-29 10:08:01 +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
a43e0801b4 Rename video nodes for ondeck 2019-07-14 07:46:09 +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
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
a463bd521f Add an additional, faster On Deck node for movies 2019-06-14 18:07:19 +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
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
1cbd65861c Add additional info dialog for PKC synching playlists 2019-06-12 12:18:09 +02:00
croneter
a46cb731cf Refactor Plex API 2019-06-12 11:53:41 +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
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
ab8089d3b1 Rename section.section_id to section.id 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
9b45a84d7e Correctly clear window variables e.g. on user switch 2019-04-20 17:28:43 +02:00