I also use foobar - you just need to configure media:
(Playback) C:\Program Files (x86)\foobar2000\foobar2000.exe /play "%1"
(Enqueue) C:\Program Files (x86)\foobar2000\foobar2000.exe /add "%1"

It works very well; the only problem I've seen is that when foobar isn't already running and I play something from OrangeCD, foobar launches and plays the previous playlist for a moment before playing what I requested.