blob: f10e131edd6729b39113ded281ee442b48bfa49c (
about) (
plain) (
blame)
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
|
/*
* (C) 2011-2016 by Christian Hesse <mail@eworm.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*/
#ifndef _CONFIG_H
#define _CONFIG_H
/* how long to display notifications */
#define NOTIFICATION_TIMEOUT 10000
/* name of the icon used for notifications */
#define ICON_AUDIO_X_GENERIC "audio-x-generic"
/* strings used to display notification messages
* TEXT_PLAY_* need to include one string modifier '%s' each. */
#define TEXT_TOPIC "MPD Notification"
#define TEXT_PLAY_TITLE "Playing <b>%s</b>"
#define TEXT_PLAY_ARTIST "by <i>%s</i>"
#define TEXT_PLAY_ALBUM "from <i>%s</i>"
#define TEXT_PAUSE "Paused playback"
#define TEXT_STOP "Stopped playback"
#define TEXT_NONE "No action received yet."
#define TEXT_UNKNOWN "(unknown)"
/* this is a regular expression that has to match image filename used
* for artwork */
#define REGEX_ARTWORK "\\(folder\\|cover\\)\\.\\(jpg\\|png\\)"
/* how to connect to mpd host ?
* MPD_HOST is the server's host name, IP address or Unix socket path. If the
* resolver returns more than one IP address for a host name, this functions
* tries all of them until one accepts the connection. NULL is allowed here,
* which will connect to the default host.
* MPD_PORT is the TCP port to connect to, 0 for default port. If "host" is
* a Unix socket path, this parameter is ignored.
* MPD_TIMEOUT is the timeout in milliseconds, 0 for the default timeout. */
#define MPD_HOST NULL
#define MPD_PORT 0
#define MPD_TIMEOUT 0
#endif /* _CONFIG_H */
// vim: set syntax=c:
|