Cashe movie posters and albumart upon library scan
#1
This may be already be possible. I didn't see it though on the forum, so let me post this as a feature request.

I am using mysql and all my movies have full local NFO and art. All my music has albumart embedded. I am using library mode.

How I understand Kodi works is that it only creates cache once I scroll over / select a specific album or movie.

This has two issues: 1) It makes the library slower as it always takes time to extract the albumart when selecting an album for the first time. 2) Albumart is not shown on 3rd part DLNA clients unless I have already hovered over it in Kodi.

Is there a way to force Kodi to extract / load all albumart (and movie posters) while updating the library?

Thanks in advance!
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
#2
Perhaps the 'Retrieve info for all artists' does that.
Reply
#3
Yes, there is a whole thread on the utility to do this. When I find it I'll post it here.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#4
Here https://forum.kodi.tv/showthread.php?tid=158373
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#5
Thanks. This is great. Hope it works for what I am trying to achieve.

I tried to run it with option "c", but got the error message below. Will post it in the thread you linked to:

C:\>texturecache.py c
Traceback (most recent call last):
File "C:\texturecache.py", line 8618, in <module>
main(sys.argv[1:])
File "C:\texturecache.py", line 8311, in main
if not checkConfig(argv[0]): sys.exit(2)
File "C:\texturecache.py", line 7851, in checkConfig
data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True)
File "C:\texturecache.py", line 2223, in sendJSON
return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout)
File "C:\texturecache.py", line 2210, in sendWeb
return json.loads(data) if data != "" else ""
File "C:\Python27\lib\json\__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply

Logout Mark Read Team Forum Stats Members Help
Cashe movie posters and albumart upon library scan0