Posts: 137
Joined: Jul 2013
Reputation:
7
Thanks. Fat chance of saurik updating python anytime soon. In any case, I can run texturecache remotely from my Mac.
Posts: 353
Joined: Dec 2014
Reputation:
6
I have many movies in my database without posters or fanart. (Once upon a time I had the .jpgs alongside the video files, but I removed them, and now after re-installing my Kodi, my MySQL database still points to those local non-existing files.)
Is there a way to make Kodi rescrape those movies that have no posters and fanart? Or perhaps to remove those movies from the database, and newly scrape them afterwards?
I thought the qax option might do this, but that doesn't show any of those films. Perhaps because Kodi thinks it has art (because it points to a file), even though there is no art at that place. So now I'm lost. Any pointers?
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
You could use texturecache.py jd movies | mklocal.py --prefix=... --local=... --artwork poster fanart --no-keep
to remove any local artwork that no longer exists.
Apply the changes against your library, then you can use something like Artwork Beef to find new artwork now that it is no longer present in your library, or texturecache.py qax movies @qa.art.movies=poster,fanart @qa.fail.checkexists=no
to refresh movies with missing poster or fanart.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 7
Joined: Apr 2019
Reputation:
0
2019-04-07, 10:20
(This post was last modified: 2019-04-07, 10:22 by mindnever.)
Thank you for this wonderful script.
After a fresh installation of Leia, I was missing too many items from my library (posters, fanarts, etc.)
Then I read Milhouse's advice to use Artwork Beef to get all the missing artwork and then use texturecache.py C movies in order to re-download it in my thumbnails folder.
It worked!
But I'm having trouble with the actors thumbs.
I have edited the texturecache.cfg to include the following lines:
extrajson.movies = cast
extrajson.tvshows.tvshow = cast
extrajson.tvshows.episode = cast
cache.castthumb = yes
The script correctly finds that I'm missing too many actors (with the nc option) but it cannot download them (with the C option).
It says something like cannot be downloaded from ia.media-imdb...
However if I use the Universal Movie Scraper for a movie everything is downloaded/scraped correctly.
Is there something I can do for the missing cast thumbnails ?
Posts: 870
Joined: Feb 2011
Reputation:
5
Sorry the question but the thread is very very big. Is there a way to cache only posters or only fanarts?