This file is indexed.

/usr/share/doc/xmms2-scrobbler/README is in xmms2-scrobbler 0.4.0-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
XMMS2-Scrobbler
===============

About
-----

XMMS2-Scrobbler is a client for XMMS2 that feeds information about the songs
you played to last.fm, formerly known as AudioScrobbler.
XMMS2-Scrobbler supports "multi-scrobbling", i.e. it can talk to more than
one AudioScrobbler server.
The latest version can be found at
http://code-monkey.de/pages/xmms2-scrobbler.


Dependencies
------------

XMMS2-Scrobbler obviously depends on libxmmsclient (ships with XMMS2).
It also depends on CURL. That's it.


Installation
------------

Run "make" to build xmms2-scrobbler.

Run "make install" to install xmms2-scrobbler. The usual variables PREFIX
and DESTDIR are evaluated.

Alternatively, just copy the bin/xmms2-scrobbler file anywhere you like.


Usage
-----

First, you need to set up XMMS2-Scrobbler's config files.
Config values that are specific to the AudioScrobbler server go in
~/.config/xmms2/clients/xmms2-scrobbler/$SERVER_NAME/config.
You will usually have .../clients/xmms2-scrobbler/lastfm/config
and maybe .../clients/xmms2-scrobbler/librefm/config.

These server-specific config files contain your username and password
and the URL to use:

	mkdir ~/.config/xmms2/clients/xmms2-scrobbler/lastfm
	echo -e "user: foo\npassword: bar\nhandshake_url: http://post.audioscrobbler.com\n" > \
	        ~/.config/xmms2/clients/xmms2-scrobbler/lastfm/config

For libre.fm, use
  handshake_url: http://turtle.libre.fm

Optionally, if you're behind a proxy, you'll need to tell XMMS2-Scrobbler
about that proxy. This information applies to all servers and so goes in
.../clients/xmms2-scrobbler/config.

	echo -e "proxy: my.proxy\nproxy_port: 8080\n" >> \
	        ~/.config/xmms2/clients/xmms2-scrobbler/config

Next, create a symlink to the script in ~/.config/xmms2/startup.d.
This will make xmms2d start xmms2-scrobbler on startup. When xmms2d is
killed, xmms2-scrobbler will exit automatically.

In case anything doesn't work as it should, have a look at
~/.config/xmms2/clients/xmms2-scrobbler/logfile.log.


Upgrading from 0.3.x
--------------------

The 0.3 series of XMMS2-Scrobbler didn't use server-specific config files.
To upgrade your configuration, do like this:

	cd ~/.config/xmms2/clients/xmms2-scrobbler

	# Create a config directory for the last.fm server
	mkdir lastfm

	# Copy the old config to the last.fm-specific config file
	grep -v ^proxy config > lastfm/config

	# Remove the last.fm-specific lines from the generic config file
	grep ^proxy config > proxy_config
	mv proxy_config config

	# Move the old queue file to the lastfm directory
	mv queue lastfm/

	# Append the handshake_url config value
	echo -e "\nhandshake_url: http://post.audioscrobbler.com\n" >> \
	        lastfm/config