XBMC - Clean Library Function, deletes entire library from database?
#1
I have a strange issue, i've been updating my media library to HD and as a result have a large number of duplicates, ive been cleaning up on the file server side as i go along.

This afternoon i thought i would run the clean library function, assuming the system would interrogate each entry in the library, if it could not find a resulting file the entry would be removed from the database. However what i have found is that it simply completely wipes the library - checking the tvshow / movie count in the database also shows 0 entries.

While im waiting for 780 movies to be imported back into the library, would anyone have any ideas why this might be the case?

Im running xbmc 12 RC3 on Win 7, the source files for my media (and shared database) are located on a separate windows 08 r2 (WHS) server and accessed via SMB, xbmc has no issues accessing the shares, as to get it back all i need to to is select the source and rescan it.

I've also found it also drops the source settings - what the source is (Movies / TV / Music) and scraper settings.
Reply
#2
(2013-01-22, 11:22)Binskin Wrote: I have a strange issue, i've been updating my media library to HD and as a result have a large number of duplicates, ive been cleaning up on the file server side as i go along.

This afternoon i thought i would run the clean library function, assuming the system would interrogate each entry in the library, if it could not find a resulting file the entry would be removed from the database. However what i have found is that it simply completely wipes the library - checking the tvshow / movie count in the database also shows 0 entries.

While im waiting for 780 movies to be imported back into the library, would anyone have any ideas why this might be the case?

Im running xbmc 12 RC3 on Win 7, the source files for my media (and shared database) are located on a separate windows 08 r2 (WHS) server and accessed via SMB, xbmc has no issues accessing the shares, as to get it back all i need to to is select the source and rescan it.

I've also found it also drops the source settings - what the source is (Movies / TV / Music) and scraper settings.

I had this happen to me as well, several times actually! Though in my case the source of my movies was turned off (desktop-computer) so it kinda made sense.

In your case, could it be that the SMB share disconnected due to time out (default is 15 min i think).

It can be turned off in two ways, either on the klient side, or the server.

Here's how to do it on the server.

Just open up a cmd with administrator rights and enter this command.

Code:
net config server /autodisconnect:-1

"net config server /autodisconnect:number

number is the number of minutes that you want the server to wait before disconnecting the connection."


Maybe that'll help.

Cheers!

Reply
#3
Excellent, thanks for the input, ill give it a go tomorrow (after i backup my library this time!)

Will post back with the findings.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
XBMC - Clean Library Function, deletes entire library from database?00
This forum uses Lukasz Tkacz MyBB addons.