Tuesday, 4 November 2008

Twonkymedia last.fm scrobbler

Well I haven't posted anything for a while, but today I finally completed the first stage of a programming project I hinted back in February.

It is a scrobbler for the last.fm service that sits and monitors the TwonkyMedia uPnP server and sents information of tracks it is servicing!

The TwonkyVision people added an RSS service (think it was on version 4 and primarily to support non-upnp devices such as the SonyPSP) This is available at http://localhost:9000/rss (that link won't work unless you are reading this on a computer running the server!)
By drilling down from this page it is possible to reach a 'last played' rss feed.

It is buggy, the feed isn't updated correctly, but appears the last entry in the rss feed is always the last audio file served up. My scrobbler which is based on the KexpScrobbler by Markus Palme reads this file and extracts the appropriate information from the last entry and scrobbles the data.

I have to do a bit more testing but looks like it works, and I will be releasing it on my website soon!

Labels: , , , ,

Bookmark and Share

Wednesday, 7 May 2008

Last.fm client has not been submitting tracks for days

Last.fm client

Just had a strange problem, the last.fm client has been merrily collating all the tracks I have listened to the last few days, but they haven't been showing up on my played list, the last tracks showing were submitted 5 days ago. The client updated itself this morning as well to version 1.5.0.24910

Checking the support forums it seems I haven't been the only one suffering this problem, and this posted solution seems a little strange but I can verify it worked, the official solutions that have been posted don't.

It appears that when the client is starting up (initiated by your media player starting) it doesn't always successfully connect to the servers correctly. If you click the Help and Check For Updates it reports an error about not being able to connect. Shut down the client and restart it and immediately it updates the list of the unsubmitted tracks. If you check for updates again, it will reports if it's up to date, or that it needs to update (this means the client is actually connecting to the server).

There definitely seems to a bug somewhere, and as it wasn't submitted tracks with the previous client it suggests a fault at the last.fm end.

Labels: , , ,

Bookmark and Share