Now I'd like to avoid hard coding the second process in the array (mencoder). So I need a way of finding that process.

Ideas I have

1. Alter the out of the box code to add some info about the processes. Do not want to do this as it makes the plug-in not really usable by others who don't want to alter the pms.jar2. Use aspects (AspectJ for example) to "hook" the call to new ProcessBuilder(cmdArray)

If this is at all possible the last step would be to get an IR interface for the computer, set up a programmable remote (such as the Harmony) to send IR codes to the IR interface, monitor the IR interface for codes being sent, do whatever that code it set to do by interfacing with the PS3 Media server.