Web client for Mopidy
Project description
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
Reorder tracklist with drag and drop
Uses the bookmarks extension
Configurable hotkeys for playback and volume control
Basic color theming
Both global and per-client configuration
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 ## set to true for touch_screens disable_dnd = false small_screen = false # 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.4.3
fix release
v0.4.2
Note: release file on pypi is bugged, do not install this version from pypi !
update javascript dependancies
v0.4.0
Favorites
repeat/single/random playback buttons
Option to disable drag’n drop (usefull for touch screens)
Small screen option (single panel, smaller buttons). Far from perfect but better than nothing.
Many performance optimizations
v0.3.6
Use mopidy-bookmarks extension
Confirm dialog for playlist delete and overwrite
Some UI improvements
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
Original author: Mathias Millet
Current maintainer: Mathias Millet
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Mopidy-Mowecl-0.4.3.tar.gz
.
File metadata
- Download URL: Mopidy-Mowecl-0.4.3.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbd12fb3aff5b7fa38a5de3bf1b6d5cc985e1bfadc3fe1be76372aecedec2dbc |
|
MD5 | 3b89071de0a1326b3bf2f94f26ba7c7b |
|
BLAKE2b-256 | fc020c7c25d95653caf7c036231846c2c4f90db6930ab786e091d2fc64ffb9cf |
File details
Details for the file Mopidy_Mowecl-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: Mopidy_Mowecl-0.4.3-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11495a224bef5e436331f8fac18b27a84caf9a92855517a6ca3b837f2bc1f908 |
|
MD5 | f55e25a4e5452668c5a6c00434bd6e61 |
|
BLAKE2b-256 | 1cf70faa83b09d84a453017b0d1696c8c9de8fb0c5ee026ef8a6b958a4523bff |