* Joerg Lehmann [20:59 18/11/04 CET]:
Hi Nicolas,
Hi,
I'm using pytone for more thant 6 months now and I'm quite happy using it. Really a neat ogg player.
Thanks.
No, thank you.
Today I had some time in front of me and I decided that I would hack a service for audioscrobbler¹. The audioscrobbler is quite idiot at this time since there is nothing like offline batching of entries and so on, but it's a first draft (of a worst case scenario as might say Tom Barman).
So I'd like to know, is this piece of code interesting enough to enter in pytone and if it is how can I upload it ? CVS/SVN ? mail the patch ? anything else ?
Whether integration makes sense, depends on how intrusive it is.
Not intrusive at all. You just define you're login name and password in pytonerc and there is nothing else to do.
Isn't there a command-line application for submitting audioscrobbler information. If yes, one could just call that when the playback of a new song starts (there is already support for this).
In fact, I'm using the playbackinfochanged event since the information is be sent after 240 seconds or when the track reached its middle. Correct me if I'm wrong but the playbackinfochanged event is the only one that send information about where we are in the song.
Still, if you have already have implemented this feature, just send the patch to me or to the list and I'll have a look on it.
Ok, I'm using it for 2 days now and it works.
Here is the patch, the scrobber service module and the audioscrobber module (I plan on using it elsewhere that's why I separated them).