Hi Julien,
thanks for the correction. However, in 4.0.1 I still see "Juce" as MIDI port name:
4.0.1:
markus@markus-laptop:~$ pmidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
131:0 Pianoteq Midi Input Juce Midi In Port
3.6.6:
markus@markus-laptop:~$ pmidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
131:0 Pianoteq Midi Input Pianoteq Midi In Port
Sorry, I do not like it to be pedantic. But perhaps you want to see "Pianoteq" in the MIDI port name as well.
Just for information: I have Python script running in the background. It waits for controller events from the buttons and the knob on my NI Audio Kontrol 1. And if Pianoteq is opened, the script sends MIDI program change events to Pianoteq. The script scans the available port names here, of course.