Hi all
I have mopidy up and running and can connect using different http-clients (iris among them) and mpd clients as well. All well and good.
I’m into creating or forking a simple web-frontend utlizing mopidy.js and want to make it configurable. I have some experience with python and older web-stuff like html, css and javascript, but not much with tornado and modern web frameworks like react and angular - just to let you know approximately where I stand.
I want to make the web-frontend configurable (from the server side). You should be able to set pause_enabled=true (or false), skip_enabled=true (or false). False will hide the corresponding buttons in the web-frontend and perhaps configure the stylesheet / theme via the config.
- What is considered good practice in mopidy-circles for such configuration?
-
- Add these to your extension’s part of mopidy.conf?
-
-
- If so, what is the practice of reading these values in your front-end? mopidy.js and the JSON api doesn’t seem to support it, so maybe make a tornado-request handler for it?
-
-
- Add this configuration to some other file-storage?
-
-
- If so, any good examples or best practices on that?
-
Thank you for the help. Apologies in advance if I missed the answers to these questions somewhere else. Pointers to such answers will be appreciated.