-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the web client a Mopidy extension #4
Comments
Cool, I'll start working on it. |
Questions: Since my client is running on Node.js would this still be possible to run with this method of installing? |
No, the Mopidy web extensions system only supports:
If you don't do much on the Node.js part of your app, a long term solution might be to port that part to a Tornado app which can run directly on Mopidy's web server and be installed as a Mopidy extension. |
Thanks for the info. The biggest thing I use node for is authentication with twitter (unique id and picture) and crawling spotify for album artwork. In those aforementioned methods, would it be possible to those same activities? If so, maybe I'll take the time learn some python. |
Yeah, both should be possible with Python and Tornado. The Spotify album artwork part can probably easily be moved to the client side now, as the new Spotify web API gives easy access to artwork, ref. https://developer.spotify.com/web-api/get-album/ |
Album artwork is now obtainable through Mopidy itself. It'd be really nice to have this project better integrated into Mopidy and pip installable. I've not looked into exactly what you are doing with twitter authentication but mopidy-mopify uses external services and might be helpful to look at if moving forward with this. |
The shortly upcoming Mopidy 0.19 release lets web clients be installed as Mopidy extensions. This makes it possible to install a web client simply by running e.g.
pip install Mopidy-Lux
and restarting Mopidy. No configuration changes needed. Nogit clone
or download-and-unzip.Multiple web clients can be installed at the same time, as each client is hosted with a prefix, e.g. Mopidy-Lux on
http://localhost:6680/lux/
. Mopidy provides a list of all installed web clients onhttp://localhost:6680/mopidy/
.Mopidy 0.19 hasn't been released yet, but this feature is complete and available in our develop branch. We want web client authors to start working on making all the web clients pip-installable.
The main sources of information is:
We'll be happy to help you get this working nicely. Let us know if you run into problems.
The text was updated successfully, but these errors were encountered: