2012-05-05 17:46:37 +00:00
|
|
|
MPD Client
|
|
|
|
==========
|
|
|
|
|
|
|
|
This plugin is here to display what you are listening to in a chat tab.
|
|
|
|
|
|
|
|
|
|
|
|
Installation and configuration
|
|
|
|
------------------------------
|
|
|
|
|
|
|
|
Installation
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
|
|
|
You need https://github.com/Mic92/python-mpd2[python-mpd], in its python3
|
|
|
|
version.
|
|
|
|
|
|
|
|
Then you can load the plugin.
|
|
|
|
|
|
|
|
==============
|
|
|
|
|
|
|
|
/load mpd_client
|
|
|
|
|
|
|
|
==============
|
|
|
|
|
|
|
|
Configuration
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
You have to put the following into _mpd_client.cfg_, as explained in
|
|
|
|
link:index.html[the index page].
|
|
|
|
|
|
|
|
NOTE: If you do not put anything, the plugin will try to connect to
|
|
|
|
_localhost:6600_ with no password.
|
|
|
|
|
|
|
|
[source,conf]
|
|
|
|
---------------------------------------------------------------------
|
|
|
|
[mpd_client]
|
|
|
|
host = the_mpd_host
|
|
|
|
port = 6600
|
|
|
|
password = password if necessary
|
|
|
|
---------------------------------------------------------------------
|
|
|
|
|
2013-03-11 01:09:04 +00:00
|
|
|
To enable link:http://xmpp.org/extensions/xep-0118.html[User tune]
|
|
|
|
publishing, you also have to set the _broadcast_ option to _true_.
|
|
|
|
|
2012-05-05 17:46:37 +00:00
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
/mpd
|
|
|
|
|
|
|
|
Will show the current song, artist, and album
|
|
|
|
|
|
|
|
/mpd full
|
|
|
|
|
|
|
|
Will show the current song, artist, and album, plus a nice progress bar.
|
|
|
|
|
|
|
|
======
|