You are not logged in.

#1 2008-11-04 22:37:01

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

New MPD last.fm scrobbler

This is not my project. It's done by unk_ how also created ncmpcpp.
I maintain the AUR package tho and ask you all to test this thing.

What makes this scrobbler different from the rest is that it uses the new protocol, thus it shows the nice now playing status on last.fm page.

It's also possible that unk_ will add the option to love/ban tracks that you play, but thats future talk.

http://aur.archlinux.org/packages.php?ID=21097



*edit* added link

Last edited by Rasi (2008-11-17 00:19:08)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2008-11-04 23:34:01

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: New MPD last.fm scrobbler

link or name would be good big_smile

/e


Here it is for other people http://aur.archlinux.org/packages.php?ID=21097

Last edited by Zariel (2008-11-04 23:34:21)

Offline

#3 2008-11-05 10:05:09

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: New MPD last.fm scrobbler

Zariel wrote:

link or name would be good big_smile

/e


Here it is for other people http://aur.archlinux.org/packages.php?ID=21097

Haha... damn, thanks


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#4 2008-11-05 13:35:16

Baha
Member
Registered: 2008-09-07
Posts: 52

Re: New MPD last.fm scrobbler

OMGOMGOMGOMG thanks! Now mpd is my favourite player, no doubt!

Offline

#5 2008-11-07 10:51:06

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: New MPD last.fm scrobbler

==> Retrieving Sources...
  -> Found scrobby.init in build dir
  -> Found scrobby.install in build dir
==> Validating source files with md5sums...
    scrobby.init ... FAILED
    scrobby.install ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Makepkg was unable to build scrobby-git package.

is this because the upstream sources (git repo) are changing all the time and the checksums cannot be kept in sync?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#6 2008-11-07 10:57:09

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: New MPD last.fm scrobbler

I don't think so. Just go and change the MD5 sums for the two files yourself. I did it and it worked. Great job for this little program. I'm using it right now.

Offline

#7 2008-11-07 11:24:08

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: New MPD last.fm scrobbler

Is it possible to run scrobby as a normal user and still use the pid, cache and log files?  It looks to me that scrobby can't drop privileges itself.

PS thread @ last.fm about scrobby -> http://www.last.fm/group/mpd/forum/16122/_/472521


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#8 2008-11-07 16:47:13

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: New MPD last.fm scrobbler

Dieter@be wrote:

Is it possible to run scrobby as a normal user and still use the pid, cache and log files?  It looks to me that scrobby can't drop privileges itself.

PS thread @ last.fm about scrobby -> http://www.last.fm/group/mpd/forum/16122/_/472521

You can define the paths, where scrobby saves those files. Just make it use some files at a place where your user has access.


Thanks for the hint with the md5's. Will correct this.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#9 2008-11-10 08:41:13

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: New MPD last.fm scrobbler

Any particular reason scrobby uses 96.0% of my cpu?

http://img145.imageshack.us/my.php?imag … 6scts4.jpg

Three instances of mpd seems odd as well...

Last edited by EnvoyRising (2008-11-10 08:41:35)

Offline

#10 2008-11-10 09:42:04

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: New MPD last.fm scrobbler

EnvoyRising wrote:

Any particular reason scrobby uses 96.0% of my cpu?

http://img145.imageshack.us/my.php?imag … 6scts4.jpg

Three instances of mpd seems odd as well...

3 instances of mpd are correct. Dont know about the CPU thing. Please contact unk_ in #mpd on freenode.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#11 2008-11-14 21:26:10

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: New MPD last.fm scrobbler

scrobby is great, perfect companion for ncmpcpp smile


ᶘ ᵒᴥᵒᶅ

Offline

#12 2008-11-14 23:12:15

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: New MPD last.fm scrobbler

This is a great project! Thanks for adding it to the AUR, it's a very nice scrobbler.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#13 2008-11-14 23:35:58

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: New MPD last.fm scrobbler

