From 539186ab49e478b784c919761533d6e8b3fce983 Mon Sep 17 00:00:00 2001 From: Jorg Schuler Date: Sun, 29 Oct 2006 10:37:47 +0000 Subject: Added additional functionality for photo albums * src/db-artwork-parser.c src/db-artwork-writer.c src/db-itunes-parser.c: src/itdb.h: added additional fields to MhbaHeader and Itdb_PhotoAlbum (playmusic, repeat, random, show_titles, transition_direction, slide duration, transition_duration, unk024, unk028, unk044, unk048, song_id. These fields are read and written from the PhotoDB now. Also corrected error for "album type" which was read and written as int32 even though it was a int8. Removed num_images from Itdb_PhotoAlbum -- instead count images at time of writing. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1330 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- tests/test-photos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-photos.c') diff --git a/tests/test-photos.c b/tests/test-photos.c index 36c3bf5..18d364e 100644 --- a/tests/test-photos.c +++ b/tests/test-photos.c @@ -405,9 +405,9 @@ main (int argc, char **argv) { return do_remove (argc, argv); } + g_print (_("Unknown command '%s'\n"), argv[1]); usage (argc, argv); - - return 0; + return 1; } -- cgit