Commit graph

146 commits

Author SHA1 Message Date
tomkat83
39014fe7f4 Move kodi webserver details to state.py 2017-12-09 15:41:07 +01:00
tomkat83
cdd38c6ef7 Optimize some imports 2017-12-09 14:35:08 +01:00
croneter
f2bc95813a Centralize Kodi json rpc 2017-12-08 19:43:06 +01:00
croneter
27d356e3c5 Don't quit sync threads if path wasn't found
- Partially fixes #333
2017-08-19 14:50:28 +02:00
tomkat83
ad5744f435 Fix for Windows usernames with non-ASCII chars
- Fixes #286
2017-05-20 20:24:47 +02:00
tomkat83
06727fca71 Fix thread methods 2017-05-17 13:55:24 +02:00
tomkat83
a63b90dd5f Revert "Revert "Code refactoring: avoid window vars in loops""
This reverts commit b6197231fa.
2017-05-17 10:09:50 +02:00
tomkat83
b6197231fa Revert "Code refactoring: avoid window vars in loops"
This reverts commit 6629fb41e3.
2017-05-14 16:41:22 +02:00
tomkat83
7d6310601c Fix possible OperationalErrors 2017-05-12 13:25:46 +02:00
tomkat83
6629fb41e3 Code refactoring: avoid window vars in loops 2017-05-12 12:52:12 +02:00
tomkat83
fd84d97a46 Use xbmcvfs exists instead of os.path.exists
- Partially fixes #296
2017-05-11 19:26:13 +02:00
tomkat83
b2cd6e1156 Avoid xbmcvfs entirely; use encoded paths
- Fixes #286
2017-05-03 20:30:33 +02:00
tomkat83
150b45d5cc Hotfix: Revert Cache missing artwork on PKC startup
- Should fix #239, #269
- Seems like another Kodi process messes with the artwork caches,
delaying the PKC one for minutes
2017-04-12 18:52:54 +02:00
tomkat83
7276a195bf Fix KeyError 2017-02-26 18:25:41 +01:00
tomkat83
307e8e5b61 More explicit coding 2017-01-24 20:18:28 +01:00
tomkat83
74433f7afd Shutdown artwork thread correctly 2017-01-24 20:12:46 +01:00
tomkat83
a716f8a2c1 Clean out entrypoint.py 2017-01-24 19:59:38 +01:00
tomkat83
81747a668a Cache missing artwork on PKC startup 2017-01-20 18:41:56 +01:00
tomkat83
6049ec468a Fixes to artwork 2017-01-20 17:32:28 +01:00
tomkat83
e818e23149 Rewire image cache thread to service.py 2017-01-20 17:21:51 +01:00
tomkat83
3616c25a98 Don't cache actor artwork
- It takes too long and takes up too much memory
2017-01-20 16:30:37 +01:00
tomkat83
44b98e5694 Revert "Also cache actor images on manual caching"
This reverts commit 5d2f57aec1.
2017-01-20 16:23:05 +01:00
tomkat83
5d2f57aec1 Also cache actor images on manual caching 2017-01-20 16:17:21 +01:00
tomkat83
8e6d94129b Fix keyError for url-encoding 2017-01-08 11:38:37 +01:00
tomkat83
ad8b7c7d90 Merge Master 2016-12-20 16:13:19 +01:00
tomkat83
d71f6e8887 Remove obsolete lock 2016-10-18 20:32:16 +02:00
tomkat83
ec7d4efc80 Remove obsolete import 2016-10-18 20:01:41 +02:00
tomkat83
23384c5d9e Fix art not caching efficiently 2016-10-17 23:15:05 +02:00
tomkat83
a2e2d2f5f8 Revert "Log art caching"
This reverts commit 2b363b7a30.
2016-10-17 22:55:32 +02:00
tomkat83
2b363b7a30 Log art caching 2016-10-17 22:50:36 +02:00
tomkat83
1a4660571b Only start downloading art AFTER sync completed
- Will speed up sync
2016-10-17 22:48:01 +02:00
tomkat83
cd65a93989 Fix Kodi crashing on low powered devices
- Fixes #126
2016-10-17 22:34:15 +02:00
tomkat83
ca3a06affc New setting: sleep between art downloads 2016-09-17 15:39:20 +02:00
tomkat83
25a6d82022 Prevent infinite loops after requesting something 2016-09-17 15:17:01 +02:00
tomkat83
77d1df553c More logging 2016-09-17 14:49:57 +02:00
tomkat83
703f2fb37d Fix setting to cache all textures to Kodi 2016-09-17 14:48:40 +02:00
tomkat83
ca6bb4e8ca Rewiring of caching - daemon instead of threads 2016-09-17 14:02:50 +02:00
tomkat83
cd14127233 Revert "Revert "Dedicated art downloading queue""
This reverts commit 6621cc5a8d.
2016-09-17 11:24:12 +02:00
tomkat83
c0d91507c0 Revert "Optimize image_cache_thread"
This reverts commit afb0960260.
2016-09-17 11:24:06 +02:00
tomkat83
afb0960260 Optimize image_cache_thread
- BUT: lead to DOS-seeming behavior and ConnectionError: ('Connection
aborted.', error(10053)) from http://image.tmdb.org/
2016-09-17 11:23:31 +02:00
tomkat83
6621cc5a8d Revert "Dedicated art downloading queue"
This reverts commit dc94cc6bfe.
2016-09-17 10:58:08 +02:00
tomkat83
dc94cc6bfe Dedicated art downloading queue 2016-09-17 10:58:03 +02:00
tomkat83
c4de7587bf Revert "constructor (with Artwork() as art)"
This reverts commit 168014c33b.
2016-09-11 15:49:50 +02:00
tomkat83
168014c33b constructor (with Artwork() as art)
- Way too slow
2016-09-11 15:49:37 +02:00
tomkat83
59882a7be8 Improve + make artwork thread-save 2016-09-11 13:51:53 +02:00
tomkat83
bfc0249720 Optimize import 2016-09-11 12:21:13 +02:00
tomkat83
ea35c473cb Merge conflicts artwork.py 2016-08-29 19:39:59 +02:00
tomkat83
6aab9df054 Merge branch 'develop' of https://github.com/MediaBrowser/Emby.Kodi into develop 2016-08-29 18:44:27 +02:00
angelblue05
8b9b0821c0 Pylint
(testing)
2016-08-21 21:51:23 -05:00
angelblue05
48f20295aa Catch keyerror
If advancedsettings.xml modifies the webserver, it seems to cause errors
in jsonrpc and will return invalid params. Bug in Kodi?
2016-07-25 21:58:49 -05:00
angelblue05
76dfa1286c Update logging
Use the logging module. Moved logging to it's own file.
2016-07-24 03:59:48 -05:00
angelblue05
924c3a4a05 Fix arguments 2016-06-20 14:04:10 -05:00
angelblue05
48fbce2211 Fix typo 2016-06-20 13:59:55 -05:00
angelblue05
1dac1c4f4b Fix typo 2016-06-17 14:52:53 -05:00
angelblue05
9314c4a363 Centralized Logging 2016-06-16 16:24:07 -05:00
angelblue05
7a0f69e014 Centralized logging 2016-06-16 00:43:36 -05:00
tomkat83
a92146abc2 Remove emby references 2016-05-31 08:06:42 +02:00
tomkat83
df38786638 Account for string.encode() not allowing args
- E.g. Android TV
2016-05-07 13:15:02 +02:00
tomkat83
8d5f71dd6a Cache everything, not only fanart, poster, thumb 2016-04-29 12:45:40 +02:00
tomkat83
450437b812 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-04-26 13:53:19 +02:00
im85288
9c2996af1e retrieve other artwork from fanarttv such as discart,banner etc 2016-04-15 20:44:54 +01:00
angelblue05
308ac1a9d6 Update artwork.py 2016-04-13 19:37:02 -05:00
angelblue05
38933b9b2d Update artwork.py if webserver is disabled. 2016-04-13 06:00:50 -05:00
tomkat83
f0ba60c781 Fix KeyError if Kodi webserver disabled 2016-04-11 09:51:05 +02:00
SpootDev
fa1c710821 semi colon 2016-04-06 13:24:02 -05:00
tomkat83
1f3598a7c4 Cleanup and Fixes
- Disable SSL warnings, finally
- Fix Plex Companion errors due to downloadutils switch
2016-04-06 18:23:51 +02:00
SpootDev
0fc7fbd3b2 self.server 2016-03-30 22:24:00 -05:00
tomkat83
3a4349e647 Disable SSL warning in Log, clean Futurewarnings 2016-03-23 16:57:49 +01:00
tomkat83
a16b2bdeb3 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-17 10:03:00 +01:00
tomkat83
d01cf199e5 New fix item episode thumbs not caching 2016-03-14 11:47:14 +01:00
angelblue05
4af994ed74 enumerate over backdrops 2016-03-12 15:14:07 -06:00
tomkat83
a3c2d21757 Fix userclient 2016-03-10 16:02:46 +01:00
tomkat83
a258f969ab Dedicated function to check whether directory exists 2016-03-07 16:30:50 +01:00
tomkat83
398ef64d96 More encoding fixes for dialogs 2016-03-07 13:38:45 +01:00
tomkat83
4e44579c1f General bug squishing 2016-03-03 15:28:44 +01:00
tomkat83
c2ecdacec4 Settings overhaul. Also added many German translations 2016-03-03 14:00:48 +01:00
tomkat83
4704d8e983 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-03-01 10:10:11 +01:00
angelblue05
a0acdd6a7a Prevent crash caused by artwork deletion
Prevent database being locked from crashing process. Instead log it.
2016-02-28 21:39:00 -06:00
tomkat83
e7f7269a5b Merge conflicts 2016-02-19 20:03:06 +01:00
tomkat83
bcbbb1b42f Plex Music!
Playing does not work yet, but Lib sync is up
2016-02-12 16:53:49 +01:00
tomkat83
0d4c8ae53e Added logging decorator 2016-01-26 17:20:13 +01:00
tomkat83
80e1957d25 Merge remote-tracking branch 'MediaBrowser/master' into develop 2016-01-22 15:57:22 +01:00
marcelveldt
7e81db596e Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2016-01-19 21:28:05 +01:00
marcelveldt
7cf615f671 simplify channel browse code
add experimental support for live tv channels and recordings (without pvr)
2016-01-19 21:27:58 +01:00
Shaun
bfb893ad8e use standard progress dialog for progress
and add cancel
2016-01-19 18:59:05 +11:00
marcelveldt
11cf78de36 fix unicode error in urlencode 2016-01-18 20:56:10 +01:00
marcelveldt
eae4fea76a more unicode fixes: os.path functions use unicode depending on the OS 2016-01-18 12:05:05 +01:00
marcelveldt
2bd1d139c1 unicode fixes
fix for users who have redirected kodi data folders (replace open with xbmcvfs.file)
2016-01-18 10:00:32 +01:00
Shaun
30a9074f71 fix percentages on thread clean up updates 2016-01-16 17:55:04 +11:00
Shaun
9e2f789e53 add a thread pool option to the image cache 2016-01-16 14:08:01 +11:00
tomkat83
1e7acfc927 Moving getallartworks to PlexAPI 2015-12-30 15:57:55 +01:00
tomkat83
54a20f0b13 Before recoding Plexmovies function 2015-12-29 14:13:32 +01:00
tomkat83
88f649d36d Movie Sync Alpha version 2015-12-28 18:47:16 +01:00
angelblue05
e4fb2de7c2 Prevent deleting artwork during initial sync 2015-12-27 22:51:47 -06:00
angelblue05
493459de33 Fix artwork cache
Still looking into the delay with extra fanart scenario
2015-12-26 20:07:13 -06:00
angelblue05
3f6fe0a9e7 Version 1.1.63
alpha ready for beta testing
2015-12-24 13:51:47 -06:00