Hi there Max,
First off thanks for your hard work in making this addon, its something that no user should do without.
I have installed version 1.1.4 on my Raspbmc running Helix.
The script starts fine even without setting a folder to move the found obsolete images.
screen says:
Before:
18082 Files
609mb Size
Textures 17944
I let the script run for 4 hours then checked and it was still working through my setup.
After 9 hours it was still running so i decided to get some sleep and let it run.
(Note that it was not stalled or broken, i could see percentages go up and the script going through images urls)
This morning Kodi was back on my startpage Movies (while It was in system -> addons when script was running)
I rerun the addon and it still says:
Before:
18082 Files
609mb Size
Textures 17944
kodi.log reads:
Code:
09:33:42 T:2714694720 NOTICE: [Thumbnails Cleaner] - Starting Thumbnails Cleaner v1.1.4
09:33:42 T:2678060096 NOTICE: Thread LanguageInvoker start, auto delete: false
09:33:43 T:2678060096 NOTICE: -->Python Interpreter Initialized<--
09:33:43 T:2678060096 WARNING: CPythonInvoker(13): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
09:34:24 T:2678060096 NOTICE: [Thumbnails Cleaner] - Database folder selected: /home/pi/.kodi/userdata/Database/
09:34:24 T:2678060096 NOTICE: [Thumbnails Cleaner] - Thumbnails folder selected: /home/pi/.kodi/userdata/Thumbnails/
09:36:34 T:2706306112 NOTICE: Thread JobWorker start, auto delete: true
09:36:38 T:2706306112 ERROR: Unable to lookup host: ''
09:36:38 T:2706306112 ERROR: NFS: Failed to mount nfs share: (nfs_mount_async failed)
09:38:06 T:2678060096 NOTICE: Thread LanguageInvoker start, auto delete: false
09:38:06 T:2706306112 NOTICE: Thread JobWorker start, auto delete: true
09:38:07 T:2678060096 NOTICE: -->Python Interpreter Initialized<--
09:38:09 T:2678060096 NOTICE: Thread JobWorker start, auto delete: true
09:39:08 T:3029550144 NOTICE: Previous line repeats 5 times.
09:39:08 T:3029550144 NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205)
09:39:11 T:2706306112 NOTICE: Thread BackgroundLoader start, auto delete: false
I dont see a reboot in the logs. What could be wrong?
Also can you explain the settings of the addon? What can I put in at Query?
I want to see if I can skip some scans to speed up this process. Quick win will be to get rid of all images without a lasthashcheck in Textures13.db
UPDATE:
Today I tried again this time with a path of my NAS to dump the files.
It scanned for about 11 Hours, then it was done. When I start it again its still the same size (nothing was removed)
Log reads:
Code:
01:58:45 T:2622035008 NOTICE: [Thumbnails Cleaner] - Starting Thumbnails Cleaner v1.1.4
01:58:45 T:2651845696 NOTICE: Thread LanguageInvoker start, auto delete: false
01:58:46 T:2651845696 NOTICE: -->Python Interpreter Initialized<--
01:58:46 T:2651845696 WARNING: CPythonInvoker(37): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
01:59:33 T:3029550144 NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205)
01:59:36 T:2651845696 NOTICE: [Thumbnails Cleaner] - Database folder selected: /home/pi/.kodi/userdata/Database/
01:59:36 T:2651845696 NOTICE: [Thumbnails Cleaner] - Thumbnails folder selected: /home/pi/.kodi/userdata/Thumbnails/
02:00:09 T:2651845696 NOTICE: [Thumbnails Cleaner] - The cleaning was started at 2015-04-02 02:00:02
02:00:18 T:3037945856 NOTICE: NFS is idle. Closing the remaining connections.
02:01:07 T:2651845696 NOTICE: [Thumbnails Cleaner] - *** Reading data for the movies ***
02:01:07 T:2651845696 NOTICE: [Thumbnails Cleaner] - Sending JSON query. Please wait...
02:01:10 T:2651845696 NOTICE: [Thumbnails Cleaner] - Found 262 movies in the database
02:01:12 T:2651845696 NOTICE: [Thumbnails Cleaner] - Removing duplicate elements from JSON query
02:01:12 T:2651845696 NOTICE: [Thumbnails Cleaner] - Comparing 433 images to exclude files
02:12:36 T:2630423616 NOTICE: Thread JobWorker start, auto delete: true
02:50:39 T:2651845696 NOTICE: Previous line repeats 1 times.
02:50:39 T:2651845696 NOTICE: [Thumbnails Cleaner] - *** Reading data for the collections ***
02:50:39 T:2651845696 NOTICE: [Thumbnails Cleaner] - Sending JSON query. Please wait...
02:50:41 T:2651845696 NOTICE: [Thumbnails Cleaner] - Found 81 collections in the database
02:50:42 T:2651845696 NOTICE: [Thumbnails Cleaner] - Removing duplicate elements from JSON query
02:50:42 T:2651845696 NOTICE: [Thumbnails Cleaner] - Comparing 162 images to exclude files
02:54:05 T:2630423616 NOTICE: Thread JobWorker start, auto delete: true
03:08:33 T:2651845696 NOTICE: Previous line repeats 1 times.
03:08:33 T:2651845696 NOTICE: [Thumbnails Cleaner] - *** Reading data for the tv shows ***
03:08:33 T:2651845696 NOTICE: [Thumbnails Cleaner] - Sending JSON query. Please wait...
03:08:35 T:2651845696 NOTICE: [Thumbnails Cleaner] - Found 67 tv shows in the database
03:08:35 T:2651845696 NOTICE: [Thumbnails Cleaner] - Removing duplicate elements from JSON query
03:08:35 T:2651845696 NOTICE: [Thumbnails Cleaner] - Comparing 174 images to exclude files
03:21:39 T:2630423616 NOTICE: Thread JobWorker start, auto delete: true
03:27:02 T:2651845696 NOTICE: [Thumbnails Cleaner] - *** Reading data for the seasons ***
03:27:04 T:2651845696 NOTICE: [Thumbnails Cleaner] - Found 1 seasons in ABC
03:29:24 T:2651845696 NOTICE: [Thumbnails Cleaner] - Removing duplicate elements from JSON query
03:29:24 T:2651845696 NOTICE: [Thumbnails Cleaner] - Comparing 71 images to exclude files
03:36:44 T:2651845696 NOTICE: [Thumbnails Cleaner] - *** Reading data for the episodes ***
03:36:45 T:2651845696 NOTICE: [Thumbnails Cleaner] - Found 9 episodes in EFG
03:37:44 T:2651845696 NOTICE: [Thumbnails Cleaner] - Removing duplicate elements from JSON query
03:37:44 T:2651845696 NOTICE: [Thumbnails Cleaner] - Comparing 929 images to exclude files
03:42:35 T:2731471936 NOTICE: Thread VideoInfoScanner start, auto delete: false
03:42:35 T:2731471936 NOTICE: VideoInfoScanner: Starting scan ..
Why are there no errors but also nothing cleaned? on the target directory on my NAS there are also no files made? BACKUP addon writes to same folder so its not insufficient rights on destination folder).
Also strange that the log does not show any entries after 3:37 AM since when i checked at 10:00 AM it was still running.. might the auto update library feature break the script?