Posts: 43
Joined: Jun 2008
Reputation:
0
PR #822 was closed and Montellese commented that he was to be implementing a new version. Did he get around to it?
Posts: 2,870
Joined: Dec 2010
Reputation:
281
garbear
Team-Kodi Developer
Posts: 2,870
2013-10-30, 06:41
(This post was last modified: 2013-10-30, 06:41 by garbear.)
You can write the number right after the PR and our software will hotlink to the PR
like so: PR822
Posts: 26,215
Joined: Oct 2003
Reputation:
187
The returning of images to JSON-RPC has been done for ages. In addition, with PR3499 you can query the cache over JSON-RPC to help clean it up or whatever.
The bit not done is the image resizing stuff. The texture database supports it (sizes table), but the caching functions aren't in place. Essentially what needs changing is to allow the cache to query for a given size and for the cache to generate those sizes on demand, store and return.
Note there is a layer in place for one smaller size in that you can add size=thumb as a URL option to image:// URLs - see xbmc/TextureCacheJob.cpp. This is intended for picture thumbs and the like.
Cheers,
Jonathan