install.rst 821 B

12345678910111213141516171819202122232425
  1. Installation
  2. =============
  3. Installing larigira is quite simple. You can install latest version from PyPI
  4. using ``pip install larigira``. Or you can ``git clone
  5. https://github.com/boyska/larigira.git`` and run ``python setup.py install``.
  6. As always, the usage of a virtualenv is recommended.
  7. The only supported python version is 2.7.
  8. Configuration
  9. ---------------
  10. larigira use MPD in a peculiar way. It can use mpd internal library, but it can
  11. also work with "regular" local files, outside of the library. To do so,
  12. however, it requires you to connect to MPD through the UNIX socket instead of
  13. the TCP port.
  14. So how to create this setup?
  15. inside ``~/.mpdconf``, add the following line::
  16. bind_to_address "~/.mpd/socket"
  17. For larigira, you need to set the ``MPD_HOST`` environment variable to
  18. ``$HOME/.mpd/socket``.