XBMC "Server" - centralized XBMC management for multiple XBMC devices/platforms?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
psike Offline
Fan
Posts: 357
Joined: Aug 2008
Reputation: 0
Post: #16
That exactly how i used it until now, but now there is a new scrapper that get info in my language so I prefer use it over XBMC Media Companion.
So I need another idea to work around it.
find quote
t029248 Offline
Fan
Posts: 309
Joined: Apr 2004
Reputation: -10
Location: Holanda
Post: #17
I'm using also multiple XBMC instances and it would be great if i could put the library on a shared network location.
find quote
shl-pl Offline
Junior Member
Posts: 3
Joined: Aug 2008
Reputation: 0
Post: #18
I'm not sure what will happen if you fire 2 instances of XBMC and each one will try to lock any of the library files at the same time. But you can edit userdata\profiles.xml and change the location of <directory/>, ie.:
<directory>E:\Whatever you want</directory>
This would make XMBC to save \Database, \Playlist, \Thumbnails and \Visualisations folders at the given location. You can put there advancedsettings.xml, favourites.xml and sources.xml files as well.
find quote
althekiller Offline
Team-XBMC Developer
Posts: 4,930
Joined: May 2004
Reputation: 12
Post: #19
Problem with the current way things are handled in instances like; start XBMC0, start XBMC1, update XBMC0, XBMC1 won't see updates cause it doesn't know anything. Problems become increasingly problematic with stuff like watched. There would have to be a centeral server that handles the transactions and pushes and pulls as necessary. There is another thread about this, search "OFDB".

EDIT: "ODBC" not "OFDB"
(This post was last modified: 2008-09-22 01:23 by althekiller.)
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 9
Location: Sweden
Question  "Miniconf" from the Moblin.org project?
Post: #20
If XBMC already had ODBC support then perhaps "Miniconf" could be implemented as a base to manage the other requirements?

Confused

http://moblin.org/projects/miniconf
Quote:Miniconf a lightweight version of a gconf style key management system which trims out all features that are unnecessary for the mobile environment. Mobile platforms tend to be decentralized multi-user system with users logging in one at a time. Global administration is usually fixed by the OEM with administrative control of the user environment shifted to the user him/herself.

Miniconf operates from the perspective that each user's environment is unique and separate. It satisfies the following basic requirements:

1) Settings Key/Value pairs: An application running on the system should be able to create an unlimited number of settings keys which support all the basic types that DBUS supports: integer, unsigned integer, string, boolean, double, and arrays of the preceding.

2) Notifications on change: Keys should support registering callbacks which send notifications on changes to the key, reads, writes, or deletes.

3) Readable Database: All the keys, their owners, actions, and permissions should be stored in a database for retrieval on boot or applications settings manager restart. The database will reside in the user's home directory.

4) Key Ownership: The application which creates a key should be recorded as the owner of the key (by recording its binary path) and should be able to set notify, read, write, and delete its keys at will.

5) Key Permissions: An owner application should be able to establish permissions on whether other applications can register for change notify, read, write, or delete a key.

