I am using XBMC 10.1 stable on Arch linux, works fine but I am trying to remove my Movies and TV Shows libraries (for the purpose of re-adding them as a Samba source to use on MySQL sharing).
I have removed the sources in Videos, done about 7 Clean Libraries, and still my original library is intact and viewable, no change.
Appreciate any help with this, thanks!
I think you can wipe the library in the file manager by deleting the .db file. Can't remember the exact file name & can't check at the mo, but I'm pretty sure I had this issue before.
Okay thanks, I just removed:
Code:
~/.xbmc/userdata/Database/MyMusic7.db
~/.xbmc/userdata/Database/MyVideos34.db
both to another outside directory, restarted XBMC, and everything is still intact and viewable!
I'm pretty baffled at this point, all I want to do is clear out my library and start over but it doesn't seem possible.
Delete the Myvideos database like you to remove the videos, also delete sources.xml which should be in the userdata folder. If you all ready scanned media into MySQl then you will need to remove the video database from there as well. Make sure XBMC is not running when you delete those files.
Wow. This fixed it for me. I had my sources mapped like \\server\folder and changed it by mapping a drive in Windows and then reverencing the drive letter in XBMC. This got the covers working in Library mode, but it still had the "screen captures" from before. So I had duplicates. I figured it was a problem with the database, so I just renamed it to MyVideos34.old and readded the source. Voila!
So I'm not sure if changing the way the source was referenced made the difference or if by changing that it forced XBMC to really go out and look for new content.
BTW I also used Ember Media Manager to set up all my fan art, etc.
Hopefully this will help another newb behind me!
The issue is, that the sources are not consistent with the entries in the database. Video source settings are done in the xml file, the file path / file names come from the recursive scans in the library to the database. If you use any source path (local drive letter, unc names) for scraping, and this path is valid even after removing it in the ui - the library cleanup will find the files through the database - and will not clean it up. The only chance for unc path clean up is to disconnect the pc from the network, for drive letters you can temporary assign a different letter to the drive and clean up db then.
a funny side effect of this is, that you can completely remove the video source in files - so you cannot browse the file system - but still can play anything in your library. This could be a way to hide stuff from the kids with not much knowledge in computers.
It is far easier to delete the whole database and rescan with the new path settings (using local nfo files created by a media manager could speed up the scraping).
I'm also finding that this problem is consistent with TV Shows. If I add a TV Show source, and then delete the source later, the shows remain, which is expected. But, if I remove them, and then reboot and rescan, they come back.
Has anyone else noticed this?
This is still happening on Kodi Isengard 15.1, does anyone have found out any fix or workaround for this!?
Any help will be awesome!
Still happens to this day..