2021-01-31, 14:48
I'm running a shared database setup and want to clean the database removing entries that no longer exist on the filesystem. I noticed that when I did a video database clean action, my kodi.log would get spammed with 100s of entries for media I no long have on the file system, for example (just cherry picking out 2 examples):
Is there a guide that offers a method to clean such entries from a shared database?
EDIT: I found this older thread but am interested to know if there is something else out there. The suggested SQL did not work for me either.
EDIT2: Got the SQL working and updated the wiki.
Code:
ERROR <general>: Failed to open(//foo/) opendir call failed with "NFS: Lookup of /foo failed with NFS3ERR_NOENT(-2)"
ERROR <general>: GetDirectory - Error getting nfs://10.9.1.122/srv/nfs4/video/foo/
...
ERROR <general>: GetDirectory - Error getting /mnt/media/video/Misc/youtube/roof_racks/
Is there a guide that offers a method to clean such entries from a shared database?
EDIT: I found this older thread but am interested to know if there is something else out there. The suggested SQL did not work for me either.
EDIT2: Got the SQL working and updated the wiki.