From fad5dff9da900de68e287c5a3fe214f907ad90e6 Mon Sep 17 00:00:00 2001 From: jcsjcs Date: Wed, 28 May 2008 13:31:53 +0000 Subject: * src/itdb_track.c (itdb_track_set_thumbnails_internal): set artwork ID to 0 after removing thumbnails. * src/db-artwork-parser.c (parse_mhii): move out dbid association to a separate function. (mhfd_associate_itunesdb_artwork): handle dbid and mhii_link association of artwork to track (parse_mhfd): loop over the number of mhsd hunks instead of hardcoding it. Call mhfd_associate_itunesdb_artwork(). * src/itdb_itunesdb.c (get_mhit): read the mhii_link field. * src/db-artwork-writer.c (write_mhli): handle unset artwork correctly. (itdb_track_filter_thumbnails): remove thumbnails correctly. * src/db-parse-context.c (db_parse_context_get_sub_context): copy newly introduced artwork field. * tests/test-covers.c: print mhii_link. * src/itdb.h: (Itdb_Track) added mhii_link. (Itdb_Artwork): added dbid. * src/itdb.h, src/db-artwork-parser.c, src/db-artwork-writer.c, src/itdb_device.c, src/ithumb-writer.c, src/itdb_artwork.c: added ITDB_THUMB_CHAPTER_SMALL/LARGE. * src/itdb_device.c: ipod_classic_1_artwork_info: correct ITDB_THUMB_COVER_SMALL/LARGE entries. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1985 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- docs/reference/tmpl/artwork.sgml | 2 ++ docs/reference/tmpl/device.sgml | 4 +++- docs/reference/tmpl/track.sgml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/reference/tmpl/artwork.sgml b/docs/reference/tmpl/artwork.sgml index 3729c83..1f491bd 100644 --- a/docs/reference/tmpl/artwork.sgml +++ b/docs/reference/tmpl/artwork.sgml @@ -78,6 +78,8 @@ album/track artwork. For working with photos, see the @ITDB_THUMB_COVER_MEDIUM: @ITDB_THUMB_COVER_SMEDIUM: @ITDB_THUMB_COVER_XSMALL: +@ITDB_THUMB_CHAPTER_SMALL: +@ITDB_THUMB_CHAPTER_LARGE: diff --git a/docs/reference/tmpl/device.sgml b/docs/reference/tmpl/device.sgml index 6307097..cb5e38f 100644 --- a/docs/reference/tmpl/device.sgml +++ b/docs/reference/tmpl/device.sgml @@ -26,6 +26,7 @@ These functions are for reading and setting information about the iPod. @musicdirs: @byte_order: @sysinfo: +@sysinfo_extended: @sysinfo_changed: @timezone_shift: @@ -247,7 +248,8 @@ These functions are for reading and setting information about the iPod. @type: @width: @height: -@correlation_id: +@format_id: @format: @padding: +@crop: diff --git a/docs/reference/tmpl/track.sgml b/docs/reference/tmpl/track.sgml index 10fb412..c213f41 100644 --- a/docs/reference/tmpl/track.sgml +++ b/docs/reference/tmpl/track.sgml @@ -129,6 +129,7 @@ information about an iPod track. @chapterdata_raw: @chapterdata_raw_length: @artwork: +@mhii_link: @reserved_int1: @reserved_int2: @reserved_int3: -- cgit