Posts: 15
Joined: Dec 2008
Reputation:
0
mauwf
Junior Member
Posts: 15
2009-04-12, 20:48
Hi all, I wonder if anyone can help me. I have two Xboxes running XBMC in different rooms. All my media is on a NAS which they can both access fine through a SMB share.
At the moment they are pretty much set up identically. However, if I add more items to my media library I have to remember to update both libraries (updating on startup isn't practical due to the volume of media) and when I watch something on one Xbox, I have to tag it as watched manually on the other.
Is it possible for the media library info to be on the NAS and both Xboxes access it. In particular would there be issues if both tried to access it at the same time and would it cause a bog slowdown?
Cheers for any help.
Posts: 48
Joined: Mar 2009
Reputation:
0
smack
Junior Member
Posts: 48
I do not have an answer to this but wanted to know if you got an answer and what it was. Could you let me know?
Posts: 140
Joined: Apr 2009
Reputation:
0
gavo
Senior Member
Posts: 140
I think correct me if Im wrong with the newer xbmc builds tech daily builds. You can export your library from there if you have your library exported into your nas drive. It should pick it up?
Posts: 1,677
Joined: Apr 2007
Reputation:
7
When you get one xbox set-up the way you need, you can just transfer the Userdata folder to the other xbox.
Posts: 7
Joined: Oct 2008
Reputation:
0
I've got 6 instances of xbmc running on various platforms (XP,Vista,ubuntu 9.04,Sabayon 4,mythbuntu 8.10 and Sabayon MCE 4.0 )
So this has become a real hassle for me, the best idea I've come up with would be to have a set content option that would do the lookups to another xbmc instance (perhaps by smb sharing the DB), I think this method would be easier to implement cross-platform and would only require one machine to be on all time, which in my case is always true because one macine hosts the content.
That however is as far as I have went with the concept if if was PHP/Mysql I could probably bang out a quick solution, but I've never picked up python and have not even looked into what the DB is in xbmc.
Posts: 708
Joined: Feb 2009
Reputation:
144
To do this across multiple PC's, running NT or Vista...
Create a folder on your server to act as the shared USERDATA folder.
Install XBMC on each of your PCs and install in 'portable mode'.
Now, within each PC's XBMC folder... delete the userdata folder then create the following SYMBOLIC LINK to your network userdata folder...
mkdir /d "userdata" "\\myserver\shareduserdata\"
this will make a symbolic link from each of your PC's to one common folder on the server.
HOWEVER... never manipulate data from multiple PC's at the same time.... do your scanning on one PC only.
Also... be aware that the 'local' database is now on a server, so you better have a fast network, since XBMC wasn't designed to do this!
If any of this is confusing to you.... be careful, this isn't rocket science but it's also not for beginners.
Posts: 11
Joined: Feb 2009
Reputation:
0
2009-05-15, 13:10
(This post was last modified: 2009-05-15, 13:13 by TigerHeart.)
And one more idea.
XBMC device could even cache downloaded database parts locally and then (on next start up) check the checksum, and, if they not been changed/updated from the last start up, use the cached part to improve start up time. So, it would download only changed database parts, but not all of them.
Posts: 15
Joined: Apr 2009
Reputation:
0
Nattal
Junior Member
Posts: 15
Just tagging on the back of this as my question is related (I think). I currently have XBMC setup on my main comp, but am building a new HTPC. I plan to try a live install on the new rig, could I just export my library from my existing setup and import to the live install (on a USB drive)? Its only a one time run to transfer the library, not something I need to sync or repeat.
Posts: 145
Joined: Sep 2007
Reputation:
0
Ok, i've read through this entire thread 3 times now...
Can somebody PLEASE just write a script!?
I know you can trigger scripts when XBMC loads as I had a script running a few years back.
What it needs to do is:
1) On the Master Xbox (the one that you update and make changes to), open an FTP session, copy the 'MyVideos34.db' from '/E/XBMC/UserData/Database' to the server (Where the shared files are).
2) On the Slave Xboxs have a different script that opens an FTP session, copies the 'MyVideos34.db' from the server location to '/E/XBMC/UserData/Database'.
This will allow the entire network to have the most up to date database at all times!
Am I missing something else?
Help regarding this script would be greatly appreciated!
Posts: 2
Joined: Apr 2009
Reputation:
0
Hey spritemv .. did you get this working? Want to do the same thing with my machines, but I'm also not sure where can I go to edit the smb path?