[RELEASE] Texture Cache Maintenance utility
Thank you again Milhouse for answering my questions Blush

Today when I fired up kodi, the banner for Enron was immediately visible. Running the first query you suggested returns this:

Code:
./texturecache.py s enron
046932|4/4fc0aae1.png|0310|0800|0013|2016-01-19 07:00:03|                   |http://assets.fanart.tv/fanart/movies/13020/hdmovielogo/enron-the-smartest-guys-in-the-room-55e69d38a4ffc.png
049366|f/f023a233.jpg|0185|1000|0007|2016-01-20 01:42:11|2016-01-19 03:52:18|smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005)-banner.jpg
049645|0/001124d0.jpg|0720|0480|0001|2016-01-19 07:00:04|2016-01-19 02:00:04|smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/.actors/Peter_Coyote.jpg
049646|a/a08a011a.jpg|0600|0450|0001|2016-01-19 07:00:04|2016-01-19 02:00:04|smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/.actors/Dick_Cheney.jpg
050344|4/447879fd.jpg|0067|0360|0002|2016-01-19 09:02:14|2016-01-19 03:52:15|smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005)-banner.jpg/transform?size=thumb
050345|5/5597e990.png|0140|0360|0002|2016-01-19 09:02:14|2016-01-19 03:52:15|smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005)-clearlogo.png/transform?size=thumb
050346|b/b8a1aa64.jpg|0360|0240|0002|2016-01-19 09:02:14|2016-01-19 03:52:15|smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005)-poster.jpg/transform?size=thumb
050347|f/fca841d4.jpg|0203|0360|0001|2016-01-19 08:52:15|2016-01-19 03:52:15|smb://FREENAS/media/Movies/Enron - The Smartest Guys in the Room (2005)/Enron - The Smartest Guys in the Room (2005)-fanart.jpg/transform?size=thumb
Matching row ids: 46932 49366 49645 49646 50344 50345 50346 50347

Hmmmm... all present and accounted for.

SideQuestion: What do I add to the CFG file to have any ExtraThumbs or ExtraFanArt listed ?

(2016-01-20, 03:24)Milhouse Wrote: To add it to the cache, run:
Code:
./texturecache.py c movies enron

If it says it couldn't download any artwork then that means Kodi couldn't access the artwork.

OK, my understanding is fuzzy here - if the image only exists in the media folder with the movie (ie: no online source because it was manually created by me), does the script grab it from the folder -OR- is the caching/re-caching operation limited to internet-downloadable items only ?

(2016-01-20, 03:24)Milhouse Wrote:
Code:
./texturecache.py c movies

will cache all movie artwork that is defined in your media library.

Ahhhh... do you mean "all files named in the Textures database" -OR- "all the local files found within the media folders" ?

Last night I ran the "./texturecache.py c movies" command, and it did not seem to put my homemade banner into the cache. I then used the context menu to "Choose art' and select the banner... Is this the operation that finally wrote it into the database ? As you can tell, I'm struggling with what does - or does not - trigger the update.

FromAnotherAngle: I take it that if an image is NOT found in the Thumbnails folder, kodi CANNOT put it on the screen.

Many times I've had to repeat the "Choose art" steps for these homemade images, because something has knocked them out. I've made it a frequent practice to clean the library and export everything to local files.

Is it possible my homemade art is not being recorded in the local NFOs, and at some time in the future a re-scrape wipes it out from the database & Thumbnails folder ? (grasping at straws here Confused )

Thanks for insight & corrections.
::  LibreELEC 9.2.6 RELEASE - Generic x86_64  ::  Intel 847 NUC  ::  KVR1333D3S9/4G  ::  Kingston SMS200S3/30G mSATA  ::  MS 1044 MCE keyboard  ::  GP-IR02BK remote  ::  Xonfluence  ::  10.9TiB on FreeNAS v11.3-U5 (RAID-Z2)  ::
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by gjwAudio - 2016-01-20, 05:31
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