Library Clean
#1
Hi,

I have had an issue since using XBMC on Windows, never had the issue when running on the Xbox.
The problem is that i have to manually go into the settings menu and press "clean library" so that all the shows/movies that i have deleted off the server are removed from the xbmc library.
Im sure there used to be an option for it to do it automatically on startup just as it updates the library it also cleans it.

Am i going madHuh
Reply
#2
you can set it to clean library on startup in your advancedsettings.xml
Reply
#3
iirc there has never been an option to do this through the gui.

However, you can add it to your advancedsettings.xml so it does it automatically when scanning - cleanonupdate i think.
Reply
#4
Was there never an option to highlight to make it do this before?
As to editing the xml file, i would just be lost Sad
Reply
#5
got to your user folder and see if there is an advancedsettings.xml file.

if there is open it in a text editor and add the following...
Code:
<videolibrary>
      <cleanonupdate>true</cleanonupdate>
   </videolibrary>
   <musiclibrary>
      <cleanonupdate>true</cleanonupdate>
   </musiclibrary>
if you don't open a text editor and paste the following...
Code:
<advancedsettings>
   <videolibrary>
      <cleanonupdate>true</cleanonupdate>
   </videolibrary>
   <musiclibrary>
      <cleanonupdate>true</cleanonupdate>
   </musiclibrary>
</advancedsettings>

***edit***
then save it as advancedsettings.xml sorry
******
read the wiki article on it as there is a lot of good info and some handy features to add in.
Reply
#6
Thank you.
I shall give it a go this evening.
I think it should be included just as the "update library on startup" is.
Reply
#7
MrAvant Wrote:Was there never an option to highlight to make it do this before?
As to editing the xml file, i would just be lost Sad


Was never an option in the gui to do this afaik.
Reply
#8
I Couldn't wait and just tried it.
I did not have a advancedsettings.xml file in the userdata folder within the XBMC folder.
I created the file as explained using notepad,m copied and pasted and saved as advancedsettings.xml withing the userdata folder.

I restarted XBMC and it did not work Sad am i doing something wrong?
Reply
#9
Enable debug logging, restart xbmc, do a update and then post the log to pastbin.com
Reply
#10
Just done it.
Its under Library clean.
I hope i have done it right as it was my first time Smile
Reply
#11
if this helps: http://pastebin.com/nHkpgjBM
Reply
#12
nothing at link, make sure you saved the advancedsettings.xml in the user profile and not program files.

win7/vista: c:\users\yourname\appdata\roaming\xbmc\userdata
winxp: c:\documents and Settings\yourname\application data\xbmc\userdata

if it's there and not working try to repost your debug log.
Reply

Logout Mark Read Team Forum Stats Members Help
Library Clean0