Posts: 1,546
Joined: Jun 2005
Reputation:
1
2005-11-01, 16:18
i wish there was a way to synchronize multiple xboxes (maybe there is and i just don't know how?). i currently have two machines around the house that are fed media from a couple servers in the basement. i would like to upgrade to four xboxes, but the pain of managing them all keeps me from doing it.
example: i purchase a new dvd and rip it to the server. i now have to go to each xbox and scan the movie in. if imdb scans in some incorrect info for the movie, i then have to go in and manually edit the db on each machine.
it's not a major problem with two machines, but you can see what a pain it would be with 4 or more. what sucks is that ultimately the movie info in the db needs to be the same across all the machines. it would seem a logical solution would be to move the db's to the server, but i think some db elements like the stored aspect ratio might make that problematic.
does anyone have a suggestion on this or even a better idea that could possibly be implimented in future releases?
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
sure, i have the same problem. just copy the database between boxes (assuming all of them are running the same exact version.)
Posts: 761
Joined: Nov 2003
Reputation:
0
just run an automated script, or even a quick batch file that will delete the current db and ftp over a new one when ever you run it.
Posts: 1,546
Joined: Jun 2005
Reputation:
1
one problem with copying over the db is that i don't leave both the xboxes turned on all the time. if i ever get as many xbmc boxes as i want, i'll be running all over the house turning them on just so i can update the db on all of them and then run all around and turn them all back off. that's why something like a non-local db would be so great.
in any event it looks like copying the db will be my only option.
senergy - i don't know how to write a script or batch file. do you know anywhere i can get some info on how to write one to do that?
Posts: 4
Joined: Nov 2005
Reputation:
0
well.. xbmc can run a script at startup right? what about when closing? if you can get it to do it when closing you could always....
make a small script that on closing, uploads the database file to your server.
then just make a script that upon loading xbmc it downloads the latest database when it starts.
this way you don't have to do it. every time you turn on your xbox and start up xbmc it would grab the latest database.
Posts: 1,546
Joined: Jun 2005
Reputation:
1
that sounds like a great idea. is it possible? can the xbox initiate a file download from a computer?
really, all it would need to do is run at startup and delete the current db on the system and download the updated one from my server. i wouldn't need a script to run at shutdown, because i would always keep a up-to-date copy of the db on the server and that would be the one i edit.
that would be a killer solution if it's possible... and if i can figure out how to write the script to do it!
Posts: 1,546
Joined: Jun 2005
Reputation:
1
anyone with anymore input on whether this is doable or not? are there any potential pitfalls?
Posts: 4
Joined: Nov 2005
Reputation:
0
well it should be possable, if you can't get it to work with ftp (which it should be able to do, belive i've seen ftp scripts...) you could always run a web server on the server and just grab the file that way. we know the xbmc python can do web pages, that's how quicktime browser and all that work. so i would say it's very possable.
Posts: 1,546
Joined: Jun 2005
Reputation:
1
anyone care to help me out with this script? i've never wrote on before and i've been reading some python tutorials, but they're more about making some text or a window pop up. i don't see anything about initiating an ftp session and copying a file. nor do i see how to run a script at startup and shutdown.
after thinking about it more, and i think xlilcasper is right. i need it to copy the db from the server on startup and copy to the server on shutdown.
i'd really appreciate any help on getting started with this.
Posts: 14
Joined: Apr 2006
Reputation:
0
is there an easy* way to share all of the database data between multiple xbmc's on the same subnet? i have a mythtv box that's on 24 hours connected to my xbmc's using smb, so that would be a likely candidate for hosting.
essentially, i'd be looking to do something like this: whenever i get imdb data on one xbox, that data's stored someplace on my server. even cooler, when i stop a video on one xbmc, that stop point would be stored on the server so that regardless of which xbox i'm at, the video resumes from that stop point.
any ideas?
*"easy" meaning one or more text files i can edit without have to recompile all of my own code.
Posts: 34
Joined: Nov 2004
Reputation:
0
i'm doing a nas (network attached server) which is basically a crappy old pc with a few hds in it attached to a router with win xp and smb set up.
i then have multiple xboxes with xbmc and stream to each. all xboxes have a common xboxmediacenter.xml which have bookmarks pointing at the nas
that does what you want to do!
Posts: 440
Joined: Mar 2005
Reputation:
0
that's not what he meant.
he meant he wants his mymusic.db, myvideos.db, etc stored on a network location and not locally on his xbox.
he then could access the database files from all the other xboxes in his home.
not sure if this is possible..
Posts: 10
Joined: Jun 2005
Reputation:
0
2006-06-24, 19:54
i've got a couple of xbox's at home that i use primarily to play movies, tv shows and music from a small server computer. can i use common xbmc databases for both?
what i mean is, can i tell xbmc to store the video database file on my server (perhaps the whole user data folder), so both instances of xbmc will pull information from the same database?
i realize that this probably isn't possible right now (i'm pretty sure it's not), is this a feature that could end up in a future build?
i can see how having the user data folder on a remote computer might cause problems if xbmc is running and the remote computer is turned off, maybe xbmc could keep a local cache of the remote user data folder?
would any of this be possible? or have i smoked too much crack again?
Posts: 1,544
Joined: Jan 2005
Reputation:
0
if you had both xboxes with the same info in settings and say they pointed to a smbshare certainly but it would be slow as hell as they tend to cache and the transfer alone... well you get the idea.
but by all means give it a try.