summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2006-10-29 10:37:47 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2006-10-29 10:37:47 +0000
commite8ecc3e50afc47952d68ee4655886dc4faca296b (patch)
tree2ae5e3895a3664053972b55ff71f5fbf06f12a35 /tests
parente6d6143818172892e9a667cca4f3a37639586605 (diff)
downloadlibgpod-e8ecc3e50afc47952d68ee4655886dc4faca296b.tar.gz
libgpod-e8ecc3e50afc47952d68ee4655886dc4faca296b.tar.xz
libgpod-e8ecc3e50afc47952d68ee4655886dc4faca296b.zip
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
Diffstat (limited to 'tests')
-rw-r--r--tests/test-photos.c4
1 files changed, 2 insertions, 2 deletions
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;
}