(2013-04-16, 15:33)ludespeedny Wrote: Ok that worked. now my question is will this script be able to fix bad references in the NFO, or does this just fix xbmc's reference to the thumbs?
No, it won't fix the references in the NFO, they're the root cause. The utility will only force whatever references you have scraped in to be cached (or to be viewed). It should allow you to reload your cache with correct cast artwork once you have scraped in suitable urls.
(2013-04-16, 15:33)ludespeedny Wrote: Also, I am still pretty new at linux, would you be able to provide a sample code to run to check a particular movie for the thumbnail references? The movie I have been working with to test is 27 Dresses.
Thanks for your help so far!
First of all, make sure you have the webserver enabled on port 8080 (Settings -> Services -> Webserver) - this is essential if you proceed to re-cache items.
To check a specific movie, you need to create a properties file (texturecache.cfg) with the following settings:
Code:
extrajson.movies = cast
extrajson.tvshows.tvshow = cast
extrajson.tvshows.episode = cast
cache.castthumb = yes
then for a specific movie (eg. Avatar), run the following to see what has been scraped in to your media library:
Code:
./texturecache.py Jd movies avatar
You will get a JSON response which you should be able to decipher.
To re-cache a movie, eg. Avatar:
Code:
./texturecache.py c movies avatar
and it should download all artwork (posters, fanart, cast artwork) that is not currently cached.
If you want to re-cache only your cast arwork, your best option would be to find a way to identify these in your texture cache and then delete them ("s" option to search, "d" to delete). For instance, if they all include a common url (eg.
http://ia.media-imdb.com/images) then
Code:
./texturecache.py s "http://ia.media-imdb.com/images"
./texturecache.py d <paste in matching row ids>
*then*
Code:
./texturecache.py c movies
to re-cache all the missing artwork (which would be your cast artwork).