Kodi Community Forum

Full Version: Two XBMC machines one library?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

Is it possible for more than one linux XBMC machine to use the same library.
So I can see which tv-series I have seen, on all machines

Br Soeren
Been asked before...see this thread;

http://www.xbmc.org/forum/showthread.php?t=58568
Thanks, but it looks like it's mostly for windows
soeren72 Wrote:Thanks, but it looks like it's mostly for windows

Regardless of the platform, the question has been asked many times before. Search for shared database or shared library.
Just like you'd sync everything else on linux.

Export the mount on one server.

mount 192.168.1.2:/home/xbmc/.xbmc/ /home/xbmc/.xbmc/

Good thing about doing it that way is .xbmc can still be a real directory even if NFS fails.

Or have the .xbmc hosted on a NAS device and mount it to BOTH computers.

Or

Or if you know that they'll never both be run at the same time, in your .xinitrc

#!/bin/bash
rsync -a -P 192.168.1.2:/home/xbmc/.xbmc/ /home/xbmc/.xbmc/
exec xbmc
rsync -a -P /home/xbmc/.xbmc/ 192.168.1.2:/home/xbmc/.xbmc/

Worst case scenario is I don't know how XBMC does file locking. So if two people in different rooms were to try to say update the same file...
Is this anything like 2 girls 1 cup? I hope not.
Thanks darkscout, very usefull