[mafw-lastfm-devel] New projects: libscrobble and mafw-scrobbler

Felipe Contreras felipe.contreras at gmail.com
Thu Jan 7 21:17:08 EET 2010


On Thu, Jan 7, 2010 at 8:23 PM, Claudio Saavedra <csaavedra at igalia.com> wrote:
> El jue, 07-01-2010 a las 18:03 +0200, Felipe Contreras escribió:
>> > - One track without album metadata.
>> > - A track with album metadata, but setting MafwLastfmTrack.artist to
>> >  NULL before passing it to the scrobbler (struct mangling courtesy
>> of
>> > gdb).
>>
>> I got an OK from the server, but the track was silently dropped. I can
>> verify again, but it's obvious from the code that it would so
>> something like "b[0]=(null)" while it should do "b[0]=", or maybe it
>> was the track number... not sure.
>
> Track number wouldn't be NULL (it's not a pointer).

No, but it would be 0. Maybe that's not valid.

> By the way, maybe you were testing with libre.fm? That might be the
> reason why I couldn't reproduce it.

Nope, I only tested libre.fm with mafw-scrobbler.

> Anyway, I pushed to master a commit to use an empty string instead of
> NULL. If you can give it a try, it would be great.

Sure, once I have some spare cycles.

Cheers.

-- 
Felipe Contreras


More information about the mafw-lastfm-devel mailing list