[RELEASE] Texture Cache Maintenance utility
(2015-01-09, 05:01)Mychale Wrote: Does this look right? Am I close?

Yes, that looks fine. You might also want to add "--readonly" which would stop it from trying to download any remote artwork (assuming you have any remote - ie. internet based - artwork urls in your library).

Tips when running mklocal.py for the first time:

#1: Try using a single movie, ie. "texturecache.py jd movies avatar" until you get it working correctly - it saves time
#2: View the output of mklocal.py before running it through "texturecache.py set" (removing the --output argument will cause the change details to be written to the console)
#3: Add --verbose if you don't get the expected results, then try to understand what mklocal.py is doing and maybe why it is failing
#4: Only once you're happy with the proposed changes should you run the changes through "texturecache.py set"
#5: If you still don't get the expected results, upload the full console output to pastebin and paste the url here. The output from "texturecache.py jd ..." would also be useful.

(2015-01-09, 05:01)Mychale Wrote: This seems to be an error in the script, but I could be wrong.
C:\>texturecache.py imdb movies @imdb.fields=plot,plotoutline,votes,rating,top250,runtime,country,genre,director?,writer,year | texturecache.py set

I think this is some sort of cut and paste error - note the "?" after director. When I try your string (copying & pasting directly from the forum) I get the following error in the texturecache.log (which you can enable with @logfile=):
2015-01-09 15:35:39.671399:MainThread: libMovies.JSON SOCKET REQUEST: [{"jsonrpc": "2.0", "params": {"sort": {"order": "ascending", "method": "title"}, "properties": ["title", "art", "imdbnumber", "plot", "plotoutline", "votes", "rating", "top250", "runtime", "country", "genre", "director\u200b\u200b", "writer", "year"], "limits": {"start": 0, "end": 400}}, "method": "VideoLibrary.GetMovies", "id": "libMovies"}]

Note the unicode rubbish that has been appended to "director".

Clean up your command line, and try again.
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.

Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2015-01-09, 17:46
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
This forum uses Lukasz Tkacz MyBB addons.