Skip to main content

Mopidy extension with stylish frontend for controlling playback and browsing

Project description

mopidy-marceline

Latest PyPI version CI build status Test coverage

Mopidy extension with stylish frontend for controlling playback and browsing

Installation

Install by running:

python3 -m pip install mopidy-marceline

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

Configuration

Before starting Mopidy, you must add configuration for mopidy-marceline to your Mopidy configuration file:

[marceline]
# TODO: Add example of extension config

Project resources

Development

Set up development environment

Clone the repo using, e.g. using gh:

gh repo clone ttoino/mopidy-marceline

Enter the directory, and install dependencies using uv:

cd mopidy-marceline/
uv sync

Running tests

To run all tests and linters in isolated environments, use tox:

tox

To only run tests, use pytest:

pytest

To format the code, use ruff:

ruff format .

To check for lints with ruff, run:

ruff check .

To check for type errors, use pyright:

pyright .

Setup before first release

Before the first release, you must enable trusted publishing on PyPI so that the release.yml GitHub Action can create the PyPI project and publish releases to PyPI.

When following the instructions linked above, use the following values in the form at PyPI:

  • Publisher: GitHub
  • PyPI project name: mopidy-marceline
  • Owner: ttoino
  • Repository name: mopidy-marceline
  • Workflow name: release.yml
  • Environment name: pypi (must match environment name in release.yml)

Making a release

To make a release to PyPI, go to the project's GitHub releases page and click the "Draft a new release" button.

In the "choose a tag" dropdown, select the tag you want to release or create a new tag, e.g. v0.1.0. Add a title, e.g. v0.1.0, and a description of the changes.

Decide if the release is a pre-release (alpha, beta, or release candidate) or should be marked as the latest release, and click "Publish release".

Once the releease is created, the release.yml GitHub Action will automatically build and publish the release to PyPI.

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_marceline-0.0.2.tar.gz (175.9 kB view details)

Uploaded Source

Built Distribution

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

mopidy_marceline-0.0.2-py3-none-any.whl (184.8 kB view details)

Uploaded Python 3

File details

Details for the file mopidy_marceline-0.0.2.tar.gz.

File metadata

  • Download URL: mopidy_marceline-0.0.2.tar.gz
  • Upload date:
  • Size: 175.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mopidy_marceline-0.0.2.tar.gz
Algorithm Hash digest
SHA256 302b4c2cdb8eac11e5ef864f99f98f9e480be07038e0b87fee4a465838aa1689
MD5 637c8acd5e89e6386823abd46b6199cb
BLAKE2b-256 1b1f9e23ef39074cde2b5c12d29150703984efbcb8c8baea065c78eaf37b59b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mopidy_marceline-0.0.2.tar.gz:

Publisher: cd.yml on ttoino/mopidy-marceline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mopidy_marceline-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mopidy_marceline-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 73ec641639b76db331d1079b109847e5a035aaf927c77d2ca04904443aa544a6
MD5 f35a3434725c92c958ad90425d478365
BLAKE2b-256 a69d02a11512d6b80146213fa63cd6491cc2a35ff003666e3afb4f955dda66a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mopidy_marceline-0.0.2-py3-none-any.whl:

Publisher: cd.yml on ttoino/mopidy-marceline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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