/
INSTALL
58 lines (42 loc) · 1.99 KB
/
INSTALL
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
CmuScrobbler - Installation Guide
================================
To install CmuScrobble, copy the python script somewhere convenient (e.g.
/home/user/.cmus/cmuscrobble.py).
Edit the beginning of the file and add your last.fm username and password and
set the path to the cachefile (e.g. /home/user/.cmus/cmuscrobble.last.cache)
and pidfile. You can also use the config file ~/.cmuscrobbler.conf or
~/.cmus/cmuscrobbler.conf to make it easier to update the script (see CONFIG
EXAMPLE below).
You can now do multiscrobble. Just add multiple entries to the config. See the
source for an example.
Make sure you have python-scrobbler installed. You can install it with
easy_installer by entering `sudo easy_install scrobbler`.
ATTENTION! CmuScrobbler now needs a patched version of scrobbler (until my
patches get accepted upstream). Please install python-scrobbler with
`sudo easy_install https://noahduffy.me/files/scrobbler-1.0.0a2_patch-py2.7.egg`
If you want to bake your own scrobbler package you can find the patch here:
https://sourceforge.net/p/scrobbler/patches/1/
CmuScrobbler also depends on mutagen to read the MusicBrainz TrackID from the
ID3-tags. You can install it also with easy_install, type:
`sudo easy_install mutagen`
Afer you have done all this you can set cmus to use cmuscrobbler.py by entering
`:set status_display_program=/home/user/.cmus/cmuscrobbler.py`
Then you should be good to go to scrobble your brains out.
CONFIG EXAMPLE
==============
[DEFAULT]
do_now_playing = true
debug = false
debuglogfile = /path/to/logfile
[last.fm]
username = your last.fm username
password = 5f4dcc3b5aa765d61d8327deb882cf99
cachefile = /path/to/last.fm/cachefile
scrobbler_url = http://post.audioscrobbler.com/
pidfile = /path/to/last.fm/pidfile
#[libre.fm]
#username = your libre.fm username
#password = 5f4dcc3b5aa765d61d8327deb882cf99
#cachefile = /path/to/libre.fm/cachefile
#scrobbler_url = http://turtle.libre.fm/
#pidfile = /path/to/libre.fm./pidfile