Kodi Community Forum
How to remove invalid entries from the DB? - 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: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: How to remove invalid entries from the DB? (/showthread.php?tid=199907)



How to remove invalid entries from the DB? - kl1k - 2014-07-14

I seem to have a few entries in the xbmc database for tv series that I've long deleted. Is there anyone to remove these entries - apart from cleaning the db and starting from scratch. I dont want to lose the database of all the shows I'm busy watching.

Code:
16:00:13 21575.876953 T:2825983040 WARNING: Process directory 'nfs://192.168.1.202/home/disk1/TV/Seinfeld/' does not exist - skipping scan.
16:00:14 21576.521484 T:2825983040 WARNING: Process directory 'nfs://192.168.1.202/home/disk1/TV/Smallville/' does not exist - skipping scan.
16:00:36 21598.654297 T:2825983040 WARNING: Process directory 'nfs://192.168.1.202/home/disk2/TV/Chuck/' does not exist - skipping scan.
16:00:39 21601.525391 T:2825983040 WARNING: Process directory 'nfs://192.168.1.202/home/disk2/TV/Enlisted/' does not exist - skipping scan.



RE: How to remove invalid entries from the DB? - Milhouse - 2014-07-14

If you've removed the shows from your filesystem then you need to perform a library clean (Settings -> Video -> Clean library...).

The clean will only remove movies and shows that are no longer accessible, so it won't remove anything you are busy watching (as long as the files remain accessible to XBMC).


RE: How to remove invalid entries from the DB? - kl1k - 2014-07-15

Thanks. I always thought a clean library trashed everything Smile


RE: How to remove invalid entries from the DB? - Milhouse - 2014-07-15

It shouldn't do - just make sure your sources are all online (removable HDD connected etc.) when you perform the clean. Prior to Gotham, media on removable storage was at risk of being removed if the storage wasn't connected, but there are some checks to prevent this now.