[RELEASE] Texture Cache Maintenance utility
Hi Milhouse

I've been away from Kodi-World for a bit, and picking up where I left off, I see I've made quite a cleanup job for myself.

Q1: is it possible I've managed to delete art files from my media folders, using any of the scripts ?

I ask because I'm finding more than a few cases where the library has links to art files that are now gone from the FreeNAS folders. I'm wondering what sequence of operations I could have done to make this happen (...if at all) ?

An example:
Code:
OpenELEC:~/.kodi/userdata/_TextureCache # ./texturecache.py jd movies "sherlock holmes faces death"
[
  {
    "art": {
      "fanart": "image://smb://FREENAS/media/Movies/Sherlock Holmes Faces Death (1943)/Sherlock Holmes Faces Death (1943) [BrRip]-fanart.jpg/",
      "fanart1": "image://http://image.tmdb.org/t/p/original/2rkwFOAjJY4BFRDa0Ri89L4pScD.jpg/",
      "poster": "image://smb://FREENAS/media/Movies/Sherlock Holmes Faces Death (1943)/Sherlock Holmes Faces Death (1943) [BrRip]-poster.jpg/"
    },
    "file": "smb://FREENAS/media/Movies/Sherlock Holmes Faces Death (1943)/Sherlock Holmes Faces Death (1943) [BrRip].mkv",
    "label": "Sherlock Holmes Faces Death",
    "movieid": 3175,
    "title": "Sherlock Holmes Faces Death"
  }
]
OpenELEC:~/.kodi/userdata/_TextureCache #

Whilst the database links to local "fanart" and "poster" files, these do not exist today in the Sherlock folder.

I DO find two others: "banner" and "landscape" files are in the folder, but are no longer in the db, nor apparently in the thumbmail cache (these two do not appear in the GUI, though they did before I caused all the trouble).

Q2: at what point does it make sense to start with a fresh empty database and re-scan the whole thing ? Chasing "some are listed, some are not" is getting tiresome. If that is the better way to go, are there any tricks to know about doing this within OpenELEC ?

Thank you Milhouse, for any pointers.
::  LibreELEC 9.2.6 RELEASE - Generic x86_64  ::  Intel 847 NUC  ::  KVR1333D3S9/4G  ::  Kingston SMS200S3/30G mSATA  ::  MS 1044 MCE keyboard  ::  GP-IR02BK remote  ::  Xonfluence  ::  10.9TiB on FreeNAS v11.3-U5 (RAID-Z2)  ::
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by gjwAudio - 2016-03-08, 11:53
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17