Thread:Extension talk:Score/.mid instead .midi/reply

Also, newer versions of Lilypond seem to generate .mid files. That was the reason Score didn't work for me in the first place. I had to change line 580 to

$factoryMidi = "$factoryDirectory/file.mid";

Now it works like a charm :)