How to remove invalid entries from the DB?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
kl1k Offline
Junior Member
Posts: 38
Joined: Aug 2008
Reputation: 0
Post: #1
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.
find quote
Milhouse Online
Team-Kodi Member
Posts: 4,242
Joined: Jan 2011
Reputation: 95
Post: #2
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).

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote
kl1k Offline
Junior Member
Posts: 38
Joined: Aug 2008
Reputation: 0
Post: #3
Thanks. I always thought a clean library trashed everything Smile
find quote
Milhouse Online
Team-Kodi Member
Posts: 4,242
Joined: Jan 2011
Reputation: 95
Post: #4
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.

Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
find quote