Re: mafw-lastfm 0.0.1

2009-10-05 Thread Xabier Rodriguez Calvar
O Ven, 02-10-2009 ás 17:59 +0300, Claudio Saavedra escribiu:
 [Since this is the initial release, I think it's OK to make a heads up
 in this mailing, in case anyone else is interested in cooperating with
 this project]
 
 mafw-lastfm is a last.fm scrobbler for maemo devices using the Media
 Application Framework, like the N900. This is its the initial release.
 It basically works: it sets your playing-now status and it scrobbles.

Just excellent! I reviewed it and it is a very good job! I am already
working on some patches to add some features, but I'll tell you when
they are ready :)

Br.

-- 
Xabier Rodríguez Calvar
Enxeñeiro en Informática
IGALIA http://www.igalia.com


signature.asc
Description: Esta é unha parte de mensaxe asinada dixitalmente
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: mafw-lastfm 0.0.1

2009-10-05 Thread Felipe Contreras
2009/10/5 Xabier Rodriguez Calvar xrcal...@igalia.com:
 O Ven, 02-10-2009 ás 17:59 +0300, Claudio Saavedra escribiu:
 [Since this is the initial release, I think it's OK to make a heads up
 in this mailing, in case anyone else is interested in cooperating with
 this project]

 mafw-lastfm is a last.fm scrobbler for maemo devices using the Media
 Application Framework, like the N900. This is its the initial release.
 It basically works: it sets your playing-now status and it scrobbles.

 Just excellent! I reviewed it and it is a very good job! I am already
 working on some patches to add some features, but I'll tell you when
 they are ready :)

/me crosses his fingers for multiscrobble and libre.fm :)

-- 
Felipe Contreras
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: mafw-lastfm 0.0.1

2009-10-05 Thread Claudio Saavedra
El lun, 05-10-2009 a las 16:29 +0300, Felipe Contreras escribió:
 
  Just excellent! I reviewed it and it is a very good job! I am
 already
  working on some patches to add some features, but I'll tell you when
  they are ready :)
 
 /me crosses his fingers for multiscrobble and libre.fm :)

That's not such a crazy idea, we could add it at some point. Right now
the code is quite simple and it shouldn't be much a problem to refactor
to make it webservice-agnostic or something like that :)

btw, I forgot to say, but I set up a mailing list for those interested
in this small project. mafw-lastfm-de...@garage.maemo.org .

Claudio


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: mafw-lastfm 0.0.1

2009-10-05 Thread Alberto Garcia
On Mon, Oct 05, 2009 at 04:55:35PM +0300, Claudio Saavedra wrote:

   Just excellent! I reviewed it and it is a very good job! I am
   already working on some patches to add some features, but I'll
   tell you when they are ready :)
  /me crosses his fingers for multiscrobble and libre.fm :)
 That's not such a crazy idea, we could add it at some point.

The scrobbling API is exactly the same, so it should be easy.

Berto
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


mafw-lastfm 0.0.1

2009-10-02 Thread Claudio Saavedra
[Since this is the initial release, I think it's OK to make a heads up
in this mailing, in case anyone else is interested in cooperating with
this project]

mafw-lastfm is a last.fm scrobbler for maemo devices using the Media
Application Framework, like the N900. This is its the initial release.
It basically works: it sets your playing-now status and it scrobbles.

For setup instructions, consult the README file.

where to get it
---

  Source:

  https://garage.maemo.org/projects/mafw-lastfm/

  Packages:

  Soon to appear in Fremantle's extras-devel

What's new?
---

- Initial release
- Set now-playing, and scrobble.
- Credentials stored in $HOME/.mafw-lastfm

Short log of this release
-

Claudio Saavedra (42):
  Initialize with daemon dummy template
  Print only the relevant data. Introduce helper function for string 
metadata.
  Remove unnecesary messages and extra code
  Add initial lastfm scrobbler implementation
  Parse the handshake response and store relevant session data
  Clean up compile warnings
  Add basic Makefile
  Add MafwLastfTrack structure for track handling
  Create instance of MafwLastfmScrobbler earlier and use as callback data
  Implement Now-Playing notification
  Make mafw_metadata_lookup_string allocate the string
  Add mafw_metadata_lookup_int()
  Send Now-Playing notification for currently played song on 
metadata-changed
  Add a GQueue for the tracks to be scrobbled
  Use an int64 for the tracks lenght as required by mafw
  Retrieve the missing metadata required for a scrobble
  Initial implementation of the scrobbling call
  Use the track length for the submission timeout
  Clean the submission queue on enqueue of each track
  Clean the queue before setting a new playing-now track
  Use the identifier provided by last.fm for scrobbling
  Load the last.fm credentials from a keyfile
  Add README and AUTHORS files
  Use autotools for building and packaging
  Add GPLv2 header to source files
  Add AM_MAINTAINER_MODE to configure.ac
  Rename on_timeout() to scrobble_timeout()
  Actually clean the tracks queue from the tail
  Add mafw_lastfm_scrobbler_set_credentials()
  Retry handshaking when connection fails
  Don't set playing-now status nor scrobble if handshake is needed
  Requeue tracks on scrobble submit failure and handshake again
  Improve submission logging messages
  Do not scrobble tracks without artist or title metadata
  Do not encode NULL strings or soup_uri_encode() will crash
  Remove irrelevant comments
  Factor the code to flush the scrobbling queue into a public method
  Flush the scrobbling queue when the renderer is stopped
  Remove already implemented features from README
  Update README
  Release 0.0.1
  Do not depend on a explicit mafw version



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: mafw-lastfm 0.0.1

2009-10-02 Thread Andrea Grandi
Hi,

2009/10/2 Claudio Saavedra csaave...@igalia.com:
 [Since this is the initial release, I think it's OK to make a heads up
 in this mailing, in case anyone else is interested in cooperating with
 this project]

 mafw-lastfm is a last.fm scrobbler for maemo devices using the Media
 Application Framework, like the N900. This is its the initial release.
 It basically works: it sets your playing-now status and it scrobbles.

 For setup instructions, consult the README file.

great job Claudio!!!

I hope to be able to test it as soon as possible ;)

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers