Skip to main content

Web client for Mopidy

Project description

Latest PyPI version

Web client providing a clean and ergonomic interface to Mopidy.

Presentation

  • Dual panel library / tracklist

  • Library / playlists / search results displayed as a single tree view

  • Drag and drop from library to tracklist, and inside tracklist

  • Save tracklist + current track as a bookmark (virtual playlist)

  • Configurable hotkeys for playback and volume control

  • Basic color theming

Preview

Implementation

Mopidy-Mowecl is written in Javascript, and is built upon React, Redux and Material-ui.

Installation

Depending on your setup, install either by running:

# When mopidy was installed with pip
python3 -m pip install Mopidy-Mowecl

or:

# When mopidy was installed as a package or pip using sudo
sudo python3 -m pip install Mopidy-Mowecl

Configuration

Mowecl can both be configured in-app, and through the mopidy configuration file. Values set in the configuration files will act as default values for the clients, that can then override theme as they wish (clients configuration is stored in the browser data).

Here is are the available settings (and default values) of Mowecl in the Mopidy configuration file:

[mowecl]
enabled = true

# generic config
seek_update_interval = 500
search_history_length = 10

# theme config
## light or dark
theme_type = light
background_color = #fdf6e3
text_color = #002b36
primary_color = #268bd2

# Hotkeys, use web config to find the right parameters
key_play_pause = space+Control
key_next_track = ArrowRight
key_previous_track =
key_rewind_track = ArrowLeft
key_volume_up = ArrowUp
key_volume_down = ArrowDown

Theming

Basic theming is available in the configuration, with the following options:

  • Background color

  • Text color

  • Highlight color

For example, you can use the following settings:

Solarized (light)

Blueberry (dark)

Background color

#fdf6e3

#232937

Text color

#002b36

#7390aa

Highlight color

#268bd2

#27e8a7

Building

Mowecl is a React application served by a python app. Building the application thus requires tools from both the javascript and the python ecosystem.

Requirements

  • The yarn program

  • The setuptools and wheel python packages (installable via pip)

Steps

From the root of Mowecl directory, running the following commands will build the web application,, and then build the mowecl python package in the dist folder.

cd mowecl_react
yarn install
yarn build
cd ..
python3 setup.py sdist bdist_wheel
ls dist

You can then install the built package with pip, e.g.

pip3 install dist/Mopidy_Mowecl-X.X.X-py3-none-any.whl

Development

To run Mowecl in develop mode, do the following:

cd mowecl_react
yarn install
yarn start

Changelog

v0.3.5

  • Parse configuration from mopidy

  • Add uri button

  • Fix volume increase/decrease

v0.3.4

  • Configurable hotkeys for playback and volume control

  • Some performance improvements

v0.3.3

  • Color theming

v0.3.2

  • Global hotkeys: space for play/pause

  • Display track length in tracklist

  • Light/dark theme

  • New version notification

v0.3.1

  • Search history

  • Highlight of hovered library / tracklist item

  • Some fixes

v0.2.0

  • Initial release.

PROJECT resources

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mopidy-Mowecl-0.3.5.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Mopidy_Mowecl-0.3.5-py3-none-any.whl (14.3 MB view details)

Uploaded Python 3

File details

Details for the file Mopidy-Mowecl-0.3.5.tar.gz.

File metadata

  • Download URL: Mopidy-Mowecl-0.3.5.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.3

File hashes

Hashes for Mopidy-Mowecl-0.3.5.tar.gz
Algorithm Hash digest
SHA256 df13d502d75e1b9b540c70d4c72060529efc78388e3bb635448ba16c7d26a652
MD5 a030356f2f9c055d6552f4f5d0f0e3cc
BLAKE2b-256 851a8101d14af3b06a033e79a201e5b9694463c484a4768f92b3d0853de750cf

See more details on using hashes here.

File details

Details for the file Mopidy_Mowecl-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: Mopidy_Mowecl-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 14.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.3

File hashes

Hashes for Mopidy_Mowecl-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a986619449870df074ffa8ef55b6a5e03effdee6c6ba7679fad7cb99d92c070c
MD5 87bdae9dab497c669c7cef0fe245cbd3
BLAKE2b-256 f92cb20630e2583e7362dd189462b9f1001154ed878d0e86e9252d9e53354045

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page