Commit graph

146 commits

Author SHA1 Message Date
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
1ac19109ba Turn urllib and urlparse unicode-safe 2019-03-30 17:32:42 +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
3b18a92ab4 Fix PKC becoming unresponsive 2019-02-08 12:58:53 +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
2c77bd28af Implement Codacy suggestions 2019-02-03 20:22:41 +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
e4cb07df68 Close DB connections while caching images
- Partially fixes #580
2018-12-30 21:30:08 +01:00
croneter
c8405414d1 Add PKC settings status indication for caching 2018-12-09 13:52:26 +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
a566dc566d Ensure that artwork caching thread suspends on STOP_SYNC 2018-11-13 16:02:54 +01:00
croneter
a16eae143a Rewire kodi database access 2018-11-08 21:22:16 +01:00
croneter
07c4d64a84 Rewire artwork caching 2018-11-05 18:00:01 +01:00
croneter
e761567592 Rewire image caching thread 2018-11-05 15:23:51 +01:00
croneter
03fb6506f4 PEP8 2018-11-05 14:18:52 +01:00
croneter
0d5f59ab84 Less logging 2018-11-05 13:02:11 +01:00
croneter
b29b80ebe3 Less logging 2018-11-05 13:01:22 +01:00
croneter
85c5e15b91 Less logging 2018-11-03 17:10:14 +01:00
croneter
e3328ad061 Switch to Plex style dialogs 2018-09-18 16:26:40 +02:00
croneter
6666d3fc3a Fix AttributeError on forcing texture caching 2018-09-17 18:13:33 +02:00
croneter
0933dea407 Simplify code 2018-09-04 16:54:06 +02:00
croneter
4e0429fcc9 Fix switching to __future__ module
- Fixes #507
2018-07-12 18:46:02 +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
1234f61fc0 Fix encoding of file and path operations 2018-06-23 18:25:18 +02:00
Croneter
c440dc7779 Switch to absolute imports 2018-06-21 19:24:37 +02:00
Croneter
06f9f6a7a5 Fix PKC add-on setting user changes not saving 2018-05-30 07:53:30 +02:00
Croneter
84c2aa7fa0 Reduce CPU strain for artwork caching progress
- Fixes #477
2018-05-18 15:59:26 +02:00
croneter
c63adaf2e3 Improve artwork caching counter in PKC settings 2018-05-15 20:46:16 +02:00
Croneter
8b1d04af79 Revert "Increase timeout between syncing images"
This reverts commit 0807ce5314.
2018-05-14 17:56:39 +02:00
croneter
5241baef28 Show FanartTV lookup progress in PKC settings 2018-05-13 15:22:03 +02:00
croneter
d16296395f Show caching progress for Plex images in the PKC settings 2018-05-13 14:20:39 +02:00
Croneter
952261fb5a Add some comments 2018-04-30 14:18:14 +02:00
Croneter
e1c7ab5b04 PEP8 2018-04-30 14:16:45 +02:00
Croneter
0807ce5314 Increase timeout between syncing images 2018-04-29 14:39:36 +02:00
Croneter
f87a631674 Revert "Increase timeout between syncing images"
This reverts commit 62d6c8fe45.
2018-04-29 14:39:08 +02:00
Croneter
1ca2bdba79 Less logging 2018-04-29 14:16:56 +02:00
Croneter
62d6c8fe45 Increase timeout between syncing images
- Partially fixes #457
2018-04-29 14:14:31 +02:00
Croneter
d3ef80ed22 Cache missing posters and backgrounds/fanart on Kodi startup
- Partially fixes #457
2018-04-29 14:12:39 +02:00
Croneter
51f47452f2 Add toggle to deactivate image caching during playback
- Partially fixes #451 - you can now disable image caching during playback
2018-04-29 14:11:03 +02:00
croneter
8272a67b5f Artwork overhaul part 2 2018-03-04 13:39:18 +01:00
croneter
688023c906 Remove obsolete import 2018-03-02 07:36:45 +01:00
croneter
ae15030bb5 Less logging 2018-02-28 17:42:21 +01:00
croneter
5f7426da1c Less logging 2018-02-26 10:28:48 +01:00
croneter
1a77427591 Optimize code 2018-02-25 18:06:33 +01:00
croneter
e02e9bcd1f Rename thread methods 2018-02-11 14:57:39 +01:00
croneter
ca8ad96a05 Prettify 2018-02-11 12:59:04 +01:00
croneter
2d8bd3051a Fix PKC restoring cache directories 2018-01-28 17:36:36 +01:00
Michal Kuncl
db0d629302 Restore cache directories after deleting. Fixes #392 2018-01-23 21:39:55 +01:00