Kodi Community Forum
Removed non library files not cleaned from Database - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Removed non library files not cleaned from Database (/showthread.php?tid=364672)



Removed non library files not cleaned from Database - jeffski10 - 2021-09-28

I've set up a couple of file sources that I browse which contain TV recordings  that are typically on off shows/specials that the scrapers never match. I then browse these via the configured source and watch the show.  All works fine except when I then delete the files they remain in the library and never get deleted.  I have tried deleting from disk directly and also removing via the kodi GUI and it seems to make no difference.  I just end up with a load of errors in my log over time for all the folders removed where the SMB connection fails e.g

2021-09-28 16:05:55.061 T:17980   ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting smb://HUB/Recordings/TV/Amol Rajan Interviews Sundar Pichai/

Running with debug didn't really show any more than the SMB error.

https://paste.kodi.tv/obajuwofeg

I see these errors for library shows that have been removed, they appear once and then the entry gets cleaned away from the Library so the error never shows up again.  Its an annoyance more than a problem as I like a clean log so I can spot files not adding etc.

Any suggestions on how to clean these away/why they won't clean automatically.