if you have problem with your multimedia keyboard and foobar try this:
Kbdriver.exe
it is a freeware and you can configuera ALL multimedia keys
use:
foobar2000.exe/playpause /stop /next /prev
"If you have multimedia keyboard you can use "Kbdriver.exe" instead of OEM drivers which often don't allow you to configure more than few programmable buttons. Here you can configure all except ACPI keys (sleep, wake, power).
This program works different than OEM keyboard drivers. They control directly the keyboard input. The Multimedia Keyboard Driver creates keyboard hook and than monitors keystrokes. If some of the multimedia keys are ressed, it processes the desired operation.
With every multimedia key can be associated many functions: controlling Winamp, CD Player, Keystrokes, your own programs, …It is also possible to associate other functions with the multimedia keys when Shift or Control are pressed. This will give you so many programmable keys that you won't even be able to utilize them all.
You can also add support for your own keyboard with the program GetScan."