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 |
|
croneter
|
ccdb76709e
|
Fix OperationalError: Database is locked
|
2018-11-26 19:40:43 +01:00 |
|
croneter
|
55ec381bfe
|
Fix sync not correctly being canceled
|
2018-11-26 17:58:15 +01:00 |
|
croneter
|
4515559dff
|
Fix AttributeError
|
2018-11-26 17:32:21 +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
|
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
|
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
|
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
|
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
|
fddd374b79
|
Fix some TypeErrors
|
2018-11-21 20:20:06 +01:00 |
|
croneter
|
ce191f6eeb
|
Fix ProgrammingError: Cannot operate on a closed database
|
2018-11-20 19:23:42 +01:00 |
|
croneter
|
d668b3e640
|
Warn user and stop sync if crash occurs
|
2018-11-20 18:28:34 +01:00 |
|
croneter
|
3acaad5663
|
Fix exceptions not being raised during sync
|
2018-11-20 18:08:51 +01:00 |
|
croneter
|
6fe0e23f53
|
Interrupt sleep if Kodi exits. Use Monitor's Player()
|
2018-11-20 16:58:25 +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
|
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
|
0c9e544e9e
|
Suspend fanart sync if another sync is running
|
2018-11-13 14:48:25 +01:00 |
|
croneter
|
2d5e22c146
|
Update sync progress string
|
2018-11-12 16:37:56 +01:00 |
|
croneter
|
bc7fc4db1b
|
Fixes to XML download iterator
|
2018-11-11 17:48:11 +01:00 |
|
croneter
|
8535852699
|
Optimize code
|
2018-11-11 12:53:49 +01:00 |
|
croneter
|
54113a715b
|
Fix AttributeError
|
2018-11-11 09:28:18 +01:00 |
|
croneter
|
afedf03ac9
|
New method for DB commit
|
2018-11-11 09:23:51 +01:00 |
|
croneter
|
6de47490c3
|
Revert "Wrap Kodi DB transactions explicitly"
This reverts commit be45d914d3 .
|
2018-11-10 16:18:22 +01:00 |
|
croneter
|
be45d914d3
|
Wrap Kodi DB transactions explicitly
|
2018-11-10 16:09:06 +01:00 |
|
croneter
|
da7d871af8
|
Add Plex type to sync progress bar
|
2018-11-09 15:05:17 +01:00 |
|
croneter
|
d16da6fa6f
|
Fix OperationalError: database is locked
|
2018-11-09 11:19:32 +01:00 |
|
croneter
|
76728d7319
|
Pass plex_type with section
|
2018-11-09 09:10:22 +01:00 |
|
croneter
|
5b85b2b71a
|
Enable cProfiling for full sync
|
2018-11-09 09:08:04 +01:00 |
|
croneter
|
4e1f975647
|
Fix ValueError for queue on Kodi exit
|
2018-11-09 09:07:46 +01:00 |
|
croneter
|
0b81fcd39c
|
Fix sync progress
|
2018-11-09 09:05:14 +01:00 |
|
croneter
|
7830a0e0e3
|
Let full_sync finish gracefully on Kodi exit
|
2018-11-09 08:56:57 +01:00 |
|
croneter
|
e37223f016
|
Fix full_sync advancing before a section was synced
|
2018-11-09 08:44:05 +01:00 |
|
croneter
|
a16eae143a
|
Rewire kodi database access
|
2018-11-08 21:22:16 +01:00 |
|
croneter
|
8ef0af3ec7
|
Commit DB changes for every 200 items
|
2018-11-07 10:41:40 +01:00 |
|
croneter
|
0db29dd568
|
Get movie set information asynchronously
|
2018-11-07 10:37:32 +01:00 |
|
croneter
|
923c413921
|
Add fallback if checksum updatedAt is missing
|
2018-11-07 07:45:19 +01:00 |
|
croneter
|
440f399917
|
Fix TypeError
|
2018-11-06 14:13:28 +01:00 |
|
croneter
|
41ec923a30
|
Fix KeyErrors
|
2018-11-06 14:08:14 +01:00 |
|
croneter
|
3123af6426
|
Use a dedicated full sync thread manager
- Prevents threads from restarting all the time
|
2018-11-06 11:17:21 +01:00 |
|
croneter
|
7180595e05
|
Correctly show the current sync item number
|
2018-11-05 18:31:59 +01:00 |
|
croneter
|
bc1ad1d998
|
Prevent error message upon DB reset
|
2018-11-05 18:31:26 +01:00 |
|
croneter
|
07c4d64a84
|
Rewire artwork caching
|
2018-11-05 18:00:01 +01:00 |
|
croneter
|
30d85eebc0
|
Fix FanartThread isSuspended
|
2018-11-05 14:34:34 +01:00 |
|
croneter
|
8205e19668
|
Let the Kodi library update after a full sync
|
2018-11-05 13:53:57 +01:00 |
|
croneter
|
0536a7c151
|
Don't spawn a separate full sync thread
|
2018-11-05 13:52:31 +01:00 |
|
croneter
|
b7a6a58da3
|
Fix some more errors: Item not yet synced
|
2018-11-05 12:28:05 +01:00 |
|
croneter
|
263b7d7684
|
Fix TypeError
|
2018-11-05 12:24:18 +01:00 |
|
croneter
|
d2dd631b4b
|
Fix some "Item not yet synced" errors for playstate updates
|
2018-11-05 12:19:08 +01:00 |
|
croneter
|
c9b6e67771
|
Optimize music sync
|
2018-11-05 09:39:33 +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
|
bfef7a346e
|
Refresh progress bar for every single item
|
2018-11-03 17:18:25 +01:00 |
|
croneter
|
b3eeabc9ad
|
Fix AttributeError: __exit__
|
2018-11-03 17:04:24 +01:00 |
|
croneter
|
4cbad1f1f7
|
Enable notify for crashes for fanart
|
2018-11-03 16:53:56 +01:00 |
|
croneter
|
5673abc19b
|
Rewire fanart sync
|
2018-11-03 10:36:37 +01:00 |
|
croneter
|
835c047fb1
|
Rename logging
|
2018-11-01 15:43:43 +01:00 |
|