Thanks, it works also for me with:
         , command = [
                     ...
                     Run Com "mpc" ["--format %file% | head -n 1"] "" 10,
                     ...
                     ]
my mistake was that i hadn't "Com" written in my Run line.    

--- En date de : Sam 23.5.09, Roman Cheplyaka <roma@ro-che.info> a écrit :
Here's what I have for xmms2:

       , commands = [
                  ...
                  Run Com "xmms2" ["current"] "" 10,
                  ...
                  ]