doc about mpd socket configuration

This commit is contained in:
boyska 2015-02-23 21:31:47 +01:00
parent 40cf86795a
commit bf7927b0e4
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -7,3 +7,19 @@ https://github.com/boyska/larigira.git`` and run ``python setup.py install``.
As always, the usage of a virtualenv is recommended. As always, the usage of a virtualenv is recommended.
The only supported python version is 2.7. The only supported python version is 2.7.
Configuration
---------------
larigira use MPD in a peculiar way. It can use mpd internal library, but it can
also work with "regular" local files, outside of the library. To do so,
however, it requires you to connect to MPD through the UNIX socket instead of
the TCP port.
So how to create this setup?
inside ``~/.mpdconf``, add the following line::
bind_to_address "~/.mpd/socket"
For larigira, you need to set the ``MPD_HOST`` environment variable to
``$HOME/.mpd/socket``.