Skip to main content

Mopidy extension for controlling Mopidy from MPD clients

Project description

Latest PyPI version CI build status Test coverage

Mopidy extension for controlling Mopidy from MPD clients.

MPD stands for Music Player Daemon, which is also the name of the original MPD server project. Mopidy does not depend on the original MPD server, but implements the MPD protocol itself, and is thus compatible with most clients built for the original MPD server

Maintainer wanted

Mopidy-MPD is currently kept on life support by the Mopidy core developers. It is in need of a more dedicated maintainer.

If you want to be the maintainer of Mopidy-MPD, please:

  1. Make 2-3 good pull requests improving any part of the project.

  2. Read and get familiar with all of the project’s open issues.

  3. Send a pull request removing this section and adding yourself as the “Current maintainer” in the “Credits” section below. In the pull request description, please refer to the previous pull requests and state that you’ve familiarized yourself with the open issues.

    As a maintainer, you’ll be given push access to the repo and the authority to make releases to PyPI when you see fit.

Installation

Install by running:

sudo python3 -m pip install Mopidy-MPD

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

Configuration

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

[mpd]
hostname = ::

The following configuration values are available:

  • mpd/enabled: If the MPD extension should be enabled or not.

  • mpd/hostname: Which address the MPD server should bind to. This can be a network address or the path toa Unix socket:

    • 127.0.0.1: Listens only on the IPv4 loopback interface (default).

    • ::1: Listens only on the IPv6 loopback interface.

    • 0.0.0.0: Listens on all IPv4 interfaces.

    • ::: Listens on all interfaces, both IPv4 and IPv6.

    • unix:/path/to/unix/socket.sock: Listen on the Unix socket at the specified path. Must be prefixed with unix:.

  • mpd/port: Which TCP port the MPD server should listen to. Default: 6600.

  • mpd/password: The password required for connecting to the MPD server. If blank, no password is required. Default: blank.

  • mpd/max_connections: The maximum number of concurrent connections the MPD server will accept. Default: 20.

  • mpd/connection_timeout: Number of seconds an MPD client can stay inactive before the connection is closed by the server. Default: 60.

  • mpd/zeroconf: Name of the MPD service when published through Zeroconf. The variables $hostname and $port can be used in the name. Set to an empty string to disable Zeroconf for MPD. Default: Mopidy MPD server on $hostname

  • mpd/command_blacklist: List of MPD commands which are disabled by the server. By default this blacklists listall and listallinfo. These commands don’t fit well with many of Mopidy’s backends and are better left disabled unless you know what you are doing.

  • mpd/default_playlist_scheme: The URI scheme used if the server cannot find a backend appropriate for creating a playlist from the given tracks. Default: m3u

Limitations

This is a non-exhaustive list of MPD features that Mopidy doesn’t support.

  • Only a single password is supported. It gives all-or-nothing access.

  • Toggling of audio outputs is not supported.

  • Channels for client-to-client communication are not supported.

  • Stickers are not supported.

  • Crossfade is not supported.

  • Replay gain is not supported.

  • stats does not provide any statistics.

  • decoders does not provide information about available decoders.

  • Live update of the music database is not supported.

Clients

Over the years, a huge number of MPD clients have been built for every thinkable platform. As always, the quality and state of maintenance varies between clients, so you might have to try a couple before you find one you like for your purpose. In general, they should all work with Mopidy-MPD.

The Wikipedia article on MPD has a short list of well-known clients. In the MPD wiki there is a more complete list of the available MPD clients. Both lists are grouped by user interface, e.g. terminal, graphical, or web-based.

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-MPD-3.3.0.tar.gz (76.3 kB view details)

Uploaded Source

Built Distribution

Mopidy_MPD-3.3.0-py3-none-any.whl (51.4 kB view details)

Uploaded Python 3

File details

Details for the file Mopidy-MPD-3.3.0.tar.gz.

File metadata

  • Download URL: Mopidy-MPD-3.3.0.tar.gz
  • Upload date:
  • Size: 76.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for Mopidy-MPD-3.3.0.tar.gz
Algorithm Hash digest
SHA256 09e2cc46a8fd73006f42b3b1ed71d557c3230e3c0ea2c38d565b0dda8faf4d53
MD5 6da95924905fcbdb6f06b8a21494a895
BLAKE2b-256 8a452ae38c8e83c7e7fd49bda4ce2ee3cd7b2454837ab763a5be192ac657bf98

See more details on using hashes here.

File details

Details for the file Mopidy_MPD-3.3.0-py3-none-any.whl.

File metadata

  • Download URL: Mopidy_MPD-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 51.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for Mopidy_MPD-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a8b98998896cbb77ba917c448548ae90460e6f0d22d9c6c810b79a5363938f3
MD5 3c0aa7b9b1d365dc9d31eebece55a5f9
BLAKE2b-256 0e257474aea2467648aaa5a12d42974428b49533eb297a9f49defa5d3d34c4f2

See more details on using hashes here.

Supported by

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