doc about mpd socket configuration
This commit is contained in:
parent
40cf86795a
commit
bf7927b0e4
1 changed files with 16 additions and 0 deletions
|
@ -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.
|
||||
|
||||
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``.
|
||||
|
|
Loading…
Reference in a new issue