-
Notifications
You must be signed in to change notification settings - Fork 22
/
mpdas.1
55 lines (55 loc) · 1.35 KB
/
mpdas.1
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
.\" mpdas.1
.TH mpdas 1
.SH "NAME"
mpdas \- Music Player Daemon AudioScrobbler
.SH "SYNOPSIS"
.B mpdas
[options]
.SH "DESCRIPTION"
mpdas is a MPD AudioScrobbler client using libmpd to retrieve the song data
from MPD and libcurl to post it to Last.fm.
.SH "OPTIONS"
.TP
.B \-c CONFIGFILE
Read configuration from file.
.TP
.B \-d
Run detached from the controlling terminal.
.TP
.B \-h
Display help.
.TP
.B \-v
Display version.
.SH "CONFIGURATION"
When mpdas starts it tries to read the configuration file $SYSCONFIGDIR/mpdasrc first, then the user configuration file at ~/.config/mpdasrc (taken from $XDG_CONFIG_HOME if set) or ~/.mpdasrc.
.TP
An example configuration file (mpdasrc.example) is usually provided with mpdas.
.TP
.B username = LASTFM USERNAME
Set your Last.fm username.
.TP
.B password = LASTFM PASSWORD
Set your Last.fm password
.TP
.B host = HOSTNAME
Set the hostname used by MPD.
.TP
.B mpdpassword = MPD PASSWORD
Set the password used by MPD.
.TP
.B port = MPD PORT
Set the port used by MPD.
.TP
.B runas = USERNAME
Changes the user mpdas runs as.
.TP
.B debug = (0|1)
Print out debug information.
.TP
.B service = SERVICE NAME
Will scrobble to Libre.fm if set to "librefm". Otherwise Last.fm is used (default).
.SH "AUTHORS"
\fBmpdas\fR was written by Henrik Friedrichsen <henrik@affekt.org>.
.PP
The \fBmanpage\fR was written by Sebastian Mair <tuqs@core.ws>.