|
a |
|
b/doc/mpdas-upnp.txt |
|
|
1 |
= Mpdas-UPnP: a Last.FM scrobbler for UPnP renderers
|
|
|
2 |
|
|
|
3 |
*mpdas-upnp* is an extension to the *mpdas* MPD scrobbler.
|
|
|
4 |
|
|
|
5 |
It will monitor either an MPD or UPnP renderer instance and send
|
|
|
6 |
appropriate information about what is playing to Last.FM.
|
|
|
7 |
|
|
|
8 |
Both UPnP AV and OpenHome Renderers are supported.
|
|
|
9 |
|
|
|
10 |
[[mpdas.building]]
|
|
|
11 |
== Building
|
|
|
12 |
|
|
|
13 |
You will need the development package libupnpp-dev.
|
|
|
14 |
|
|
|
15 |
It's found in the same place as upmpdcli packages, see
|
|
|
16 |
link:downloads.html[the downloads page].
|
|
|
17 |
|
|
|
18 |
If no package exist, you'll need to build and install the library, see
|
|
|
19 |
link:upmpdcli.html#building[here].
|
|
|
20 |
|
|
|
21 |
Then clone the repository: https://github.com/medoc92/mpdas.git
|
|
|
22 |
The branch to use is "upnp", it is the default branch.
|
|
|
23 |
|
|
|
24 |
Inside the mpdas directory:
|
|
|
25 |
|
|
|
26 |
sh autogen.sh
|
|
|
27 |
configure --prefix=/usr --enable-upnp
|
|
|
28 |
make
|
|
|
29 |
sudo make install
|
|
|
30 |
|
|
|
31 |
[[mpdas.configuration]]
|
|
|
32 |
== Configuration
|
|
|
33 |
|
|
|
34 |
See the README file inside the source.
|
|
|
35 |
|
|
|
36 |
In a nutshell, if the `upnpname` configuration variable is set, mpdas will
|
|
|
37 |
use UPnP to monitor the named renderer. The name can be either the
|
|
|
38 |
_friendly name_ or the UUID.
|
|
|
39 |
|
|
|
40 |
== Running
|
|
|
41 |
|
|
|
42 |
There is a `-d` option to run mpdas as a daemon. It is not shown by `mpdas
|
|
|
43 |
-h`, but it is in the man page.
|