File: README.md

package info (click to toggle)
mpdris2 0.7%2Bgit20160917-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 324 kB
  • ctags: 208
  • sloc: python: 1,083; makefile: 84; sh: 5
file content (57 lines) | stat: -rw-r--r-- 1,527 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# mpDris2

[![Join the chat at https://gitter.im/eonpatapon/mpDris2](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/eonpatapon/mpDris2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

mpDris2 provide MPRIS 2 support to mpd (Music Player Daemon).

mpDris2 is run in the user session and monitors a local or distant mpd server.

# Installation

## Stable release

Download the latest release at http://mpdris2.patapon.info/latest/

    tar zvxf mpDris2-X.X.tar.gz
    cd mpDris2-X.X
    ./autogen.sh --sysconfdir=/etc
    make install (as root)

Older releases can be found at http://mpdris2.patapon.info/

## From git

    git clone git://github.com/eonpatapon/mpDris2.git
    cd mpDris2
    ./autogen.sh --sysconfdir=/etc
    make install (as root)

Logout/login from your session.
Default prefix is ``/usr/local``.

# Configuration

By default, mpDris2 will try to connect to localhost:6600.

To set a different host or port copy the example configuration file
``/usr/[local]/share/doc/mpdris2/examples/mpDris2.conf`` to
``~/.config/mpDris2/mpDris2.conf``.

Use the configuration to enable notifications and multimedia keys support (on
the GNOME desktop).

You need also to set the ``music_dir`` option for mpDris2 to export covers
paths in the MPRIS metadata.

Restart your session or mpDris2 after changing mpDris2.conf.

## Sample configuration

    [Connection]
    host = 192.168.1.5
    port = 6600
    music_dir = /media/music/

    [Bling]
    notify = False
    mmkeys = True