rimmi2002
Senior Member
Posts: 128
Joined: Jun 2008
Reputation: 0
|
mitul103 Wrote:This is what you want. It will clean any out any entries that you have deleted.
If you read through the advancedsettings.xml section on the wiki, you will find a setting to clean on update as well if you are looking for something like that. It is off by default though because you can't guarantee network storage will always be visible and it would suck for the library to get deleted because of a network issue.
Something like this would work well for me...cause I am not running a network. everything is on my HTPC. Thanks for the link.
|
|
find
quote
|
wildonrio
Senior Member
Posts: 217
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?
|
|
find
quote
|
jbasila
Junior Member
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?
|
|
find
quote
|
DLeavy
Fan
Posts: 371
Joined: Jun 2011
Reputation: 8
|
(2009-01-11 23:52)Hitcher Wrote: Settings > Video > Clean Library
Yep. Exactly what Hitcher said.
Clean library doesn't remove everything from the library. It removes entries that no longer exist within the sources defined.
(This post was last modified: 2012-03-17 14:51 by DLeavy.)
|
|
find
quote
|
bigbwit
Junior Member
Posts: 9
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?
|
|
find
quote
|