2017-06-04, 12:09
OK, cool, I thougt there must be something locking that file(s) so KCleaner can't access it.
(2017-06-03, 23:59)junitodx Wrote: Hi DaLanik,
Since you mentioned it could be the thumbnails slowing down the addon, I ran Profile Cleaner addon first to clean up thumbnails, and I think it cleared out about 6k thumbnails. Then I ran KCleaner v2.64 but it still takes about 5 minutes from startup to getting to the main KCleaner screen. I asked Karellen to take a look at my log file before I posted it to make sure I wasn't breaking any rules and he said it was good to go so my post shouldn't disappear this time
Also with version 2.64 the log file is significantly larger so I had to go to zerobin instead of pastebin to post it:
https://zerobin.net/?f2a0e83bacec1700#0y...QNvRfn6DjY=
(2017-06-04, 12:56)DaLanik Wrote:(2017-06-03, 23:59)junitodx Wrote: Hi DaLanik,
Since you mentioned it could be the thumbnails slowing down the addon, I ran Profile Cleaner addon first to clean up thumbnails, and I think it cleared out about 6k thumbnails. Then I ran KCleaner v2.64 but it still takes about 5 minutes from startup to getting to the main KCleaner screen. I asked Karellen to take a look at my log file before I posted it to make sure I wasn't breaking any rules and he said it was good to go so my post shouldn't disappear this time
Also with version 2.64 the log file is significantly larger so I had to go to zerobin instead of pastebin to post it:
https://zerobin.net/?f2a0e83bacec1700#0y...QNvRfn6DjY=
I have new version in the TEST repo which has another option - to do "quick" calc, that is, to ignore calculating thumbnails if " Delete only thumbs not in database" is selected. It seems legitimate, you simply have too many thumbs and/or your system is slower in accessing the filesystem/database so it takes that long. Nothing I can do to speed it up if it needs to check every individual thumbnail agains the database.
So I made this option NOT to calculate thumbs. It will still CHECK all the thumbs on cleanup, just preview on how much should be deleted will not be correct.
Let me know if it works so I can put it in normal repo.
D.
(2017-06-04, 17:37)DaLanik Wrote: There should be version 2.7 in test repo. Try running "check for updates"
(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?
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.
(2017-06-05, 13:30)DaLanik Wrote: v2.7
- Speed tweak for slow thumb reading - option to disable thumb size calc