I have put it into the DAEMONS line in rc.conf into the last position, after mpd and network is already up. But it fails to start. After login I can start it via terminal as usual.

Offline

#14 2008-11-16 16:56:53

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: New MPD last.fm scrobbler

When I try to start scrobby, I get this:

Cannot create/open pid file: ~/.mpd/scrobby.pid

I set the dedicated user to roberth(which is the user that owns .mpd, what is wrong?


Use the Source, Luke!

Offline

#15 2008-11-16 16:58:17

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: New MPD last.fm scrobbler

Roberth wrote:

When I try to start scrobby, I get this:

Cannot create/open pid file: ~/.mpd/scrobby.pid

I set the dedicated user to roberth(which is the user that owns .mpd, what is wrong?

I've noticed Scrobby doesn't make the dir by itself.  ~/.mpd must exist before starting it.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#16 2008-11-16 16:59:16

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: New MPD last.fm scrobbler

It exists.


Use the Source, Luke!

Offline

#17 2008-11-16 17:02:05

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: New MPD last.fm scrobbler

And with correct owner and perms?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#18 2008-11-16 17:06:38

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: New MPD last.fm scrobbler

Yes, the folder was created with the same user...


Use the Source, Luke!

Offline

#19 2008-11-16 21:51:48

unK
Member
Registered: 2008-11-16
Posts: 26

Re: New MPD last.fm scrobbler

Roberth wrote:

Yes, the folder was created with the same user...

It's because scrobby didn't handle paths with ~ at the beginning. However, it does now, just update to the newest git.

Offline

#20 2008-11-16 22:23:56

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: New MPD last.fm scrobbler

It seems to now complain wherever i set the path.


Use the Source, Luke!

Offline

#21 2008-11-17 00:17:29

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: New MPD last.fm scrobbler

Army wrote:

I have put it into the DAEMONS line in rc.conf into the last position, after mpd and network is already up. But it fails to start. After login I can start it via terminal as usual.

The rc.d script is far from being perfect.. Had written it myself, since scrobby only has init.d script included.
i could need some help with that thing... smile


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#22 2008-11-17 12:14:02

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: New MPD last.fm scrobbler

Thanks for your answer. I would love to give you a better solution, but I never wrote an init script. But maybe it's more intuitive than expected, I'll at least take a look at it wink

Offline

#23 2008-11-17 12:42:35

allbluedream
Member
Registered: 2008-04-06
Posts: 155

Re: New MPD last.fm scrobbler

It seems that scrobby would die from long inacitivity of the network (disconnected) or of mpd (paused or something). Haven't really found out which is the case, but scrobby has been quiting on me quite consistently over the days.

BTW, when scrobby dies, the pid file is not cleared, and has to be cleared by hand...quite a nuisance.

Otherwise this is a great and promising scrobbler.

Should I email the author? (Not really, but makes me feel like spamming...) I'm quite uncomfortable with IRC... A bug track would be nice.

Offline

#24 2008-11-17 14:09:14

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: New MPD last.fm scrobbler

Yes, please email him! I did quite often in the past few weeks (told him my ideas for ncmpcpp, he implemented EVERYTHING! Now "we" are about to implement another big thing, let's see if it works). A very nice guy!

Offline

#25 2008-11-17 14:16:36

unK
Member
Registered: 2008-11-16
Posts: 26

Re: New MPD last.fm scrobbler

allbluedream wrote:

It seems that scrobby would die from long inacitivity of the network (disconnected) or of mpd (paused or something). Haven't really found out which is the case, but scrobby has been quiting on me quite consistently over the days.

BTW, when scrobby dies, the pid file is not cleared, and has to be cleared by hand...quite a nuisance.

Otherwise this is a great and promising scrobbler.

Should I email the author? (Not really, but makes me feel like spamming...) I'm quite uncomfortable with IRC... A bug track would be nice.

Run it in gdb with option --no-daemon and if it crash, send me a backtrace. (I am the author, feel free to mail me).

Offline

Board footer

Powered by FluxBB