You are not logged in.

#1 2009-04-03 21:17:28

miromanyth
Member
Registered: 2008-05-18
Posts: 25

Moc and Scrobbling

Hey everybody,

Moc/Mocp is my very favorite CLI music player. Unfortunately it is not scrobbling my tracks to last.fm. I have tried damn near everything and I cannot get it to work.

Things I've tried:

installing lastfmsubmitd and appending this line to my ~/.moc/config file:

OnSongChange = "/usr/lib/lastfmsubmitd/lastfmsubmit --artist %a --title %t --length %d --album %b"

I've tried a couple different "OnSongChange" scripts ie:http://lukeplant.me.uk/blog.php?id=1107301687

Nothing seems to be working.

Help!

Offline

#2 2009-04-03 21:18:19

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Moc and Scrobbling

mpdscribble?


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#3 2009-04-03 21:25:56

miromanyth
Member
Registered: 2008-05-18
Posts: 25

Re: Moc and Scrobbling

How would I make that work with MOC? It monitors MPD doesn't it?

Offline

#4 2009-04-03 21:27:38

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Moc and Scrobbling

miromanyth wrote:

How would I make that work with MOC? It monitors MPD doesn't it?

Crap, I am sorry, I read mpd, not moc. Sorry.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#5 2009-04-03 21:35:00

miromanyth
Member
Registered: 2008-05-18
Posts: 25

Re: Moc and Scrobbling

Bah I figured it out

dir /var/spool/lastm must be read/write to non-root user.

Hope this helps someone

Offline

#6 2009-04-03 21:37:00

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Moc and Scrobbling

edit: delete this?

Two questions:

Does OnSongChange work?  If you use
echo " new song " >> change_test.txt
do you get a text file full of events?

Is your lastfmsubmit working?  What happens when you run it with test values plugged in?

Last edited by keenerd (2009-04-03 21:38:37)

Offline

Board footer

Powered by FluxBB