Not entirely sure if this is the best place to ask about this, but thought it worth a shot - still, feel free to point me in the right direction if I'm wrong.
Basically, I've recently started using MySQL as the back-end database, and I thought it would be useful for external content providing sources (e.g. sickbeard) to be able to update the MySQL database when the XBMC instance isn't running. To put it another way - the database will always be available, but the XBMC instance will only be switched on when in use, so updating the database is possible, but telling XBMC to do it isn't. The use case is that there's a central database storing media information (which is already catered for with the MySQL backend that's in place) which needs to be updated by a third party tool (sickbeard, for example) when new episodes are added or when a file is changed (e.g. video quality, encoding information) that has access to the MySQL database but there isn't a running XBMC instance on the network.
To that end, I did a little digging, and found that the database access is abstracted away - good news. What I've been unable to find so far is whether there exists an API for library updates that can be used by an external program running on a remote system (e.g. on my server).
If I've understood things correctly, this isn't a feature request because (I assume) the database access code is abstracted behind an API layer, so the feature/code already exists. In theory, all I need is information about that API layer so that my external library update process can call that API to update the MySQL database. I just can't work out where the code is, or what this API might allow in real terms, or even whether it's currently possible for a third party codebase to access that API at all.
So... have I understood things correctly, or am I wrong and this needs to be a feature request?
Basically, I've recently started using MySQL as the back-end database, and I thought it would be useful for external content providing sources (e.g. sickbeard) to be able to update the MySQL database when the XBMC instance isn't running. To put it another way - the database will always be available, but the XBMC instance will only be switched on when in use, so updating the database is possible, but telling XBMC to do it isn't. The use case is that there's a central database storing media information (which is already catered for with the MySQL backend that's in place) which needs to be updated by a third party tool (sickbeard, for example) when new episodes are added or when a file is changed (e.g. video quality, encoding information) that has access to the MySQL database but there isn't a running XBMC instance on the network.
To that end, I did a little digging, and found that the database access is abstracted away - good news. What I've been unable to find so far is whether there exists an API for library updates that can be used by an external program running on a remote system (e.g. on my server).
If I've understood things correctly, this isn't a feature request because (I assume) the database access code is abstracted behind an API layer, so the feature/code already exists. In theory, all I need is information about that API layer so that my external library update process can call that API to update the MySQL database. I just can't work out where the code is, or what this API might allow in real terms, or even whether it's currently possible for a third party codebase to access that API at all.
So... have I understood things correctly, or am I wrong and this needs to be a feature request?