This may already be late, but after implementing this, I am sold.
Hope this helps those who use Plex as their media player and are Harmony users. I don't know if this applies to XBMC (Plex being an XBMC fork)
http://wiki.plexapp.com/index.php/Harmony_SupportEnjoy.