summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-10-29 10:37:47 +0000
committerjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-10-29 10:37:47 +0000
commit030e4791ad48e020b3932b2fbe53ea89ec86e43c (patch)
tree2ae5e3895a3664053972b55ff71f5fbf06f12a35 /tests
parent5e1e731fa6df438b344643f0d8e9ead58526f480 (diff)
downloadlibgpod-030e4791ad48e020b3932b2fbe53ea89ec86e43c.tar.gz
libgpod-030e4791ad48e020b3932b2fbe53ea89ec86e43c.tar.xz
libgpod-030e4791ad48e020b3932b2fbe53ea89ec86e43c.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;
}