2012-02-16, 16:36
I have read http://wiki.xbmc.org/index.php?title=HOW...ts_of_XBMC
(nice job on the wiki update by the way)
I want my multiple XBMC's (6 in my house) to all by synchronized as much as possible (inlcuding installed add-ons).
Syncing the library content was easy since MySQL takes care of that. But there are many other parts of XBMC that need to by sync'd.
The wiki recommends syncing these from your userdata folder:
Thumbnails
Playlists
addon_data
keymaps
sources.xml
RssFeeds.xml
I also sync:
addons (next to the userdata folder)
userdata/Database (yes, that's right, I'm syncing SQLite .db's)
userdata/peripheral_data
userdata/favourites.xml
userdata/LCD.xml
userdata/playercorefactory.xml
userdata/profiles.xml
I do NOT synchronize:
guisettings.xml - Although it would be nice to sync this, it has too many components that are specific to the device running XBMC. Most of my XBMC devices are different make/model...
upnpserver.xml - This contains a UUID, so it shouldn't be shared.
The main thing you may find odd (or not recommended) is that the actual addon's directory is synchronized. This means that if I install or update an addon on any of my XBMC's, it's installed and updated on all the other ones.
I also have to synchronize my userdata/Database directory because that includes the AddonsXX.db file that tracks which addons i have. It also includes other databases such as texturesX.db and viewmodesX.db that are nice to have synchronized.
Since I use the PVR branch of XBMC (Eden B2), syncing the .db's also keeps all my channels, guide data, and recordings synchronized.
This has been working flawlessly for me for the past month or so.
I always run the same build on all my XBMC instances, which is essential if you are going to share things the way I am. They all use the same (default) skin.
I know that sharing the SQLite db's in not recommended, but in my scenario, it has been working flawlessly. If all your XBMC's are eseentially clones, I don't see any reason why you can't share SQLite DB's.
Also, I run all my XBMC's with the -p switch (portable mode). It just keeps everything inside the XBMC installation directory. I believe this could be done without that, but I've never tried it.
Lastly, I use symbolic links to synchronize all of my folders, so don't ask me what the correct pathsubstitution xml to use is![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
Team-XBMC: Am I asking for trouble synchronizing this much stuff? Like I said, this has been working flawlessly for a month or so... I thought I'd share in case anyone else is in a similar situation.
(nice job on the wiki update by the way)
I want my multiple XBMC's (6 in my house) to all by synchronized as much as possible (inlcuding installed add-ons).
Syncing the library content was easy since MySQL takes care of that. But there are many other parts of XBMC that need to by sync'd.
The wiki recommends syncing these from your userdata folder:
Thumbnails
Playlists
addon_data
keymaps
sources.xml
RssFeeds.xml
I also sync:
addons (next to the userdata folder)
userdata/Database (yes, that's right, I'm syncing SQLite .db's)
userdata/peripheral_data
userdata/favourites.xml
userdata/LCD.xml
userdata/playercorefactory.xml
userdata/profiles.xml
I do NOT synchronize:
guisettings.xml - Although it would be nice to sync this, it has too many components that are specific to the device running XBMC. Most of my XBMC devices are different make/model...
upnpserver.xml - This contains a UUID, so it shouldn't be shared.
The main thing you may find odd (or not recommended) is that the actual addon's directory is synchronized. This means that if I install or update an addon on any of my XBMC's, it's installed and updated on all the other ones.
I also have to synchronize my userdata/Database directory because that includes the AddonsXX.db file that tracks which addons i have. It also includes other databases such as texturesX.db and viewmodesX.db that are nice to have synchronized.
Since I use the PVR branch of XBMC (Eden B2), syncing the .db's also keeps all my channels, guide data, and recordings synchronized.
This has been working flawlessly for me for the past month or so.
I always run the same build on all my XBMC instances, which is essential if you are going to share things the way I am. They all use the same (default) skin.
I know that sharing the SQLite db's in not recommended, but in my scenario, it has been working flawlessly. If all your XBMC's are eseentially clones, I don't see any reason why you can't share SQLite DB's.
Also, I run all my XBMC's with the -p switch (portable mode). It just keeps everything inside the XBMC installation directory. I believe this could be done without that, but I've never tried it.
Lastly, I use symbolic links to synchronize all of my folders, so don't ask me what the correct pathsubstitution xml to use is
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
Team-XBMC: Am I asking for trouble synchronizing this much stuff? Like I said, this has been working flawlessly for a month or so... I thought I'd share in case anyone else is in a similar situation.