Library Persistance through Outages

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jumentous Offline
Junior Member
Posts: 6
Joined: Jun 2010
Reputation: 0
Post: #1
Hi all,

I'm using xbmc on a ubuntu platform (though i don't think this is a pfatform issue), and one of my sources is an external harddrive which has a slightly dodgy connection. When the harddrive isn't connected and the library updates then the library looses everything from this device including watched, recently added etc.

Is there a way that i can set XBMC to remember all this stuff even if the source is missing, not showing them in the library is good when not available, but i just don't want to have to re-import everything when i reconnect the device.

How can i accomplish this?

find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,252
Joined: Nov 2008
Reputation: 119
Location: Chester, UK
Post: #2
Don't clean the library. If you have the library set to automatically clean or update then disable this.

find quote
jumentous Offline
Junior Member
Posts: 6
Joined: Jun 2010
Reputation: 0
Post: #3
Right, but unless xbmc is in some other way able to detect changes and additions to the file system automatically i'm left with either a library that occasionally goes missing or a library that is often stale.

I think almost every guide i read suggested adding a cron job to update the library as the standard way to keep things up to date.
find quote
prae5 Offline
Team-XBMC Forum Moderator
Posts: 2,064
Joined: Jan 2009
Reputation: 34
Location: Cambridge, UK
Post: #4
If you clean the library it will remove all items that cannot be found. Updating the library adds new items - it does not remove anything. It is only when you run a clean library that it will remove items that cannot be found.

If you have an unreliable external source or network sources that are offline then automated library cleans are not the best idea.
find quote