KCleaner (Clean up temporary files & other stuff)
(2017-06-06, 08:33)DaLanik Wrote: What are the most importand features of that addon, what exactly does it clean? Orphaned thumbs, only from SQL database?

Removing references to old paths and files not listed in your KODI sources in both local and MySQL databases.

To quote the add-on devs (https://forum.kodi.tv/showthread.php?tid=272112):
Quote:Every Internet and UPnP stream you watch, every YouTube video, each time File Manager is used to load up a video to watch once - records of these are all kept.

A general assumption was that KODI's database only held the files scanned into the library. This is not the case. If you watch it, KODI remembers it.


This leads to a number of issues. One is privacy. There is nothing in the main KODI application that will clean out the database. Most other applications can clean their "recent files" lists, KODI can't. Yet.

KODI does have a built in "Clean Library" function, but this only works with the files scanned into the Media Library. It is not aware of the streams and one-off videos so it does nothing about them.

A second issue regularly rears its head where the old stream paths in the videos database cause numerous problems to other functions within KODI. Even KODI's own built in Clean Library functions spit dozens of errors into the debug logs when attempting to work with these old stream paths. For some people the Clean Library function could stall and crash due to these bad paths. (As well as the slightly worrying case that every one of these paths were being loaded up and interrogated causing some unusual network traffic)

Our script will do a pre-scrub of the database allowing KODI's own Clean Library function to do a far better job.

Add-ons are the worst culprit here.

So it's primary function was what I used it for. The fact that it also supported MySQL databases was a major bonus.
Kodi 17.6 on multiple Windows 10 x64 machines with shared MySQL 5.6.43 database. Kodi 18 on Xbox One. Content (music, video, photos) stored on Windows Server 2012 R2 file server and accessed by SMB.
Reply


Messages In This Thread
Initial startup super slow - by junitodx - 2017-05-31, 00:06
RE: KCleaner (Clean up temporary files & other stuff) - by AnthonyB - 2017-06-13, 13:04
Logout Mark Read Team Forum Stats Members Help
KCleaner (Clean up temporary files & other stuff)2