bartman's blog

mpdscribble stream support

bartman

I am using gnump3d to get my tracks to my laptop, which is using mpd to play tracks. I noticed that none of the streamed tracks were getting to last.fm. I investigated and discovered that mpdscribble was not getting told of the track length by mpd – understandably so – and was not reporting it to last.fm.

I patched the mpdscribble utility and posted about it.

Updated…

Err… after writing some patches for scmpc to support my setup. It has been brought to my attention that scrobling streaming tracks is BAD.

See: http://www.audioscrobbler.net/wiki/Protocol1.1.merged

I understand the reasons. But, these are real tracks on my server’s harddisk, and I do have the CDs in a box in the basement… so I don’t feel wrong about doing it, but you may want to use this patch at your own disgression.

Tags: