~timo-jyrinki/ubuntu/utopic/rhythmbox/enable_grilo_rhythmbox

« back to all changes in this revision

Viewing changes to plugins/audioscrobbler/rb-audioscrobbler-entry.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-03-12 12:07:21 UTC
  • mfrom: (1.2.28)
  • Revision ID: package-import@ubuntu.com-20120312120721-ubdep6yl0sgfbr7i
Tags: 2.96-1
* New upstream release.
* Update Build-Depends:
  - Bump libgtk-3-dev to (>= 3.2.0).
  - Drop gir1.2-gtk-3.0, pulled via libgtk-3-dev.
  - Bump libglib2.0-dev (>= 2.28.0).
* Re-add magnatune plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
 
145
145
        encoded->mbid = soup_uri_encode (entry->mbid, EXTRA_URI_ENCODE_CHARS);
146
146
 
147
 
        encoded->timestamp = g_strdup_printf("%ld", entry->play_time);
 
147
        encoded->timestamp = g_strdup_printf("%ld", (long)entry->play_time);
148
148
        encoded->length = entry->length;
149
149
        encoded->source = g_strdup (entry->source);
150
150
 
221
221
                                encoded->album,
222
222
                                encoded->mbid,
223
223
                                encoded->length,
224
 
                                entry->play_time);
 
224
                                (long)entry->play_time);
225
225
        rb_audioscrobbler_encoded_entry_free (encoded);
226
226
}
227
227
 
232
232
        rb_debug ("      album: %s", entry->album);
233
233
        rb_debug ("      title: %s", entry->title);
234
234
        rb_debug ("     length: %d", entry->length);
235
 
        rb_debug ("   playtime: %ld", entry->play_time);
 
235
        rb_debug ("   playtime: %ld", (long)entry->play_time);
236
236
}
237
237