2009-08-03, 13:35
Great questions...
The table of interest here is the "path" table, both in the Music and Video databases. In this table the column strPath stores the path (eg. smb://media/movies/). We can add two fields here, namely a boolean to indicate its a local path (eg. bLocalPath) and a unique profile ID (eg. idProfile) or XBMC ID (eg. idXBMC). Where local media paths are found only ID's matching the ID doing the requesting will be processed.
This will need a new table that can list all XBMC instances in an XBMC network with persistent unique ID's.
If you are referring to the individual mapping between multiple XBMC instances to the network drive then I would think yes. However, right now I can't think of a case where consistent mapping would not be the norm.
DonJ Wrote:How do we manage local (i.e. sources not shared between clients) and network sources in case the db is used by multiple xbmc clients?
I.e. if we use a central database server for multiple xbmc clients, how do we ensure differentiation between 'local' and 'network' sources.
The table of interest here is the "path" table, both in the Music and Video databases. In this table the column strPath stores the path (eg. smb://media/movies/). We can add two fields here, namely a boolean to indicate its a local path (eg. bLocalPath) and a unique profile ID (eg. idProfile) or XBMC ID (eg. idXBMC). Where local media paths are found only ID's matching the ID doing the requesting will be processed.
This will need a new table that can list all XBMC instances in an XBMC network with persistent unique ID's.
DonJ Wrote:Moreover, do the clients need consistent mapping of network drives?
If you are referring to the individual mapping between multiple XBMC instances to the network drive then I would think yes. However, right now I can't think of a case where consistent mapping would not be the norm.