Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
I know jm said something about this before, to the effect of it not being possible, but I'm thinking it must be given that you can get so close with existing infolabels.
As you probably know, Aeon uses the filename and path infolabel to point to a copy of a movie's .tbn file. It does this because the available infolabel returns, at the very least, the entire filename complete with extension. How hard would it be to create an infolabel that simply stripped the extension and replaced it with .tbn?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
why would you do such madness? the cache is there for a reason.
Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
To display high-res thumbnails for specific uses like info pages.
Posts: 489
Joined: Apr 2004
Reputation:
13
Freddo
Skilled Skinner
Posts: 489
doesn't the largeimage control bypass the thumbnail cache?
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
i don't believe the large image control caches.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
This won't be added for a very good reason:
We don't know where the thumb came from.
IMO you can just cache at the large size and just use largeimage controls everywhere you use a thumb. Who cares if your thumb takes a second or two to load? It's non-essential information, it doesn't have to be there immediately, and does not affect animation in anyway - after all, it will fade in nicely when it's done loading. Add mipmapping in to improve the quality of thumbs that are downsampled and we're done.
If we have to do multiple copies, then we can do so once the thumbcache gets it's rewrite. I personally would prefer looking into some of the compression techniques and just start caching single copies of large compressed textures with mipmapping for smaller versions.
Cheers,
Jonathan
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
I think jmarshalls main response is sure it might work fine if we always assume that everyone uses a local thumb for every single Icon they have but the reality is lots of people even more so the non windows people rely on the downloaded ones. So we can't just assume it comes from a certain place and depending on their connection will take even longer to get another big one
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Yeah - I don't care if they're empty while scrolling to be honest - trying to look at the thumbnail as it flies by is in my opinion not a particularly efficient method for finding something quickly - the first letter, or a text item is a much quicker way to identify where you are.
In either case, any type of "dual cache" won't be happening for 9.04 I'm afraid.
Cheers,
Jonathan