Info.py - what is it about?


#1

Hello,

most of the mode directories contain a file info.py, which contains simply variable declarations, which provide descriptions of the knobs, the name and similar information.

Is this file used anywhere? I already thought about a knob-description in the OSD, but the OSD does not make use of it (I even did a “grep info.py *” in ETC_Mother, but didn’t find anything).

Is this file used anywhere?

Regards
Florian


#2

yes, the thought was info.py would be used (if included) to describe the knobs on the OSD, but currently doesn’t do this.

I think it is also used to generate this page:

https://critterandguitari.github.io/ETC_Manual/modes.html


#3

Ah, thanks! I think I’ll add that to my OSD


#4

Yeah, I source this for OTC for the Organelle display. You might want to look at that code base as I remember having to change a couple of things to get it working.