Skip to main content
Build Status

python-mpd2 is a Python library which provides a client interface for the Music Player Daemon.

Difference with python-mpd

python-mpd2 is a fork of python-mpd. While 0.4.x was backwards compatible with python-mpd, starting with 0.5 provides enhanced features which are NOT backward compatibles with the original python-mpd package. (see PORTING.txt for more information)

The following features were added:

  • Python 3 support (but you need at least Python 2.6)

  • support for the upcoming client-to-client protocol

  • support for new commands from MPD v0.17 (seekcur, prio, prioid, config, searchadd, searchaddpl)

  • remove deprecated commands (volume)

  • explicitly declared MPD commands (which is handy when using for example IPython)

  • a test suite

  • API documentation to add new commands (see Future Compatible)

  • support for Unicode strings in all commands (optionally in python2, default in python3 - see Unicode Handling)

  • configureable timeouts

  • support for logging

  • improved support for sticker

  • improved support for ranges

If you like this module, you could try contact the original author jat@spatialrift.net or join the discussion on the issue tracker so that it gets merged upstream.

Getting the latest source code

If you would like to use the latest source code, you can grab a copy of the development version from Git by running the command:

$ git clone git://github.com/Mic92/python-mpd2.git

Getting the latest release

The latest stable release of python-mpd2 can be found on PyPI

PyPI:

$ pip install python-mpd2

Installation in Linux/BSD distributions

Until Linux distributions adapt this package, here are some ready to use packages to test your applications:

See INSTALL.rst

Installing from source

To install python-mpd2 from source, simply run the command:

$ python setup.py install

You can use the –help switch to setup.py for a complete list of commands and their options. See the Installing Python Modules document for more details.

Documentation

Documentation

Getting Started

Command Reference

Examples

Testing

Just run:

$ python setup.py test

This will install Tox. Tox will take care of testing against all the supported Python versions (at least available) on our computer, with the required dependencies

Building Documentation

Install Sphinx:

$ easy_install -U Sphinx

Change to the source directory an run:

$ python ./setup.py build_sphinx

The command reference is generated from the official mpd protocol documentation. In order to update it, install python-lxml and run the following command:

$ python ./doc/generate_command_reference.py > ./doc/topics/commands.rst

Contacting the author

Just contact me (Mic92) on Github or via email (joerg@higgsboson.tk).

Usually I hang around on Jabber: sonata@conference.codingteam.net

You can contact the original author by emailing J. Alexander Treuman jat@spatialrift.net.

He can also be found idling in #mpd on irc.freenode.net as jat.

Metadata

Release files for python-mpd2 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for python-mpd2 0.5.3
File Size Uploaded
python-mpd2-0.5.3.zip 41.4 kB Details
python-mpd2-0.5.3.tar.gz 34.6 kB Details
python-mpd2-0.5.3.tar.bz2 29.0 kB Details

Release files / python-mpd2-0.5.3.zip

Download URL python-mpd2-0.5.3.zip
Size 41.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3bcd5cb3791f7bc24276c621b5871662b19d6c67182f8a37d86fad42b9fb30dd
BLAKE2b-256 checksum
How to use checksums
6ec74ec1a114b5570217e0df171d98700883ffaa0445f08a2c3da5c9011e56b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python-mpd2-0.5.3.tar.gz

Download URL python-mpd2-0.5.3.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e3eb11cd96701b776a737fd0922bd1e30357bce544b5815e4a085d71207588aa
BLAKE2b-256 checksum
How to use checksums
7ee576fb2aded2ad2ed611c9c0ce817d1985ddac8fd645c18fb70d63f32dab6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python-mpd2-0.5.3.tar.bz2

Download URL python-mpd2-0.5.3.tar.bz2
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
13f3235b9d47c6e1f48372dde1167a047a8dbed21363ba648aef65589c6db370
BLAKE2b-256 checksum
How to use checksums
15836c470758fd6948d45c81c9195722073e9431a33bae1721e3e6b3cc1e2954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

3.1.1

2 release files

3.1.0

2 release files

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.6.0

1 release file

0.5.5

3 release files

0.5.4

3 release files

This release

0.5.3 This release

3 release files

0.5.2

3 release files

0.5.1

3 release files

0.5.0

3 release files

0.4.6

3 release files

0.4.5

3 release files

0.4.4

3 release files

0.4.3

3 release files

0.4.2

3 release files

0.4.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page