You are not logged in.
I'll work on this sometime next week.
Offline
Hmm, the guys in #mpd say that you can use "mpc update" instead of having to restart the daemon.
And I've found killing 'su' gets rid of that open process.
Offline
Hmm, the guys in #mpd say that you can use "mpc update" instead of having to restart the daemon.
And I've found killing 'su' gets rid of that open process.
exactly ... and if you don't have/installed mpc, you can do this:
[root@Asteraceae damir]# /etc/rc.d/mpd start
:: Starting Music Player Daemon [DONE]
[root@Asteraceae damir]# /etc/rc.d/mpd update-db
:: Updating mpd's database ... [BUSY]
:: Output written to /var/log/mpd.db-update [DONE]
as you see, while the daemon is running you can do a /etc/rc.d/mpd update-db to update the db
The impossible missions are the only ones which succeed.
Offline
Heh, I just wrote a bash wrapper for that. I guess my efforts were wasted?
Offline
Heh, I just wrote a bash wrapper for that. I guess my efforts were wasted?
not essentially ... if you have nicer output or some more intelligent wrapper then i would even think of addapting rc.d/mpd to take some of your code
what did you do differently?
EDIT:
link to cvsweb rc.d/mpd:
http://cvs.archlinux.org/cgi-bin/viewcv … cvs-markup
The impossible missions are the only ones which succeed.
Offline
Oh I didn't do mine in the form of an rc script.
I just slapped this in ~/bin
#!/bin/bash
echo -e "Updating MPD Database:" "33[0;34m[33[0;32mOK33[0;34m]33[0;0m"
mpd --update-db &>/dev/null
echo -e "Rehashing Info:" "33[0;34m[33[0;32mOK33[0;34m]"
mpc update &>/dev/null
Offline
I should have guessed. There's Arch group on audioscrobbler!
I just joined in..
.murkus
Offline
I should have guessed. There's Arch group on audioscrobbler!
I just joined in..
.murkus
Actually, there's two...
To err is human... to really foul up requires the root password.
Offline
When running mpdscribble, most all songs are not reported.
connected to mpd 0.11.5 at localhost:6600.
starting mpdscribble (mdc 0.2.5).
(loaded 0 songs from cache)
response: 200 OK
handshake ok.
submit url: http://post.audioscrobbler.com:80/protocol_1.1
interval set to 1 seconds.
new song detected (Alkaline Trio - Radio)
2005-07-05 09:05:24, songchange: Alkaline Trio - / Radio (280)
added (Alkaline Trio - Radio) to submit queue at position 1.
submitting 1 song.
post data: &a[0]=Alkaline%20Trio&t[0]=Radio&b[0]=&m[0]=&l[0]=280&i[0]=2005%2D07%2D05%2009%3A05%3A24
response: 200 OK
warning: submission rejected: Database too busy - try later.
interval set to 1 seconds.
warning: waiting 60 seconds before trying again.
submitting 1 song.
post data: &a[0]=Alkaline%20Trio&t[0]=Radio&b[0]=&m[0]=&l[0]=280&i[0]=2005%2D07%2D05%2009%3A05%3A24
response: 200 OK
warning: submission rejected: Database too busy - try later.
interval set to 1 seconds.
warning: waiting 60 seconds before trying again.
submitting 1 song.
post data: &a[0]=Alkaline%20Trio&t[0]=Radio&b[0]=&m[0]=&l[0]=280&i[0]=2005%2D07%2D05%2009%3A05%3A24
new song detected (Alkaline Trio - Sadie)
skipping detected, not submitting.
response: 200 OK
warning: submission rejected: Database too busy - try later.
interval set to 1 seconds.
warning: waiting 60 seconds before trying again.
submitting 1 song.
post data: &a[0]=Alkaline%20Trio&t[0]=Radio&b[0]=&m[0]=&l[0]=280&i[0]=2005%2D07%2D05%2009%3A05%3A24
response: 200 OK
warning: submission rejected: Database too busy - try later.
interval set to 1 seconds.
warning: waiting 60 seconds before trying again.
submitting 1 song.
post data: &a[0]=Alkaline%20Trio&t[0]=Radio&b[0]=&m[0]=&l[0]=280&i[0]=2005%2D07%2D05%2009%3A05%3A24
response: 200 OK
warning: submission rejected: Database too busy - try later.
interval set to 1 seconds.
warning: waiting 60 seconds before trying again.
submitting 1 song.
post data: &a[0]=Alkaline%20Trio&t[0]=Radio&b[0]=&m[0]=&l[0]=280&i[0]=2005%2D07%2D05%2009%3A05%3A24
response: 200 OK
warning: submission rejected: Database too busy - try later.
interval set to 1 seconds.
warning: waiting 60 seconds before trying again.
new song detected (Andre 3000 - Roses)
skipping detected, not submitting.
submitting 1 song.
post data: &a[0]=Alkaline%20Trio&t[0]=Radio&b[0]=&m[0]=&l[0]=280&i[0]=2005%2D07%2D05%2009%3A05%3A24
response: 200 OK
warning: submission rejected: Database too busy - try later.
interval set to 1 seconds.
And this just happens over and over. Audioscrobbler is always too busy, and any songs that are played after this first one are "skipped"
Offline
new song detected (Chicago - I'm A Man)
skipping detected, not submitting.
new song detected (Chicago - Prologue, August 29, 1968)
skipping detected, not submitting.
new song detected (Chicago - Someday (August 29, 1968))
skipping detected, not submitting.
new song detected (Chicago - Liberation)
skipping detected, not submitting.
new song detected (Chicago - Heart In Pieces)
skipping detected, not submitting.
new song detected (Chicago - I Don't Wanna Live Without Your Love)
skipping detected, not submitting.
new song detected (Chicago - I Stand Up)
skipping detected, not submitting.
new song detected (Chicago - We Can Last Forever)
skipping detected, not submitting.
new song detected (Chicago - Come In From The Night)
skipping detected, not submitting.
new song detected (Chicago - Look Away)
skipping detected, not submitting.
new song detected (Chicago - What Kind Of Man Would I Be?)
skipping detected, not submitting.
new song detected (Chicago - Runaround)
skipping detected, not submitting.
new song detected (Chicago - You're Not Alone)
skipping detected, not submitting.
new song detected (Chicago - Victorious)
skipping detected, not submitting.
new song detected (Chicago - Stay The Night)
skipping detected, not submitting.
new song detected (Chicago - We Can Stop The Hurtin')
skipping detected, not submitting.
new song detected (Chicago - Hard Habit To Break)
skipping detected, not submitting.
new song detected (Chicago - Remember The Feeling)
skipping detected, not submitting.
new song detected (Chicago - Along Comes A Woman)
skipping detected, not submitting.
This is what it does even when the servers will take submissions. Any ideas as to what is causing this?
Offline
Figured out. When you have mpd crossfading, mpdscribble considers it "skipping" in the song, and it wont report it.
Offline
Does anyone happen to have the mpdscribbler source? The site is down. Thanks to anyone in advance.
Offline
Does anyone happen to have the mpdscribbler source? The site is down. Thanks to anyone in advance.
Seems to be back online, I can grab it from here:
http://scribble.frob.nl/files/mpdscribble-0.2.5.tar.gz
-neri
Offline
Yep. Seems to be back online. Thanks neri
Offline