Skip to main content

Display MPD status on a lcdproc server.

Project description

https://secure.travis-ci.org/rbarrois/mpdlcd.svg?branch=master Latest Version Supported Python versions Wheel status License

MPDLcd is a small adapter which will display the status of a MPD server on a LCD screen, through lcdproc.

It allows defining various layouts depending on LCD size, with fix or moving parts.

Running

The command line is quite simple:

# Connect to the local mpd and lcdproc, logging to stderr
mpdlcd

Other options are possible:

mpdlcd --mpd=mpd.example.org:1234 --lcdproc=lcd.example.org:456 \
        --syslog --syslog-facility=user2 --loglevel=debug --lcdd_debug

Please use mpdlcd --help or man mpdlcd for a full help description.

Installing

The simplest way to install MPDLcd is to use your distribution’s packages. It requires the and python_mpd2 Python library.

Gentoo

Use the Sunrise overlay at http://overlays.gentoo.org/proj/sunrise/browser/app-misc/mpdlcd

Debian/Ubuntu

  1. Install the python-mpd package:

    apt-get install python-mpd
  2. Install mpdlcd from PIP:

    pip install mpdlcd

Other

If it hasn’t been packaged for your distribution yet, you can also install from sources by hand:

pip install mpdlcd

This will pull in the python_mpd2 Python library.

Example initd scripts are provided in the initd/ folder.

Reporting issues

Issues should be reported on https://github.com/rbarrois/mpdlcd/issues.

Crash report should include:

  • Current MPD status (playing, stopped, …)

  • Custom /etc/mpdlcd.conf file content

  • Current MPDLcd version, as given by mpdlcd --version

  • Full output from running MPDLcd in debug mode, typically with the following options:

    mpdlcd --no-syslog --logfile=- --loglevel=debug

Contact

The main channel for reporting issues would be https://github.com/rbarrois/issues.

I’m also available:

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

mpdlcd-0.5.1.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

mpdlcd-0.5.1-py2.py3-none-any.whl (28.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mpdlcd-0.5.1.tar.gz.

File metadata

  • Download URL: mpdlcd-0.5.1.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for mpdlcd-0.5.1.tar.gz
Algorithm Hash digest
SHA256 7968a4418419f24bddfef63d3707400fd345f6d3aafd88d98d1bdf362812f4d6
MD5 450d97169679ce6a4ef0966fb32feacf
BLAKE2b-256 bd3996bb5d92b8c247b144683713e244f852a351d0954b3fb544cb2511b82cc0

See more details on using hashes here.

Provenance

File details

Details for the file mpdlcd-0.5.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mpdlcd-0.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for mpdlcd-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 deab5075bb28e2da4bc7648752e7d52d344aa8c9087dfbd60ee9ab376f05fb34
MD5 9a5c77938520d9f84e6f091d8bba14b0
BLAKE2b-256 743bdeae749f7eb86567a0b52a6a11b604fb96cc3364a16b657f6560c7523cf7

See more details on using hashes here.

Provenance

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