Ha. Yes, I was also going to say that (along with posting some information).
The Plex API is almost non-existent and is very poorly documented. They don't seem to want people to make useful plugins for their software.
Here are the only things we can currently do with Plex. Some of it is not pretty:
1. Navigate through Plex screens. (This is quite easy)
2. Select media, change volume, display context menus, etc. (Also easy)
3. Play a media file.
We cannot queue more than one media file.
We can accomplish the above using GET http requests (Scrape, in VC) and/or keyboard emulation.
3. is the ugly command that is very complicated. For that particular http URL, you need to know:
A) Your Server IP, Server Port, Server Machine Identifier, Client ID, Client Port, Client Machine Identifier.
B) From the metadata xml, the "rating key" and relative library path of any file that you want to play.
----
Above, vulcan jedi is suggesting that you create a Map Table in VoxCommando to store the (A) values as permanent variables. This is because we need to use them many times for different commands, and some of them are long and unfriendly. In his commands, he then uses those variables.
See:
http://voxcommando.com/mediawiki/index.php?title=Maps for information about using maps. There is a video.
For (B), you want to scrape your metadata somehow in order to create payloadXML that associates the rating key with the song or movie you want to play.
I have not yet tried vulcanjedi's python and command xml for this, so I don't know how easy it is to make those work.