summaryrefslogtreecommitdiff
path: root/examples/albums.c
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2007-04-23 07:27:53 +0000
committerLinus Walleij <triad@df.lth.se>2007-04-23 07:27:53 +0000
commitff506ef1b99dbc82a868ddeae0e3c1e39d275658 (patch)
tree50e5be1641e1a8667ed4e05153312c989a9a7762 /examples/albums.c
parent5573def1945e343dc659f8dfdd3d88f2b6e37af0 (diff)
downloadlibmtp-ff506ef1b99dbc82a868ddeae0e3c1e39d275658.tar.gz
Fixed usage of new album code
Diffstat (limited to 'examples/albums.c')
-rw-r--r--examples/albums.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/albums.c b/examples/albums.c
index ae0686b..f39c4c2 100644
--- a/examples/albums.c
+++ b/examples/albums.c
@@ -24,9 +24,11 @@
static void dump_albuminfo(LIBMTP_album_t *album)
{
- printf("Album ID:%d\n",album->album_id);
- printf(" Name:%s\n",album->name);
- printf(" Tracks:%d\n\n",album->no_tracks);
+ printf("Album ID: %d\n",album->album_id);
+ printf(" Name: %s\n",album->name);
+ printf(" Artist: %s\n", album->artist);
+ printf(" Genre: %s\n", album->genre);
+ printf(" Tracks: %d\n\n",album->no_tracks);
}
int main () {