[sound-juicer] mb-test: display release date
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] mb-test: display release date
- Date: Mon, 31 Oct 2011 14:36:45 +0000 (UTC)
commit 59912c0988001f4405f1c47b2e37d048b8204d33
Author: Christophe Fergeau <cfergeau redhat com>
Date: Tue Aug 2 01:20:05 2011 +0200
mb-test: display release date
tests/mb-test.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/mb-test.c b/tests/mb-test.c
index 31c8d88..127d33c 100644
--- a/tests/mb-test.c
+++ b/tests/mb-test.c
@@ -75,7 +75,8 @@ metadata_cb (SjMetadataGetter *metadata, GList *albums, const GError *error)
if (album->is_spoken_word)
g_print ("Is spoken word\n");
disc_number = g_strdup_printf (" (Disc %d)", album->disc_number);
- g_print ("'%s', by %s%s\n", album->title, album->artist, album->disc_number ? disc_number : "");
+ g_print ("'%s', by %s%s, released %d-%02d-%02d\n", album->title, album->artist, album->disc_number ? disc_number : "",
+ g_date_get_year (album->release_date), g_date_get_month (album->release_date), g_date_get_day (album->release_date));
g_free (disc_number);
while (album->tracks) {
TrackDetails *track = (TrackDetails*)album->tracks->data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]