6) Control Keys: An owner can designate a key as controlled, which disables writes/deletes for apps other than the owner. When a caller changes the key, the owner is notified with the requested change, and decides whether to allow the change by either returning fail (which sends a fail to the caller), or by returning pass (resulting in the change and notifications for reg'd apps).

The first three requirements are also satisfied by gconf, but with gconf the database is stored centrally in /usr/share and is mirrored to every user's home directory. For our purposes we will maintain a single database in the user's home directory, one that is visible only to that user. The last three requirements are additions to gconf functionality that improve security and expand the functionality of key/value pairs.
PS! Checkout this other related but still off-topic feature suggestion => http://forum.xbmc.org/showthread.php?tid=24415

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
AaronG85 Offline
Senior Member
Posts: 195
Joined: Nov 2008
Reputation: 0
Location: Budgewoi, New South Wales
Post: #21
Ok i know alot of people here only use XBMC on one machine or two. But my problem is im currently in the middle of building a 5 bedroom house and have 6 LCD screens (1 in each room + the lounge room) and they all are going to have small computers connected to them for the kids internet/games/etc. But what i was wondering that instead of setting each one up with a separate XBMC i was wondering if there is a way that i can setup my lounge room XBMC as the main one and then on each of the other computers can just extend it to them.
find quote
smcnally75 Offline
Aeon Group
Posts: 980
Joined: Sep 2007
Post: #22
You already can connect them all together via UPnP. You will, however, still need to setup XBMC on each one and store games locally on each one since the games can only be played from the local drive.
find quote
AaronG85 Offline
Senior Member
Posts: 195
Joined: Nov 2008
Reputation: 0
Location: Budgewoi, New South Wales
Post: #23
the internet and games are fine stored locally they can just exit xbmc and load there games but the main thing is letting them access XBMC but without the chance of them changing/deleting/moving something.
find quote
Rookie Offline
Senior Member
Posts: 185
Joined: Jul 2008
Reputation: 0
Post: #24
I don't have any experience in this so I won't act like I do.But couldn't The Gemini server(for xbox) be implemented as a application somehow to run beside XBMC?Like I said I have no Idea if any of what it was or is can even be used in this situation.If I am way off please ignore me.Smile
find quote
n1ght3y3s Offline
Junior Member
Posts: 15
Joined: Feb 2009
Reputation: 0
Question  "Server / Client" style install of XBMC?
Post: #25
Hi there everyone.

I did a little poking around but couldn't really find anything that fit what I wanted to do.

I have a main HTPC installation with XBMC on it and it it running beautifully. What I want to do is install it on my bedroom PC and share the database/fanart across the two PCs. Is this at all possible ?

Thanks
find quote
althekiller Offline
Team-XBMC Developer
Posts: 4,930
Joined: May 2004
Reputation: 12
Post: #26
There are several threads on this. ATM, the only *way* to do this would be to put the profile data on some network share and point all installs to this. However, you will likely run into the obvious latency and concurrency problems. If you want more detail on what's been discussed before just search the forums for things like "share database" and you should finds all sorts of info.
find quote
rcoops Offline
Senior Member
Posts: 121
Joined: Oct 2008
Reputation: 0
Post: #27
Maybe a case could be made for making a sort of API interface between the data store and the rest of XBMC, it would not change the way XBMC works right now but it would offer further development posibilities.
As soon as there is an API between the data store and the rest of the system one could take out the datastore and replace this by a system that is able to handle multiple users and multiple locations.

I have no idea how hard it might be to do something like that in the code (never looked at that part of it before) but I think it would be a worthy investment of time and effort that could open up a whole new realm of posibilities for displaying and using the data stored in the DB.
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #28
rcoops Wrote:Maybe a case could be made for making a sort of API interface between the data store and the rest of XBMC, it would not change the way XBMC works right now but it would offer further development posibilities.

As soon as there is an API between the data store and the rest of the system one could take out the datastore and replace this by a system that is able to handle multiple users and multiple locations.
Yes I believe that something like ODBC (Open Database Connectivity) database abstraction layer would be needed to allow multiple client connections to the same database at the same time, this has been discussed before, see:
http://forum.xbmc.org/showthread.php?tid=37449
and
http://forum.xbmc.org/tags.php?tag=synchronize

The problem is, as usual, getting a developer with the time, interest, and skill to code this and submit a patch.

PS! I am not a programmer/coder myself Frown

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2009-05-05 10:35 by Gamester17.)
find quote
wstewart Offline
Senior Member
Posts: 212
Joined: Jan 2009
Reputation: 1
Location: Canada
Post: #29
As a first step, I am looking at providing an option to use a networked mysql database for videos (and later music). My idea to add an setting that allow you to chose either the current local database scheme, or specify a server address/name, userid, password for a mysql server. The databases would be created based on the user profile selected in xbmc. If the same user profiles are setup in each frontend, then the database would be shared. Mysql has no issue with multiple database connections. This is the way mythtv works and I have a fair amount of experience with the mythtv side.

I've just started looking at the code, but it doesn't look to bad since sqllite and mysql are pretty similar.
find quote
TigerHeart Offline
Junior Member
Posts: 11
Joined: Feb 2009
Reputation: 0
Exclamation   
Post: #30
Why don't you just split database (library) to remote (read only) part and local (full access) part? And let the XBMC merges them all together on every power on.
Because XBMC clients may have their own HDDs and some media files on it. So local media will be scanned to local database, which will be stored on the local HDD or USB Flash Drive.
In the same way you can split profiles to the remote and local parts, which will be merged on every power on. The local part may contain, for example, hardware information (like screen resolution, audio output and so on).
(This post was last modified: 2009-05-15 10:13 by TigerHeart.)
find quote
Post Reply