Hi zusammen,
da ich von Last.fm auf Libre.fm wechseln möchte habe ich mir mal mpdscribble angesehen; dies ist, soweit ich weiß, bisher die einzige Möglichkeit mit mpd & Sonata zu Libre.fm zu scrobbeln.
EDIT: Vorheriges Problem: (weiter unten dann mein aktuelles Problem)
Ich habe mpdscribble also aus den Repositorys installiert, und meine /etc/mpdscribble.conf wie folgt konfiguriert:
## mpdscribble - an audioscrobbler for the Music Player Daemon. ## http://mpd.wikia.com/wiki/Client:mpdscribble # HTTP proxy URL. #proxy = http://the.proxy.server:3128 # The location of the pid file. mpdscribble saves its process id there. pidfile = /var/run/mpdscribble.pid # Change to this system user after daemonization. #daemon_user = mpdscribble # The location of the mpdscribble log file. The special value # "syslog" makes mpdscribble use the local syslog daemon. On most # systems, log messages will appear in /var/log/daemon.log then. # "-" means log to stderr (the current terminal). log = syslog # How verbose mpdscribble's logging should be. Default is 1. verbose = 1 # How often should mpdscribble save the journal file? [seconds] #journal_interval = 600 # The host running MPD, possibly protected by a password # ([PASSWORD@]HOSTNAME). Defaults to $MPD_HOST or localhost. host = localhost # The port that the MPD listens on and mpdscribble should try to # connect to. Defaults to $MPD_PORT or 6600. port = 6600 [last.fm] url = http://post.audioscrobbler.com/ username = [hihi] password = [hoho] # The file where mpdscribble should store its Last.fm journal in case # you do not have a connection to the Last.fm server. journal = /var/cache/mpdscribble/lastfm.journal #[libre.fm] #url = http://turtle.libre.fm/ username = [blabla] password = [neinnein] #journal = /var/cache/mpdscribble/librefm.journal #[jamendo] #url = http://postaudioscrobbler.jamendo.com/ #username = my_username #password = my_password #journal = /var/cache/mpdscribble/jamendo.journal #[file] file = /var/log/mpdscribble/logWenn ich mpdscribble nun per "sudo /etc/init.d/mpdscribble start" starten möchte erhalte ich folgende Meldung:
1 2 [user]@[computer]:~$ sudo /etc/init.d/mpdscribble start * Not starting Music Player Daemon Last.fm Client, disabled via /etc/default/mpdscribbleDie "/etc/default/mpdscribble" sieht so aus:
# Defaults for mpdscribble initscript # sourced by /etc/init.d/mpdscribble # installed at /etc/default/mpdscribble by the maintainer scripts # # This is a POSIX shell fragment # # Whether to enable system wide daemon MPD_SYSTEMWIDE=! # Additional options that are passed to the Daemon. DAEMON_OPTS="" # user/group to use (mpdscribble:mpdscribble are default) USER=mpdscribble GROUP=mpdscribble
EDIT: Ab hier mein aktuelles Problem:
Ich habe mpdscribble noch einmal komplett entfernt und wieder installiert, um die Standardkonfigurationsdateien wiederherzustellen. Nun habe ich, nachdem ich mit "man mpdscribble" beschäftigt habe, eine "mpdscribble.conf" unter "~/.mpdscribble" angelegt. Diese sieht wie folgt aus:
## mpdscribble - an audioscrobbler for the Music Player Daemon. ## http://mpd.wikia.com/wiki/Client:mpdscribble # HTTP proxy URL. #proxy = http://the.proxy.server:3128 # The location of the pid file. mpdscribble saves its process id there. pidfile = /var/run/mpdscribble.pid # Change to this system user after daemonization. #daemon_user = mpdscribble # The location of the mpdscribble log file. The special value # "syslog" makes mpdscribble use the local syslog daemon. On most # systems, log messages will appear in /var/log/daemon.log then. # "-" means log to stderr (the current terminal). log = syslog # How verbose mpdscribble's logging should be. Default is 1. verbose = 1 # How often should mpdscribble save the journal file? [seconds] journal_interval = 600 # The host running MPD, possibly protected by a password # ([PASSWORD@]HOSTNAME). Defaults to $MPD_HOST or localhost. host = localhost # The port that the MPD listens on and mpdscribble should try to # connect to. Defaults to $MPD_PORT or 6600. port = 6600 [last.fm] url = http://post.audioscrobbler.com/ username = [lele] password = [lababa] # The file where mpdscribble should store its Last.fm journal in case # you do not have a connection to the Last.fm server. journal = /var/cache/mpdscribble/lastfm.journal [libre.fm] #url = http://turtle.libre.fm/ username = [lulu] password = [lolo] journal = /var/cache/mpdscribble/librefm.journal #[jamendo] #url = http://postaudioscrobbler.jamendo.com/ #username = my_username #password = my_password #journal = /var/cache/mpdscribble/jamendo.journal #[file] file = /var/log/mpdscribble/log
Ich kann mpdscribble nun auch fehlerfrei starten, allerdings weder restarten noch stoppen. Bei /etc/init.d/mpdscribble stop gibt mir die Konsole jedes Mal ein [fail]. Gescrobbelt wird natürlich ausserdem auch nicht. Weiß irgendjemand weiter?
Ich habe keine Ahnung wie ich weiter vorgehen soll und finde auch weder hier, noch per Google, eine ausführliche Konfigurationsanleitung für mpdscribble ...
Aber eventuell kennt sich von euch ja jemand aus 😉