[RELEASE] Texture Cache Maintenance utility
(2014-01-08, 05:15)MilhouseVH Wrote: That's weird, I couldn't get XBMC to cache the original full size picture (the second row in your example above), although I only tested the "slideshow" functionality - maybe an addon has caused the original artwork to be cached, which IMHO is probably not a good thing due to the extra storage requirements, whereas slideshow appears to avoid the cache by accessing the artwork direct.

I did some trials on my windows laptop with XBMC 12.3 + Aeon Nox skin - similar to my actual media center which is xbmcbuntu. I added a folder with 8 trial pics and when I open the folder, the thumbnails are created and here is the output of texturecache.py f

Code:
000006|2/2ad34bd6.jpg|0240|0360|0001|2014-01-10 14:47:45|2014-01-10 20:17:45|C:\Temp\Pics\P1050811.JPG/transform?size=thumb
000005|3/383f7c8c.jpg|0240|0360|0001|2014-01-10 14:47:44|2014-01-10 20:17:44|C:\Temp\Pics\P1050803.JPG/transform?size=thumb
000008|3/3912ea51.jpg|0360|0240|0001|2014-01-10 14:47:45|2014-01-10 20:17:45|C:\Temp\Pics\P1050824.JPG/transform?size=thumb
000003|7/70caccc4.jpg|0240|0360|0001|2014-01-10 14:47:43|2014-01-10 20:17:43|C:\Temp\Pics\DSC_1348.JPG/transform?size=thumb
000001|7/71b49c46.jpg|0360|0240|0001|2014-01-10 14:47:43|2014-01-10 20:17:43|C:\Temp\Pics\DSC_0911.JPG/transform?size=thumb
000002|8/8d2658e3.jpg|0240|0360|0001|2014-01-10 14:47:43|2014-01-10 20:17:43|C:\Temp\Pics\DSC_0956.JPG/transform?size=thumb
000007|9/90eab9c9.jpg|0360|0240|0001|2014-01-10 14:47:45|2014-01-10 20:17:45|C:\Temp\Pics\P1050823.JPG/transform?size=thumb
000004|9/9cef1281.jpg|0240|0360|0001|2014-01-10 14:47:44|2014-01-10 20:17:44|C:\Temp\Pics\DSC_1353.JPG/transform?size=thumb

File Summary: 8 files; Total size: 246 KB

The skin uses InfoWall view by default which shows a larger image to the side when I just use the arrow keys to move through the pictures. When I selected one picture, 1 additional row was added to the database. When I browsed through all the 8 pictures with arrow keys, this is what it looked like:
Code:
000010|1/1809f893.jpg|0720|1080|0001|2014-01-10 14:58:23|2014-01-10 20:28:23|C:\Temp\Pics\DSC_0956.JPG
000004|2/2ad34bd6.jpg|0240|0360|0001|2014-01-10 14:57:55|2014-01-10 20:27:55|C:\Temp\Pics\P1050811.JPG/transform?size=thumb
000008|3/383f7c8c.jpg|0240|0360|0001|2014-01-10 14:57:56|2014-01-10 20:27:56|C:\Temp\Pics\P1050803.JPG/transform?size=thumb
000005|3/3912ea51.jpg|0360|0240|0001|2014-01-10 14:57:55|2014-01-10 20:27:55|C:\Temp\Pics\P1050824.JPG/transform?size=thumb
000012|4/42aa659b.jpg|0720|0480|0001|2014-01-10 14:58:28|2014-01-10 20:28:28|C:\Temp\Pics\P1050823.JPG
000011|4/4610c97a.jpg|0720|1080|0001|2014-01-10 14:58:25|2014-01-10 20:28:25|C:\Temp\Pics\DSC_1348.JPG
000001|7/70caccc4.jpg|0240|0360|0001|2014-01-10 14:57:54|2014-01-10 20:27:54|C:\Temp\Pics\DSC_1348.JPG/transform?size=thumb
000003|7/71b49c46.jpg|0360|0240|0001|2014-01-10 14:57:55|2014-01-10 20:27:55|C:\Temp\Pics\DSC_0911.JPG/transform?size=thumb
000014|7/74fa7f6b.jpg|0720|1080|0001|2014-01-10 14:58:40|2014-01-10 20:28:40|C:\Temp\Pics\P1050803.JPG
000002|8/8d2658e3.jpg|0240|0360|0001|2014-01-10 14:57:55|2014-01-10 20:27:54|C:\Temp\Pics\DSC_0956.JPG/transform?size=thumb
000009|8/8f4ae667.jpg|0720|0480|0001|2014-01-10 14:58:20|2014-01-10 20:28:20|C:\Temp\Pics\DSC_0911.JPG
000007|9/90eab9c9.jpg|0360|0240|0001|2014-01-10 14:57:56|2014-01-10 20:27:56|C:\Temp\Pics\P1050823.JPG/transform?size=thumb
000006|9/9cef1281.jpg|0240|0360|0001|2014-01-10 14:57:55|2014-01-10 20:27:55|C:\Temp\Pics\DSC_1353.JPG/transform?size=thumb
000016|b/b9494e8f.jpg|0720|0480|0001|2014-01-10 14:58:43|2014-01-10 20:28:43|C:\Temp\Pics\P1050824.JPG
000015|c/c7c66b93.jpg|0720|1080|0001|2014-01-10 14:58:42|2014-01-10 20:28:41|C:\Temp\Pics\DSC_1353.JPG
000013|f/fdc8bd09.jpg|0720|1080|0001|2014-01-10 14:58:39|2014-01-10 20:28:38|C:\Temp\Pics\P1050811.JPG

File Summary: 16 files; Total size: 1,587 KB

So, if the skin needs a larger preview, I guess these additional db lines & thumbnails are created.

Thanks for the last update. I now understand what xbmc/skin is doing and I've your script with all options to clean my cache! Smile
Reply


Messages In This Thread
RE: [RELEASE] Texture Cache Maintenance utility - by rubpa - 2014-01-10, 17:12
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17