added support for kodi texturecache:

- setting in addon settings to turn on the cache feature (now for testing, maybe hidden later)
- for all new items the poster and the fanart image will be cached automatically (when setting is on)
- added a option to the plugin root options to perform full cache fill which will pull every single image to the cache.
This commit is contained in:
Marcel van der Veldt 2015-06-06 00:11:24 +02:00
parent 8f8f39bb75
commit cdf78de132
7 changed files with 128 additions and 7 deletions

View file

@ -486,5 +486,6 @@ def doMainListing():
addDirectoryItem("Perform manual sync", "plugin://plugin.video.emby/?mode=manualsync")
addDirectoryItem("Add user to session", "plugin://plugin.video.emby/?mode=adduser")
addDirectoryItem("Perform local database reset (full resync)", "plugin://plugin.video.emby/?mode=reset")
addDirectoryItem("Cache all images to Kodi texture cache (advanced)", "plugin://plugin.video.emby/?mode=texturecache")
xbmcplugin.endOfDirectory(int(sys.argv[1]))