2015-08-13, 20:06
(2015-08-13, 19:54)calisro Wrote: Got a Q. With the mklocal.py script, can you ask that it overwrites existing files? If we've previously done a backup from xbmc and we want to replace those files, it would be difficult otherwise. What do you think?
It doesn't currently, mainly because it doesn't know if the existing artwork is good/original quality artwork downloaded by a previous run (and which shouldn't be overwritten), or artwork exported from Kodi (that could/should be overwritten).
My advice would be to delete the artwork you want replaced before running mklocal.py, so that new original artwork is downloaded.
(2015-08-13, 19:54)calisro Wrote: Also, the change to texturecache.py worked but that only solves half of the problem. The mklocal.py script will read that input and create images correctly now which is GREAT but the resulting fixup.dat file now has decoded URLs in it. I don't think that is safe to re-import back to xbmc as the URLs stored in xbmc were originally encoded.
Kodi will re-encode the urls before storing them - give it a try on one of your movies, or try it manually at the command line:
Code:
./texturecache py set movie #### art.poster "<url suggested by fixup.dat>"
where #### is the movieid of the movie.
If davs:// urls require addition encode processing then I guess something will need to be done about that (not sure what, exactly).