(How can I?) Central library at home, local library when on the go
I use a shared, central at home, shared between all my devices. However, when I take my laptop on trips, I still want to use XBMC to access local content and plugins. Has anyone come up with a way to do this, in Windows, that doesn't involve manually renaming/moving advancedsettings.xml each time I leave or come home?
I've also got XBMC on my Android tablet, so does anyone know how to do the same thing in Android?
I know XML isn't a programming language, but I'm wondering if XBMC will utilize XLS if/case statements. Maybe then, I could have the advancedsettings check for the existence of my server and then choose the appropriate library.
Easiest way is to create different XBMC user profiles, one for "Home" with sources pointing to your central library and another for "Away" with sources pointing to your local library.
When I say central library, I mean using MySQL, not just shared sources. AFAIK, central databases setup this way can't be assigned to a specific profile as the DB settings are set in advancedsettings.xml. If I'm away from home and leave my settings alone, XBMC won't even boot because it can't find my DB.
Josh1454 hit on the right answer.


Everything in the userdata folder can be changed for each profile. The advancedsettings.xml, and the sources.xml are both kept in you userdata folder.
Quick Links: debug log (wiki) | userdata (wiki) | advancedsettings (wiki) | adding videos to the library (wiki)
Ah I see, I think I read a solution to this while setting up my own MySQL backend. Perhaps it's in one of my bookmarks... Good luck to you in the mean time!

Edit: Looks like thrak76 beat me to it! Smile
So, I would set up two different profiles, each pointing to different profile folders, and set the one using a local DB as the default profile?
Sounds about right. I found this how-to thread that might be helpful. It's written for iPad users but the principle is the same.
Totally agree with Josh1454. I think he just gave you the answer you wanted Big Grin
Yep, I already acknowledged that. The problem I kept running into was that, as long as the master profile pointed to my central DB, even if the log in screen was turned on, XBMC wouldn't boot unless it could see the remote DB. That's why I didn't think the solution would work. However, once I assigned a *secondary* profile to use the central DB instead of the master profile, it worked.
I'm glad that it worked out for you.

Profiles are pretty neat, and very useful for a family machine! I'd never tried them in the manner you're using (local and remote sources), so I learned from this thread too.
Quick Links: debug log (wiki) | userdata (wiki) | advancedsettings (wiki) | adding videos to the library (wiki)
There's also a section for this in the MySQL guide on the wiki: HOW-TO:Sync multiple libraries/Portable devices and profiles (wiki)
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
(How can I?) Central library at home, local library when on the go00