2015-01-09, 17:46
(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.
Code: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=):
Code:
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.