I was just wondering if someone could write a foobar plugin to support WMApp commands from not only Multimedia Keyboards but Remote Controls as well or modify the existing support because Microsoft changed pause and play around a little bit.
http://msdn.microsoft.com/library/default....ote_control.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/remote_control.asp)
most of the commands and code is explained there, and the biggest difference I have noticed is that the new commands have the play and pause seperately.
Play: APPCOMMAND_MEDIA_PLAY
Pause: APPCOMMAND_MEDIA_PAUSE
Next Track: APPCOMMAND_MEDIA_NEXTTRACK
Prev Track: APPCOMMAND_MEDIA_PREVIOUSTRACK
Rewind: APPCOMMAND_MEDIA_REWIND
Fast Forward: APPCOMMAND_MEDIA_FASTFORWARD
Mute: APPCOMMAND_VOLUME_MUTE
Vol Up: APPCOMMAND_VOLUME_UP
Vol Down: APPCOMMAND_VOLUME_DOWN
The following table shows the playback state, the keyboard or remote control command, and the recommended action an application should take in response to these messages.
State Command Action
Stopped APPCOMMAND_MEDIA_PLAY Play
Stopped APPCOMMAND_MEDIA_PAUSE Nothing
Stopped APPCOMMAND_MEDIA_PLAY_PAUSE Play
Playing APPCOMMAND_MEDIA_PLAY Nothing
Playing APPCOMMAND_MEDIA_PAUSE Pause
Playing APPCOMMAND_MEDIA_PLAY_PAUSE Pause
Paused APPCOMMAND_MEDIA_PLAY Play
Paused APPCOMMAND_MEDIA_PAUSE Nothing
Paused APPCOMMAND_MEDIA_PLAY_PAUSE Play