diff options
author | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2006-10-29 10:37:47 +0000 |
---|---|---|
committer | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2006-10-29 10:37:47 +0000 |
commit | 539186ab49e478b784c919761533d6e8b3fce983 (patch) | |
tree | 2ae5e3895a3664053972b55ff71f5fbf06f12a35 /tests/test-photos.c | |
parent | cb0393e876d66ae4f16efbd84844246f96f12bd9 (diff) | |
download | libgpod-tmz-539186ab49e478b784c919761533d6e8b3fce983.tar.gz libgpod-tmz-539186ab49e478b784c919761533d6e8b3fce983.tar.xz libgpod-tmz-539186ab49e478b784c919761533d6e8b3fce983.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/test-photos.c')
-rw-r--r-- | tests/test-photos.c | 4 |
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; } |