Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Warn if module is configured but not installed #694
Throw a warning if a module e.g. "spotify" is configured but not installed.
I migrated my mopidy config recently but forgot to install mopidy-spotify which resulted in no errors but in a not working mopidy spotify connection.
It would be nice if there would be an warning for "spotify module configured but not installed/found"
The problem I can see on this is that usually the only thing that a module leaves if not present, is what the user put in his config file, so that if I put
What should mopidy say in your opinion? Take into account that everything (almost) is contained into the plugin... Also think about having a plugin read more values than the config under it's tag...
It is true thought that it would be easier to diagnose some problems that by distration or newbiness can one have (already had some of them... :3 )
Extensions have access to the entire config, but they should only be using their own values or ones from core. We do don't enforce this, but we do expect extension to be well behaved.
Likely all we will add is a simple