All Projects → Mic92 → Python Mpd2

Mic92 / Python Mpd2

Licence: lgpl-3.0
Python library which provides a client interface for the Music Player Daemon.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Python Mpd2

OCaml-libmpdclient
mpd client library implementation in OCaml.
Stars: ✭ 15 (-95%)
Mutual labels:  mpd
owntone-server
OwnTone is forked-daapd's new name. Linux/FreeBSD DAAP (iTunes) and MPD media server with support for AirPlay devices (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
Stars: ✭ 1,408 (+369.33%)
Mutual labels:  mpd
rpi-mpd
MPD (Music Player Daemon) on Raspberry Pi / ARM
Stars: ✭ 16 (-94.67%)
Mutual labels:  mpd
mpdevil
A simple music browser for MPD
Stars: ✭ 88 (-70.67%)
Mutual labels:  mpd
MaximumMPD
React Native based MPD Client for iOS and Android
Stars: ✭ 33 (-89%)
Mutual labels:  mpd
l2cu
L²CU: LDraw Linux Command line Utility
Stars: ✭ 14 (-95.33%)
Mutual labels:  mpd
MPDCtrl
A MPD (Music Player Daemon) client.
Stars: ✭ 30 (-90%)
Mutual labels:  mpd
trollibox
The hackerspace friendly music player web client
Stars: ✭ 35 (-88.33%)
Mutual labels:  mpd
homeassistant-config
My Home Assistant Configuration
Stars: ✭ 22 (-92.67%)
Mutual labels:  mpd
Shinobu
iOS remote application written in Swift to control a MPD server.
Stars: ✭ 31 (-89.67%)
Mutual labels:  mpd
dotfiles
🏡 Personal dotfiles configuration
Stars: ✭ 73 (-75.67%)
Mutual labels:  mpd
dotfiles
My personal dotfiles repository
Stars: ✭ 36 (-88%)
Mutual labels:  mpd
dotfiles
rice repo
Stars: ✭ 71 (-76.33%)
Mutual labels:  mpd
mpdq
Automatic MPD "smart playlist" creator with minimal but hackable setup.
Stars: ✭ 18 (-94%)
Mutual labels:  mpd
rofi-mpd
shell script for mpd that uses rofi to add songs, albums, playlist, jump to a song in the current playlist etc.
Stars: ✭ 19 (-93.67%)
Mutual labels:  mpd
boombeastic
A Raspberry Pi based smart connected speaker with support for airplay, spotify, mpd and local playback
Stars: ✭ 206 (-31.33%)
Mutual labels:  mpd
NR1-UI
Userinterface for Volumio (RaspberryPi) with ssd1322 and ssd1306 oled display, spectrum bargraph, progress bar, LED functions, Standby-functions, 4 Buttons and Rotary Encoder.
Stars: ✭ 29 (-90.33%)
Mutual labels:  mpd
mushu
Mushu is a minimalist MPD client with a TUI and an incremental fuzzy finder for your music library
Stars: ✭ 30 (-90%)
Mutual labels:  mpd
dotfiles
Config files for wm and terminal apps
Stars: ✭ 15 (-95%)
Mutual labels:  mpd
mpdclient
MPD client library in nim
Stars: ✭ 21 (-93%)
Mutual labels:  mpd

python-mpd2

.. image:: https://travis-ci.org/Mic92/python-mpd2.png?branch=master :target: http://travis-ci.org/Mic92/python-mpd2 :alt: Build Status

python-mpd2 is a Python library which provides a client interface for the Music Player Daemon <http://musicpd.org>__.

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 Guide <https://python-mpd2.readthedocs.io/en/latest/topics/porting.html>__ for more information).

The following features were added:

  • Python 3 support (but you need at least Python 3.6)
  • asyncio/twisted support
  • support for the client-to-client protocol
  • support for new commands from MPD (seekcur, prio, prioid, config, searchadd, searchaddpl, listfiles, rangeid, addtagid, cleartagid, mount, umount, listmounts, listneighbors)
  • remove deprecated commands (volume)
  • explicitly declared MPD commands (which is handy when using for example IPython <http://ipython.org>__)
  • a test suite
  • API documentation to add new commands (see Future Compatible <https://python-mpd2.readthedocs.io/en/latest/topics/advanced.html#future-compatible>__)
  • support for Unicode strings in all commands (optionally in python2, default in python3 - see Unicode Handling <https://python-mpd2.readthedocs.io/en/latest/topics/advanced.html#unicode-handling>__)
  • configureable timeouts
  • support for logging <https://python-mpd2.readthedocs.io/en/latest/topics/logging.html>__
  • improved support for sticker
  • improved support for ranges

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 https://github.com/Mic92/python-mpd2.git

Getting the latest release

The latest stable release of python-mpd2 can be found on PyPI <http://pypi.python.org/pypi?:action=display&name=python-mpd2>__

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 <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 <http://docs.python.org/inst/inst.html>__ document for more details.

Documentation

Documentation <https://python-mpd2.readthedocs.io/en/latest/>__

Getting Started <https://python-mpd2.readthedocs.io/en/latest/topics/getting-started.html>__

Command Reference <https://python-mpd2.readthedocs.io/en/latest/topics/commands.html>__

Examples <examples>__

Testing

Just run::

$ python setup.py test

This will install Tox <http://tox.testrun.org/>__. Tox will take care of testing against all the supported Python versions (at least available) on our computer, with the required dependencies

If you have nix, you can also use the provided default.nix to bring all supported python versions in scope using nix-shell. In that case run tox directly instead of using setup.py::

 $ nix-shell --command 'tox'

Building Documentation

Install Sphinx::

$ easy_install -U Sphinx

Change to the source directory and 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

.. _python-mpd: https://pypi.python.org/pypi/python-mpd/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].