You are not logged in.

#26 2005-04-01 21:00:17

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Audioscrobbler :: Group "ArchLinux"

I'll work on this sometime next week. smile


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#27 2005-04-08 06:20:36

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Audioscrobbler :: Group "ArchLinux"

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.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#28 2005-04-08 08:42:17

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: Audioscrobbler :: Group "ArchLinux"

miqorz wrote:

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

#29 2005-04-08 08:44:40

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Audioscrobbler :: Group "ArchLinux"

Heh, I just wrote a bash wrapper for that. I guess my efforts were wasted?

wink


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#30 2005-04-08 09:13:26

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: Audioscrobbler :: Group "ArchLinux"

miqorz wrote:

Heh, I just wrote a bash wrapper for that. I guess my efforts were wasted?

wink

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

#31 2005-04-08 09:18:06

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Audioscrobbler :: Group "ArchLinux"

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

http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#32 2005-06-20 07:20:33

murkus
Member
From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

Re: Audioscrobbler :: Group "ArchLinux"

I should have guessed. There's Arch group on audioscrobbler! big_smile

I just joined in..

.murkus

Offline

#33 2005-06-21 16:23:04

oscar
Member
From: Linköping, Sweden
Registered: 2004-08-13
Posts: 457

Re: Audioscrobbler :: Group "ArchLinux"

murkus wrote:

I should have guessed. There's Arch group on audioscrobbler! big_smile

I just joined in..

.murkus

Actually, there's two... tongue


To err is human... to really foul up requires the root password.

Offline

#34 2005-07-05 09:38:31

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 782
Website

Re: Audioscrobbler :: Group "ArchLinux"

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

#35 2005-07-07 18:25:58

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 782
Website

Re: Audioscrobbler :: Group "ArchLinux"

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

#36 2005-07-08 18:12:20

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 782
Website

Re: Audioscrobbler :: Group "ArchLinux"

Figured out.  When you have mpd crossfading, mpdscribble considers it "skipping" in the song, and it wont report it.

Offline

#37 2005-07-09 02:40:11

wickedlester
Member
Registered: 2004-07-22
Posts: 133

Re: Audioscrobbler :: Group "ArchLinux"

Does anyone happen to have the mpdscribbler source? The site is down. Thanks to anyone in advance.

Offline

#38 2005-07-09 08:35:39

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 552

Re: Audioscrobbler :: Group "ArchLinux"

wickedlester wrote:

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

#39 2005-07-09 18:05:27

wickedlester
Member
Registered: 2004-07-22
Posts: 133

Re: Audioscrobbler :: Group "ArchLinux"

Yep. Seems to be back online. Thanks neri smile

Offline

Board footer

Powered by FluxBB