2014-11-28, 02:37
Cleaning/Rescanning won't work, you'll need to drop your entire database and re-scrape for it to pick up your changes. That's why Video1NameTest works.
You can however use mklocal.py to update your library with the updated artwork filenames - it will run through your media library and correct any local artwork filenames.
Try something like:
Change the --local and --prefix arguments to suit your setup - --local is the OS path for your media, --prefix is how this media is accessed by Kodi.
Specify whatever artwork types you want to process using the --artwork argument.
The --readonly argument means that no remote artwork will be downloaded and stored locally, only your existing local artwork will be processed.
Once you have run the above, look at the contents of the changes.dat file to see if the proposed changes make sense - it should be replacing your */poster.jpg filenames with */*-poster.jpg.
To apply the changes to your media library, run the following command (in Gotham this can be very slow, but a lot quicker in Helix):
You may then want to re-cache the new artwork once the new filenames have been applied (texturecache.py c movies).
You can however use mklocal.py to update your library with the updated artwork filenames - it will run through your media library and correct any local artwork filenames.
Try something like:
Code:
texturecache.py jd movies >movies.dat
cat movies.dat | mklocal.py --local /freenas/media --prefix nfs://192.168.0.3/mnt/share/media --artwork poster fanart clearlogo clearart --readonly > changes.dat
Change the --local and --prefix arguments to suit your setup - --local is the OS path for your media, --prefix is how this media is accessed by Kodi.
Specify whatever artwork types you want to process using the --artwork argument.
The --readonly argument means that no remote artwork will be downloaded and stored locally, only your existing local artwork will be processed.
Once you have run the above, look at the contents of the changes.dat file to see if the proposed changes make sense - it should be replacing your */poster.jpg filenames with */*-poster.jpg.
To apply the changes to your media library, run the following command (in Gotham this can be very slow, but a lot quicker in Helix):
Code:
cat changes.dat | texturecache.py set
You may then want to re-cache the new artwork once the new filenames have been applied (texturecache.py c movies).