(2013-12-03, 02:47)Serak Wrote: ie. extracting files from the cache to
[/code]
Just to clarify that mklocal.py does not download from the cache - it downloads the original remote sources (if still available). If you want to download from the cache, use "Export Library" (but be aware that you will not be getting the original quality artwork).
[quote='Serak' pid='1564815' dateline='1386031634']
(show)/S01-poster.jpg (or whatever name makes sense)
(show)/S01-fanart.jpg
(show)/S02-poster.jpg
etc.
as opposed to
You should already be covered in that case - this is how mklocal.py will create (or expects to find) artwork:
Quote:TVShows:
(show)[poster|fanart|landscape|banner|etc.].[jpg|png]
Seasons:
(show)/seasonXX-[poster|fanart|banner|landscape|etc.].jpg
(show)/season-specials-[poster|fanart|banner|landscape|etc.].jpg
Episodes:
(episode filename)-thumb.jpg
Movies: (--singlefolders)
(folder)/[poster|fanart|clearart|logo|etc.].[jpg|png]
Movies: (multiple movies per folder)
(folder)/(moviename)-[poster|fanart|clearart|logo|etc].[jpg|png]
Movie Sets:
(movieset-folder)/[poster|fanart|clearart|logo|etc].[jpg|png]
You can of course use whatever artwork types (poster, fanart, banner, cdart, discart) you can think of - you're not restricted to the types listed above. You specify it using --artwork, and mklocal.py will download it (if present in your media library) or assign it (if it exists in your filesystem).
If you're unsure of what mklocal.py will create when downloading, I would suggest using a "dummy" --local folder (ie. not your real media folder) and allow mklocal.py to create the directory structure that already exists in your media folder, which will then be populated by mklocal.py with the downloaded artwork. So instead of the following, which would write artwork into my media folder (/freenas/media):
Code:
./texturecache.py jd tvshows | ./mklocal.py --local /freenas/media --prefix nfs://192.168.0.3/mnt/share/media --artwork fanart poster clearlogo clearart --season --episode
I could use:
Code:
./texturecache.py jd tvshows | ./mklocal.py --local /home/media --prefix nfs://192.168.0.3/mnt/share/media --artwork fanart poster clearlogo clearart --season --episode
and then see what folders and artwork files have been created in /home/media, without any risk messing up my media folder.
Further, if you were to specify an --altlocal source:
Code:
./texturecache.py jd tvshows | ./mklocal.py --local /home/media --prefix nfs://192.168.0.3/mnt/share/media --artwork fanart poster clearlogo clearart --season --episode --altlocal /freenas/media
then mklocal.py will copy any local artwork I already have in /freenas/media to /home/media, while also downloading remote artwork to /home/media, which should mean that after the above run I would have all of my tv show artwork consolidated locally in /home/media.