Hi Guys,
Sorry I havn't been on for a while. Works been keeping me busy. But there has been some progress.
I've managed to interface Java to the SQLite DB. So here's the solution I'm working on:
1) Setup each XBox on your LAN in the servlet.
2) Select one as the master. Other's are slaves. The master collects the info from IMDB. The servlet then copies (via ftp) the DB to the PC. The PC then copies the DB to all the slaves.
3) You may browse the entire DB from the servlet (where it is local).
Note: All the ftp'ing etc. will be done by the servlet. No need to manually copy stuff. The idea is that once you have setup the XBox's in the servlet the rest is automatic.
Now, for the questions:
Q1) Will there be a problem copying the DB from one XBox and just putting it on another? I understand I'll have to move related files such as DVD covers etc as well as the DB. But is there a situation where this will not work. Bearing in mind that no media will be stored locally on the XBox. It will all be a on a fileserver.
Q2) Is there an easy way to find the paths to DB files etc. on the XBox remotely (Such as if it's installed as a dashboard or application, or which drive it's on)? Or should I just require the user to input the paths when setting up an XBox on the servlet. It would be nice if they didn't have to.
I originally had started with getting SQLite working over the network. The PC I was working on gave up the ghost and I had already given back the Visual Studio CD's. Plus the guy I got them from was away so I decided to move on with a different solution.
I like this solution though. It can evolve as a separate project and leaves the local DB on the XBox so there will be no DB access time concerns. Plus you can access what's in your collection externally via the web.
What do you think the chances are that you could add a number of user's in XBMC so that watched/unwatched could be setup for multiple people? Could be no users by default. But the facility to add users would be handy I think. Especially when using the servlet to manage multiple XBox's. This would require synchronising the DB's from all XBox's, but it's really a future concern...
Oh, and jmarshall did you talk to spiff about changing the regexp's for TV Shows?
jmarshall Wrote:2. Regarding TV show regexps - obviously we're open to altering the defaults if there's a reasonable need to do so - will chat with spiff next time he's around.