2015-01-09, 05:01
(2015-01-09, 03:20)Milhouse Wrote:(2015-01-09, 03:08)Mychale Wrote: Can I run a process to clear the "F:\xbmc_videodb_2013-09-05\" part of the image location and have it look in the folder with the media?
Try running mklocal.py, use --nokeep to clear artwork that no longer exists. If the artwork exists alongside the movies, it will replace the existing artwork.
Ok. some info for you:
Main Kodi box has:
L drive mapped to L:\Videos folder on network share server that holds all media.
Media is separated info 5 folders:
L:\Videos\13 & Older\Movies - so kids do not have access.
L:\Videos\13 & Older\TV Shows - so kids do not have access.
L:\Videos\Kids 12 and Under\Movies - mapped so I can see them too.
L:\Videos\Kids 12 and Under\TV Shows - so I cant see these (Barney, Bob the Builder, etc.)
L:\Videos\Kids 12 and Under\TV Shows\Big Kids TV - so I can see these (Thundercats, Gargoyles, Animaniacs, etc.)
Basically, Adult profiles have all 5 mappings and the kids have their 2 and Big Kids TV shows up as a folder to them like a set.
Kodi paths are shown as:
smb://MEDIA-SERVER/FTP Main/Videos/13 & Older/Movies/
smb://MEDIA-SERVER/FTP Main/Videos/13 & Older/TV Shows/
smb://MEDIA-SERVER/FTP Main/Videos/Kids 12 and Under/Movies/
smb://MEDIA-SERVER/FTP Main/Videos/Kids 12 and Under/TV Shows/
smb://MEDIA-SERVER/FTP Main/Videos/Kids 12 and Under/TV Shows/Big Kids TV/
with that I tried to come up with the mklocal.py script, since just entering mklocal.py --nokeep as suggested didnt seem to do anything:
Code:
texturecache.py jd movies | mklocal.py --local L:\Videos --prefix "smb://Media-Server/FTP Main/Videos" --nokeep --artwork fanart poster clearlogo clearart --output fixup.dat
Code:
cat fixup.dat | texturecache.py set
Does this look right? Am I close?
Also, from your reply in post #1231 I tried to run the suggested code to update from IMDB:
Code:
texturecache.py imdb movies @imdb.fields=plot,plotoutline,votes,rating,top250,runtime,country,genre,director​,writer,year | texturecache.py set
Code:
C:\>texturecache.py imdb movies @imdb.fields=plot,plotoutline,votes,rating,top250,runtime,country,genre,director?,writer,year | texturecache.py set
Traceback (most recent call last):
File "C:\texturecache.py", line 7733, in <module>
main(sys.argv[1:])
File "C:\texturecache.py", line 7645, in main
setDetails_batch(dryRun=dryRun)
File "C:\texturecache.py", line 5435, in setDetails_batch
jdata = json.loads("".join(data))
File "C:\Python34\lib\json\__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "C:\Python34\lib\json\decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python34\lib\json\decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
This seems to be an error in the script, but I could be wrong.
Thank you for your help and time.