[RELEASE] Texture Cache Maintenance utility
(2019-11-03, 00:42)rainman74 Wrote: First of all, the 1430 music files are all still there, but the program still wants to delete the textures. This still seems to be a bug to me.
There don't appear to be any media library items that reference those P:\Musik textures, unless it's some sort of assumed relationship.

For example - these textures don't have matching media library entries:
text:

000925|c/c3f679d7.jpg|0512|0512|0001|2019-10-28 10:45:16|2019-10-28 11:45:16|P:\Musik\A Life Divided\Passenger\folder.jpg
001027|8/805e5ed2.jpg|0512|0512|0001|2019-10-28 10:45:38|2019-10-28 11:45:38|P:\Musik\A Life Divided\The Great Escape (Deluxe Editi\folder.jpg
001099|a/ae355e19.jpg|0700|0700|0001|2019-10-28 10:48:10|2019-10-28 11:48:10|P:\Musik\A Life Divided\folder.jpg
000653|f/ff8f56e4.jpg|0512|0512|0001|2019-10-28 10:44:19|2019-10-28 11:44:19|P:\Musik\ALMA\Chasing Highs\folder.jpg
000825|5/54ac3d8e.jpg|0512|0512|0001|2019-10-28 10:44:57|2019-10-28 11:44:56|P:\Musik\ALMA\Karma\folder.jpg
001111|c/c41b8bdd.jpg|0600|0600|0001|2019-10-28 10:48:12|2019-10-28 11:48:12|P:\Musik\ALMA\folder.jpg

so try texturecache.py jd albums Passenger and see if anything is found, as there's nothing in the media library for the Eltern profile. It might be an album in the media library of a different profile, which again would explain why the script wants to remove these textures when you are pruning using the Eltern profile.


(2019-11-03, 00:42)rainman74 Wrote: What do you think, could that phenomenon be the cause? But that would then be a very unpleasant error in Kodi's caching!
What you suggest is entirely possible - unfortunately the profile handling in Kodi has many problems and the plan is to rewrite/reimplement it from scratch, as it's considered beyond fixing in any sane way.

Given that profile handling in Kodi is flaky at best, it might be necessary to avoid using the script to change profiles.

Or try this (last throw of the dice): change the profile using the script then quit Kodi (something like texturecache.py @profile.name=Eltern power exit might work on Windows - ie. switch to the Eltern profile, and then exit/shutdown Kodi). Start kodi again (making sure it is configured to use the "Last used profile" on startup), and *then* cache or prune artwork for the active profile without changing the profile again, ie. texturecache.py @profile.enabled=no c movies would cache movie artwork for the currently active profile (ie. Eltern in this example).

You can automate all of this using a Windows command script.

You can also view the currently active profile with texturecache.py @profile.enabled=no status.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
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
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2019-11-03, 01:38
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17