Extension dev: accessing the current config

I’m presently working on a possible backend extension for Mopidy. The structure of the extension necessitates the creation of classes that require some info from the current config. However, they cannot have the config object simply passed in as they are not instantiated in the normal way.

I can work around this, but I’d like to know if there is some other proper way to get the current config, such as some Mopidy function that can be imported into the module. I’m not finding anything in the docs that fits, but certainly could be missing something.


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.