Only it would need to be "play song x" which in the back ground executed- "play song x by artist y from album w"
I wonder if mysql can pull this type of data.
I'm not sure what you mean by this: "play song x by artist y from album w".
We have used a command like "play song watch tower by Dylan" in the past and it works. The payloadXML stores the exact ID for that song so the actions in the LCB are straightforward.
We could do the same thing with episode names, allowing for the clarification of what series we want. We don't need to use albums and artist for music (artist is enough) and similarly, for TV we don't need to specify the season, just the name of the show, since for any given show the episode names are sure to be unique. Again, this is something I would never use, but it can be done without too much difficulty. It's just that I think it would be difficult for the user to actually use these commands, so why bother using up resources on storing all those word combinations...
yes I'm sure we can do this with MySQL quite easily. It is more powerful than SqLite so I don't imagine it would be a problem. Maybe I'll do it as an exercise.
In case some people are wondering what the HECK we are talking about here... Mace and I have been working on a new plugin that works with XBMC using the MySQL database instead of the SqLite database. The plugin will look very similar to the xSql plugin and will be called xMySql, and I'll be shipping it with the next version of VC.
If you are not already using MySQL with XBMC and you are interested to know more, check this link out:
http://wiki.xbmc.org/index.php?title=HOW-TO:Share_libraries_using_MySQLThis is useful if you want to maintain one media library on your network and access it from several different XBMCs on different computers/devices. This way you can watch a show on one device, and when you browse XBMC on another device, it will show that this show has been watched. If you update the library on one machine, it will be updated everywhere etc.
It also means that you'll have the same ID numbers for the same items, which is a good thing when you want to use VC to control multiple XBMCs! If Avatar has an ID of 501 on one machine, it will have an ID of 501 on all machines, so you can use a single payloadXML file to control any XBMC on your network.