2017-11-13, 08:04
I recently changed the destination in my library for all my media from a mapped network drive (e.g. M:\Media\Movies) to a smb URI (smb://pathartl-server/Media/Movies). This however had some side effects that I was not expecting. Most of the art for everything started turning up blank. Running Artwork Downloader and updating the library would not resolve the issue. I did however notice that I was able to use the manual download feature of AD to replace the missing art. I figured the paths had to be cached somehow.
Normally people say to just delete your database and start anew. Since my database has been evolving over the past 4-5 years, losing stuff like watch status and manual movie sets was just not acceptable for me.
Within the Kodi database there is a table called 'art'. Put simply, if you truncate this table and run Artwork Downloader, all of your art should be refreshed.
For a more in depth guide:
This worked mostly-perfectly for me. There are a few caveats:
Normally people say to just delete your database and start anew. Since my database has been evolving over the past 4-5 years, losing stuff like watch status and manual movie sets was just not acceptable for me.
Within the Kodi database there is a table called 'art'. Put simply, if you truncate this table and run Artwork Downloader, all of your art should be refreshed.
For a more in depth guide:
- Close Kodi on all applicable devices
- Connect to your database
- If you are using shared libraries via MySQL, use some sort of MySQL client to connect to the database. Make sure to "use MyVideos<DBNUM>;" on the correct database. If you are unsure which version this is, check your kodi.log file.
- If you are using local databases, download a SQLite client (I like DB Browser for SQLite)
- If you are using shared libraries via MySQL, use some sort of MySQL client to connect to the database. Make sure to "use MyVideos<DBNUM>;" on the correct database. If you are unsure which version this is, check your kodi.log file.
- Unless you're middle name is Danger, back up your database
- Select your database and run the SQL query sql:
truncate table 'art';
- Delete the Thumbnails folder under the userdata folder
- Delete the Textures<DBNUM>.db file from the userdata/Databases folder
- Start Kodi
- Run Artwork Downloader
This worked mostly-perfectly for me. There are a few caveats:
- Any manually assigned local art will probably get unassigned from the media. You'll have to go and assign it via Kodi again unless it fits Artwork Downloader's requirements.
- Movie sets will most likely lose their cover art.
- If you've used Artwork Downloader to choose a certain remote art, you will have to go back and reassign it.