Skip to content

pingiun/mopidy-moparty

Repository files navigation

Mopidy-Moparty

Latest PyPI version GitHub Actions build status

Extended version of party extension, with Elm frontend

Installation

Install by running:

python3 -m pip install Mopidy-Moparty

See https://mopidy.com/ext/moparty/ for alternative installation methods.

Configuration

No configuration is currently supported

Local development

  1. Install Elm
  2. Install Mopidy
  3. Create a virtual environment (with Python 3.7 or higher): virtualenv --system-site-packages --python python3 venv
  4. Activate virtual environment: source venv/bin/activate
  5. Install moparty in "develop" mode: pip install -e .

You will need to compile the Elm code before you can use the client locally, the setup.py build_elm command requires uglifyjs, but this is not needed for local development. For continuous compilation I use elm-live. Here is the command I use:

elm-live --no-server --no-reload -- --debug --output=mopidy_moparty/static/moparty.min.js frontend/Main.elm

Another option is using fswatch, then you can use this command:

fswatch -o frontend | xargs -I{} -n1 elm make --debug --output=mopidy_moparty/static/moparty.min.js frontend/Main.elm

Project resources

Credits

About

Extended version of party extension, with Elm frontend

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published