[RELEASE] Texture Cache Maintenance utility
(2014-07-22, 13:09)Milhouse Wrote:
(2014-07-22, 11:17)gargamon Wrote: I was thinking about this again. It seems to me that when you're doing the "C" option, you really want to overwrite whatever is there, whether it's nothing, a corrupted file, or who knows what. Wouldn't that imply that you no longer trust the database and want to rewrite that row anyway? I know it would be slower than now, but the added functionality of being able to do "C tvshows some_show_name" is much more versatile than doing "Xd"on a particular row when you may want to do 20 or more rows. Maybe a new command could handle this.

"C" will remove the row if it's there, whether it has an associated thumbnail file or not. Removing the row will also remove the thumbnail file (if it exists). If the row doesn't exist (but the thumbnail file does) then the "C" option will simply overwrite the thumbnail file when creating the new database row (as, indeed, would "c") So either way, the current "C" functionality should correct rows with missing thumbnail files, or thumbnail files that are no longer referenced by database rows. No extra functionality required.

I just did a quick test by manually deleting the TMZ icon file in the cache. I left the db alone. Neither the "c" or "C" command caused the database row to be rewritten. The "c" command showed a skipped in the summary. The "C" command showed an error in the summary. I believe I provided debug logging of this earlier, but it's very easy to duplicate. I rebooted and tried the commands again with no change.

I think there's a small bug here. Let me know if I can add anything further.

And I still think your tool is indispensable in maintaining your XBMC. Thanks for all the hard work.
Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by gargamon - 2014-07-24, 04:12
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 utility4.7617