Posts: 138
Joined: Jun 2008
Reputation:
0
I like the library feature in XBMC. With the fan art it makes the titles look very classy. The problem is when I delete files from the comp they do not automatically get removed from the library. Also if I were to rename a file, it will show up in the library again as a duplicate. One title for the old file and one for the new one. Only one of the two library listing will work.
XBMC does not automatically remove the old listing. I tried the update library command. That only adds new files...does not remove not working/moved/renamed titles. Is there a way to ask XBMC to do this? Or does it have to be done manually each time I delete/rename a file?
Not all files are in a separate folder assigned to them. Any help will be useful. Thanks.
Posts: 1,163
Joined: May 2008
Reputation:
7
Waffa
Posting Freak
Posts: 1,163
Clean This folder (videodatabase)
C:\Documents and Settings\username\Application Data\XBMC\userdata\Database\MyVideos34.db
And this folder (thumbnails)
C:\Documents and Settings\username\Application Data\XBMC\userdata\Thumbnails\Video
Posts: 1,163
Joined: May 2008
Reputation:
7
Waffa
Posting Freak
Posts: 1,163
2009-01-11, 23:09
(This post was last modified: 2009-01-11, 23:21 by Waffa.)
That's the location of your library and thumbnails.
This will clean your library and thumbnails in video section.
Edit;
If you just want to delete the files that are wrong do remove them as source and xbmc asks you if you want them to delete also from library.
And with context menu "remove from library"
Posts: 1,163
Joined: May 2008
Reputation:
7
Waffa
Posting Freak
Posts: 1,163
Go in library view to the movie you want to remove press "c" and choose "remove from lbrary".
Posts: 17,414
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,414
Settings > Video > Clean Library
Posts: 222
Joined: Mar 2008
Reputation:
0
I tried the <cleanonupdate> option in advancedsettings.xml and it doesn't seem to work. Here is the text of my xml:
[HTML]<advancedsettings>
<displayremotecodes>true</displayremotecodes>
<videolibrary>
<cleanonupdate>true</cleanonupdate>
</videolibrary>
<tvshowmatching>
<regexp>([0-9]+)([0-9][0-9]) \- </regexp>
</tvshowmatching>
</advancedsettings>[/HTML]
I have the file located in \AppData\Roaming\XBMC\userdata. I have XBMC set to automatically update library on start-up in Settings>Video>Library. As far as I understand, this <cleanonupdate> setting in advancedsettings.xml should also clean the database after it's done updating on start-up. Old movies that have been deleted still remain in the database, however, until I manually go into Settings>Video>Library>Clean library.
Did I do something wrong?
Posts: 1
Joined: Mar 2012
Reputation:
0
Although this is an old post, still I would like to clear the question here.
XBMC does provide a way to clear all library files and re populate them, but this is not what rimmi2002 is aiming to.
I have the same request. I have an HTPC that is connected to the TV, I connect to it remotely and sometimes I do some spring cleaning and remove old movies. From that point, the movies are still in the library of XMBC and will only be removed if someone tried to play the movie, in which case XBMC will ask if you would like to remove the file from the library. There is always the "ugly" way which is to clear the library and re-populate it, but this is really a work-around and not a solution.
The question here: Is there a magical option that will cause XBMC to do a check the content of media sources on startup and remove the ones that do not exist anymore?
Posts: 16
Joined: Apr 2012
Reputation:
0
I have the same question, but with music. I deleted some files on my hard drive and even when I do a Clean Library the artist and song still show up int he library but obviously don't play. The only solution I found is to remove the source and re-add it. There has to be an easier way.
If I do an "Update Library", will that remove any files that no longer exist in the library?