Commit graph

275 commits

Author SHA1 Message Date
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
croneter
453098ef4f Fix last played node value for playcount 2019-04-20 14:16:54 +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
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
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
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
bca657ab08
Merge pull request #807 from croneter/fix-unicode
Fixes to unicode
2019-03-30 17:50:30 +01:00
croneter
aadb22e531 Fix FutureWarning 2019-03-30 17:34:51 +01:00
croneter
1ac19109ba Turn urllib and urlparse unicode-safe 2019-03-30 17:32:42 +01:00
croneter
c996d51085 Fix video node path for widgets 2019-03-21 20:22:41 +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
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
c6e635b39b Fix float() argument must be a string or a number 2019-03-16 17:34:47 +01:00
croneter
5b7595c681 Rework widgets and listitems 2019-03-10 18:00:04 +01:00
croneter
823f6b6e3f Fix KeyError: u'kodi_type' 2019-02-16 12:17:56 +01:00
croneter
a9bfae2b13
Merge pull request #715 from croneter/codacy
Implement Codacy suggestions
2019-02-08 15:20:11 +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
1787e51c7c Zentrally register threads and introduce a way to wait for their suspension 2019-02-06 14:19:10 +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
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
76004f1aa6 Improve logging 2019-02-04 16:15:58 +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
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
6c8b17d7b8 Fix PKC crashing on Xbox 2019-02-02 15:58:07 +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
3a9fcacd5c Fix PKC not deleting all the items it should 2019-02-02 11:24:55 +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
c388789fbd Add error notification is full sync is unsuccessful 2019-01-30 18:05:28 +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
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
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
652a43e05c Reduce batch size for processing playstate to 10% 2019-01-28 18:11:44 +01:00
croneter
a3d2c5530c Fix OperationalError: no such table on database reset 2019-01-27 13:31:59 +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
04da3572cb Fix rare KeyError if user is playing something somewhere else 2019-01-19 09:22:00 +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
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
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
1ab9ff7790 Catch sqlite OperationalError for websocket messages
- Hopefully fixes #580
2019-01-01 12:51:33 +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
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
8803d3353c Fix some very few items not being synced 2018-12-21 15:36:14 +01:00
croneter
5d6b8f1273 Fix many items not getting synced 2018-12-21 15:18:06 +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
74e801cf4d Remove cProfile program metrics measurements 2018-12-10 07:32:57 +01:00
croneter
d406843e78 Fix Plex sections not showing up or disappearing 2018-12-09 19:21:02 +01:00
croneter
3a73b9de44 Fix AttributeError 2018-12-09 17:23:43 +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
27d34167e9 Fix current sync progress for more than 2000 items 2018-12-09 14:23:01 +01:00
croneter
d33ba7e502 Rewire library sync 2018-12-09 13:02:08 +01:00
croneter
e9f811f2cd Ignore PMS messages related to set/collections 2018-12-02 13:20:18 +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
07cf25b324 Get section overview xml asynchronously 2018-12-01 11:14:12 +01:00
croneter
abfb386e13 Fix FutureWarning 2018-12-01 09:05:45 +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