Midi Device Name as global variable [solved]

Hi,

for the custom module i need the midi devicename in the custom module(send('midi',xxxx,... ).
Now when( server) the midi name changes (or if someone else uses the project) the name has to be changed in the custom module too.
Is there a way of getting the midi devicename without setting it by hand in the custom module ?
(parsing the .config file is not a good option, and maybe needed in a widget too ?).

Thanks!

Edit: found it: settings.read('midi')