itdb.h   itdb.h 
skipping to change at line 125 skipping to change at line 125
* @ITDB_IPOD_GENERATION_VIDEO_2: Second Generation iPod Video (aka 5.5g) * @ITDB_IPOD_GENERATION_VIDEO_2: Second Generation iPod Video (aka 5.5g)
* @ITDB_IPOD_GENERATION_CLASSIC_1: First Generation iPod Classic * @ITDB_IPOD_GENERATION_CLASSIC_1: First Generation iPod Classic
* @ITDB_IPOD_GENERATION_CLASSIC_2: Second Generation iPod Classic * @ITDB_IPOD_GENERATION_CLASSIC_2: Second Generation iPod Classic
* @ITDB_IPOD_GENERATION_CLASSIC_3: Third Generation iPod Classic * @ITDB_IPOD_GENERATION_CLASSIC_3: Third Generation iPod Classic
* @ITDB_IPOD_GENERATION_TOUCH_1: First Generation iPod Touch * @ITDB_IPOD_GENERATION_TOUCH_1: First Generation iPod Touch
* @ITDB_IPOD_GENERATION_TOUCH_2: Second Generation iPod Touch * @ITDB_IPOD_GENERATION_TOUCH_2: Second Generation iPod Touch
* @ITDB_IPOD_GENERATION_TOUCH_3: Third Generation iPod Touch * @ITDB_IPOD_GENERATION_TOUCH_3: Third Generation iPod Touch
* @ITDB_IPOD_GENERATION_IPHONE_1: First Generation iPhone * @ITDB_IPOD_GENERATION_IPHONE_1: First Generation iPhone
* @ITDB_IPOD_GENERATION_IPHONE_2: Second Generation iPhone (aka iPhone 3G ) * @ITDB_IPOD_GENERATION_IPHONE_2: Second Generation iPhone (aka iPhone 3G )
* @ITDB_IPOD_GENERATION_IPHONE_3: Third Generation iPhone (aka iPhone 3GS ) * @ITDB_IPOD_GENERATION_IPHONE_3: Third Generation iPhone (aka iPhone 3GS )
* @ITDB_IPOD_GENERATION_IPHONE_4: Fourth Generation iPhone
* *
* iPod generation information * iPod generation information
* *
* See http://support.apple.com/kb/HT1353 and http://en.wikipedia.org/wiki/ IPod * See http://support.apple.com/kb/HT1353 and http://en.wikipedia.org/wiki/ IPod
* for more details. * for more details.
* *
* Since: 0.4.0 * Since: 0.4.0
*/ */
typedef enum { typedef enum {
ITDB_IPOD_GENERATION_UNKNOWN, ITDB_IPOD_GENERATION_UNKNOWN,
skipping to change at line 163 skipping to change at line 164
ITDB_IPOD_GENERATION_CLASSIC_2, ITDB_IPOD_GENERATION_CLASSIC_2,
ITDB_IPOD_GENERATION_TOUCH_1, ITDB_IPOD_GENERATION_TOUCH_1,
ITDB_IPOD_GENERATION_IPHONE_1, ITDB_IPOD_GENERATION_IPHONE_1,
ITDB_IPOD_GENERATION_SHUFFLE_4, ITDB_IPOD_GENERATION_SHUFFLE_4,
ITDB_IPOD_GENERATION_TOUCH_2, ITDB_IPOD_GENERATION_TOUCH_2,
ITDB_IPOD_GENERATION_IPHONE_2, ITDB_IPOD_GENERATION_IPHONE_2,
ITDB_IPOD_GENERATION_IPHONE_3, ITDB_IPOD_GENERATION_IPHONE_3,
ITDB_IPOD_GENERATION_CLASSIC_3, ITDB_IPOD_GENERATION_CLASSIC_3,
ITDB_IPOD_GENERATION_NANO_5, ITDB_IPOD_GENERATION_NANO_5,
ITDB_IPOD_GENERATION_TOUCH_3, ITDB_IPOD_GENERATION_TOUCH_3,
ITDB_IPOD_GENERATION_IPAD_1 ITDB_IPOD_GENERATION_IPAD_1,
ITDB_IPOD_GENERATION_IPHONE_4
} Itdb_IpodGeneration; } Itdb_IpodGeneration;
/** /**
* Itdb_IpodModel: * Itdb_IpodModel:
* @ITDB_IPOD_MODEL_INVALID: Invalid model * @ITDB_IPOD_MODEL_INVALID: Invalid model
* @ITDB_IPOD_MODEL_UNKNOWN: Unknown model * @ITDB_IPOD_MODEL_UNKNOWN: Unknown model
* @ITDB_IPOD_MODEL_COLOR: Color iPod * @ITDB_IPOD_MODEL_COLOR: Color iPod
* @ITDB_IPOD_MODEL_COLOR_U2: Color iPod (U2) * @ITDB_IPOD_MODEL_COLOR_U2: Color iPod (U2)
* @ITDB_IPOD_MODEL_REGULAR: Regular iPod * @ITDB_IPOD_MODEL_REGULAR: Regular iPod
* @ITDB_IPOD_MODEL_REGULAR_U2: Regular iPod (U2) * @ITDB_IPOD_MODEL_REGULAR_U2: Regular iPod (U2)
skipping to change at line 1027 skipping to change at line 1029
* @show_titles: Show slide captions * @show_titles: Show slide captions
* @transition_direction: Transition direction. 0=none, 1=left-to-right, * @transition_direction: Transition direction. 0=none, 1=left-to-right,
* 2=right-to-left, 3=top-to-bottom, 4=bottom-to-top * 2=right-to-left, 3=top-to-bottom, 4=bottom-to-top
* @slide_duration: Slide duration in seconds * @slide_duration: Slide duration in seconds
* @transition_duration: Transition duration, in milliseconds * @transition_duration: Transition duration, in milliseconds
* @song_id: The @dbid2 of a track to play during slideshow * @song_id: The @dbid2 of a track to play during slideshow
* @unk024: Unknown, seems to be always 0 * @unk024: Unknown, seems to be always 0
* @unk028: Unknown, seems to be always 0 * @unk028: Unknown, seems to be always 0
* @unk044: Unknown, seems to always be 0 * @unk044: Unknown, seems to always be 0
* @unk048: Unknown, seems to always be 0 * @unk048: Unknown, seems to always be 0
* @album_id: Unique integer for each playlist. This is set
* automatically when the PhotoDB is written.
* @prev_album_id: The id of the previous playlist. This is set * @prev_album_id: The id of the previous playlist. This is set
* automatically when the PhotoDB is written. * automatically when the PhotoDB is written.
* @reserved_int1: Reserved for future use * @reserved_int1: Reserved for future use
* @reserved_int2: Reserved for future use * @reserved_int2: Reserved for future use
* @reserved1: Reserved for future use * @reserved1: Reserved for future use
* @reserved2: Reserved for future use * @reserved2: Reserved for future use
* @usertype: For use by application * @usertype: For use by application
* @userdata: For use by application * @userdata: For use by application
* @userdata_duplicate: A function to duplicate #userdata * @userdata_duplicate: A function to duplicate #userdata
* @userdata_destroy: A function to free #userdata * @userdata_destroy: A function to free #userdata
skipping to change at line 1223 skipping to change at line 1227
#define ITDB_PSO_BIRATE ITDB_PSO_BITRATE #define ITDB_PSO_BIRATE ITDB_PSO_BITRATE
/** /**
* Itdb_Mediatype: * Itdb_Mediatype:
* @ITDB_MEDIATYPE_AUDIO: Audio files * @ITDB_MEDIATYPE_AUDIO: Audio files
* @ITDB_MEDIATYPE_MOVIE: Movies * @ITDB_MEDIATYPE_MOVIE: Movies
* @ITDB_MEDIATYPE_PODCAST: Podcasts * @ITDB_MEDIATYPE_PODCAST: Podcasts
* @ITDB_MEDIATYPE_AUDIOBOOK: Audio books * @ITDB_MEDIATYPE_AUDIOBOOK: Audio books
* @ITDB_MEDIATYPE_MUSICVIDEO: Music videos * @ITDB_MEDIATYPE_MUSICVIDEO: Music videos
* @ITDB_MEDIATYPE_TVSHOW: TV Shows * @ITDB_MEDIATYPE_TVSHOW: TV Shows
* @ITDB_MEDIATYPE_RINGTONE: Ringtone
* @ITDB_MEDIATYPE_RENTAL: Rental
* @ITDB_MEDIATYPE_ITUNES_EXTRA: ?
* @ITDB_MEDIATYPE_MEMO: Memo
* @ITDB_MEDIATYPE_ITUNES_U: iTunes U
* *
* Mediatype definitions * Mediatype definitions
* *
* The mediatype is used to determine what menu a track appears under. For * The mediatype is used to determine what menu a track appears under. For
* example, setting the mediatype to #ITDB_MEDIATYPE_PODCAST makes the trac k * example, setting the mediatype to #ITDB_MEDIATYPE_PODCAST makes the trac k
* appear on the Podcast menu. * appear on the Podcast menu.
* *
* Since: 0.5.0 * Since: 0.5.0
*/ */
typedef enum typedef enum
skipping to change at line 1245 skipping to change at line 1254
ITDB_MEDIATYPE_MOVIE = 0x000002, ITDB_MEDIATYPE_MOVIE = 0x000002,
ITDB_MEDIATYPE_PODCAST = 0x000004, ITDB_MEDIATYPE_PODCAST = 0x000004,
ITDB_MEDIATYPE_AUDIOBOOK = 0x000008, ITDB_MEDIATYPE_AUDIOBOOK = 0x000008,
ITDB_MEDIATYPE_MUSICVIDEO = 0x000020, ITDB_MEDIATYPE_MUSICVIDEO = 0x000020,
ITDB_MEDIATYPE_TVSHOW = 0x000040, ITDB_MEDIATYPE_TVSHOW = 0x000040,
ITDB_MEDIATYPE_RINGTONE = 0x004000, ITDB_MEDIATYPE_RINGTONE = 0x004000,
ITDB_MEDIATYPE_RENTAL = 0x008000, ITDB_MEDIATYPE_RENTAL = 0x008000,
ITDB_MEDIATYPE_ITUNES_EXTRA = 0x010000, ITDB_MEDIATYPE_ITUNES_EXTRA = 0x010000,
ITDB_MEDIATYPE_MEMO = 0x100000, ITDB_MEDIATYPE_MEMO = 0x100000,
ITDB_MEDIATYPE_ITUNES_U = 0x200000, ITDB_MEDIATYPE_ITUNES_U = 0x200000,
ITDB_MEDIATYPE_EPUB_BOOK = 0x400000
} Itdb_Mediatype; } Itdb_Mediatype;
typedef struct _Itdb_Track_Private Itdb_Track_Private; typedef struct _Itdb_Track_Private Itdb_Track_Private;
/** /**
* Itdb_Track: * Itdb_Track:
* @itdb: A pointer to the #Itdb_iTunesDB (for conven ience) * @itdb: A pointer to the #Itdb_iTunesDB (for conven ience)
* @title: The title of the track in UTF8 * @title: The title of the track in UTF8
* @ipod_path: The file path on the iPod. Directories are * @ipod_path: The file path on the iPod. Directories are
* separated with ":" instead of "/". The pat h is * separated with ":" instead of "/". The pat h is
* relative to the iPod mountpoint. * relative to the iPod mountpoint.
skipping to change at line 1541 skipping to change at line 1551
* @reserved1: Reserved for future use * @reserved1: Reserved for future use
* @reserved2: Reserved for future use * @reserved2: Reserved for future use
* @reserved3: Reserved for future use * @reserved3: Reserved for future use
* @reserved4: Reserved for future use * @reserved4: Reserved for future use
* @reserved5: Reserved for future use * @reserved5: Reserved for future use
* @reserved6: Reserved for future use * @reserved6: Reserved for future use
* @usertype: For use by application * @usertype: For use by application
* @userdata: For use by application * @userdata: For use by application
* @userdata_duplicate: A function to duplicate #userdata * @userdata_duplicate: A function to duplicate #userdata
* @userdata_destroy: A function to free #userdata * @userdata_destroy: A function to free #userdata
* @priv: Private data
* *
* Structure representing a track in an iTunesDB * Structure representing a track in an iTunesDB
* *
* <note><para>When adding string fields don't forget to add them in * <note><para>When adding string fields don't forget to add them in
* itdb_track_duplicate() as well.</para></note> * itdb_track_duplicate() as well.</para></note>
* *
* Many of the parameter descriptions are copied verbatim from * Many of the parameter descriptions are copied verbatim from
* http://ipodlinux.org/ITunesDB, which is the best source for information about * http://ipodlinux.org/ITunesDB, which is the best source for information about
* the iTunesDB and related files. * the iTunesDB and related files.
*/ */
skipping to change at line 1856 skipping to change at line 1867
/* playlist functions for master playlist */ /* playlist functions for master playlist */
Itdb_Playlist *itdb_playlist_mpl (Itdb_iTunesDB *itdb); Itdb_Playlist *itdb_playlist_mpl (Itdb_iTunesDB *itdb);
gboolean itdb_playlist_is_mpl (Itdb_Playlist *pl); gboolean itdb_playlist_is_mpl (Itdb_Playlist *pl);
void itdb_playlist_set_mpl (Itdb_Playlist *pl); void itdb_playlist_set_mpl (Itdb_Playlist *pl);
/* playlist functions for podcasts playlist */ /* playlist functions for podcasts playlist */
Itdb_Playlist *itdb_playlist_podcasts (Itdb_iTunesDB *itdb); Itdb_Playlist *itdb_playlist_podcasts (Itdb_iTunesDB *itdb);
gboolean itdb_playlist_is_podcasts (Itdb_Playlist *pl); gboolean itdb_playlist_is_podcasts (Itdb_Playlist *pl);
void itdb_playlist_set_podcasts (Itdb_Playlist *pl); void itdb_playlist_set_podcasts (Itdb_Playlist *pl);
/* playlist functions for audiobooks playlist */
gboolean itdb_playlist_is_audiobooks (Itdb_Playlist *pl);
/* smart playlist functions */ /* smart playlist functions */
ItdbSPLFieldType itdb_splr_get_field_type (const Itdb_SPLRule *splr); ItdbSPLFieldType itdb_splr_get_field_type (const Itdb_SPLRule *splr);
ItdbSPLActionType itdb_splr_get_action_type (const Itdb_SPLRule *splr); ItdbSPLActionType itdb_splr_get_action_type (const Itdb_SPLRule *splr);
void itdb_splr_validate (Itdb_SPLRule *splr); void itdb_splr_validate (Itdb_SPLRule *splr);
void itdb_splr_remove (Itdb_Playlist *pl, Itdb_SPLRule *splr); void itdb_splr_remove (Itdb_Playlist *pl, Itdb_SPLRule *splr);
Itdb_SPLRule *itdb_splr_new (void); Itdb_SPLRule *itdb_splr_new (void);
void itdb_splr_add (Itdb_Playlist *pl, Itdb_SPLRule *splr, gint pos); void itdb_splr_add (Itdb_Playlist *pl, Itdb_SPLRule *splr, gint pos);
Itdb_SPLRule *itdb_splr_add_new (Itdb_Playlist *pl, gint pos); Itdb_SPLRule *itdb_splr_add_new (Itdb_Playlist *pl, gint pos);
void itdb_spl_copy_rules (Itdb_Playlist *dest, Itdb_Playlist *src); void itdb_spl_copy_rules (Itdb_Playlist *dest, Itdb_Playlist *src);
gboolean itdb_splr_eval (Itdb_SPLRule *splr, Itdb_Track *track); gboolean itdb_splr_eval (Itdb_SPLRule *splr, Itdb_Track *track);
skipping to change at line 1908 skipping to change at line 1922
gint rotation, gint rotation,
GError **error); GError **error);
void itdb_photodb_photoalbum_add_photo (Itdb_PhotoDB *db, void itdb_photodb_photoalbum_add_photo (Itdb_PhotoDB *db,
Itdb_PhotoAlbum *album, Itdb_PhotoAlbum *album,
Itdb_Artwork *photo, Itdb_Artwork *photo,
gint position); gint position);
Itdb_PhotoAlbum *itdb_photodb_photoalbum_create (Itdb_PhotoDB *db, Itdb_PhotoAlbum *itdb_photodb_photoalbum_create (Itdb_PhotoDB *db,
const gchar *albumname, const gchar *albumname,
gint pos); gint pos);
Itdb_PhotoDB *itdb_photodb_create (const gchar *mountpoint); Itdb_PhotoDB *itdb_photodb_create (const gchar *mountpoint);
Itdb_PhotoAlbum *itdb_photodb_photoalbum_new (const gchar *albumname);
void itdb_photodb_photoalbum_free (Itdb_PhotoAlbum *album);
void itdb_photodb_photoalbum_add (Itdb_PhotoDB *db, Itdb_PhotoAlbum *album,
gint pos);
void itdb_photodb_free (Itdb_PhotoDB *photodb); void itdb_photodb_free (Itdb_PhotoDB *photodb);
gboolean itdb_photodb_write (Itdb_PhotoDB *photodb, GError **error); gboolean itdb_photodb_write (Itdb_PhotoDB *photodb, GError **error);
void itdb_photodb_remove_photo (Itdb_PhotoDB *db, void itdb_photodb_remove_photo (Itdb_PhotoDB *db,
Itdb_PhotoAlbum *album, Itdb_PhotoAlbum *album,
Itdb_Artwork *photo); Itdb_Artwork *photo);
void itdb_photodb_photoalbum_remove (Itdb_PhotoDB *db, void itdb_photodb_photoalbum_remove (Itdb_PhotoDB *db,
Itdb_PhotoAlbum *album, Itdb_PhotoAlbum *album,
gboolean remove_pics); gboolean remove_pics);
void itdb_photodb_photoalbum_unlink (Itdb_PhotoAlbum *album);
Itdb_PhotoAlbum *itdb_photodb_photoalbum_by_name(Itdb_PhotoDB *db, Itdb_PhotoAlbum *itdb_photodb_photoalbum_by_name(Itdb_PhotoDB *db,
const gchar *albumname ); const gchar *albumname );
/* itdb_artwork_... -- you probably won't need many of these (with /* itdb_artwork_... -- you probably won't need many of these (with
* the exception of itdb_artwork_get_pixbuf() probably). Use the * the exception of itdb_artwork_get_pixbuf() probably). Use the
* itdb_photodb_...() functions when adding photos, and the * itdb_photodb_...() functions when adding photos, and the
* itdb_track_...() functions when adding coverart to audio. */ * itdb_track_...() functions when adding coverart to audio. */
Itdb_Artwork *itdb_artwork_new (void); Itdb_Artwork *itdb_artwork_new (void);
Itdb_Artwork *itdb_artwork_duplicate (Itdb_Artwork *artwork); Itdb_Artwork *itdb_artwork_duplicate (Itdb_Artwork *artwork);
void itdb_artwork_free (Itdb_Artwork *artwork); void itdb_artwork_free (Itdb_Artwork *artwork);
skipping to change at line 1955 skipping to change at line 1973
gpointer itdb_thumb_to_pixbuf_at_size (Itdb_Device *device, Itdb_Thumb *thu mb, gpointer itdb_thumb_to_pixbuf_at_size (Itdb_Device *device, Itdb_Thumb *thu mb,
gint width, gint height); gint width, gint height);
GList *itdb_thumb_to_pixbufs (Itdb_Device *device, Itdb_Thumb *thumb); GList *itdb_thumb_to_pixbufs (Itdb_Device *device, Itdb_Thumb *thumb);
void itdb_thumb_free (Itdb_Thumb *thumb); void itdb_thumb_free (Itdb_Thumb *thumb);
/* itdb_chapterdata_... */ /* itdb_chapterdata_... */
Itdb_Chapterdata *itdb_chapterdata_new (void); Itdb_Chapterdata *itdb_chapterdata_new (void);
void itdb_chapterdata_free (Itdb_Chapterdata *chapterdata); void itdb_chapterdata_free (Itdb_Chapterdata *chapterdata);
Itdb_Chapterdata *itdb_chapterdata_duplicate (Itdb_Chapterdata *chapterdata ); Itdb_Chapterdata *itdb_chapterdata_duplicate (Itdb_Chapterdata *chapterdata );
void itdb_chapterdata_remove_chapter (Itdb_Chapterdata *chapterdata, Itdb_C hapter *chapter); void itdb_chapterdata_remove_chapter (Itdb_Chapterdata *chapterdata, Itdb_C hapter *chapter);
void itdb_chapterdata_unlink_chapter (Itdb_Chapterdata *chapterdata, Itdb_C hapter *chapter);
void itdb_chapterdata_remove_chapters (Itdb_Chapterdata *chapterdata); void itdb_chapterdata_remove_chapters (Itdb_Chapterdata *chapterdata);
Itdb_Chapter *itdb_chapter_new (void); Itdb_Chapter *itdb_chapter_new (void);
void itdb_chapter_free (Itdb_Chapter *chapter); void itdb_chapter_free (Itdb_Chapter *chapter);
Itdb_Chapter *itdb_chapter_duplicate (Itdb_Chapter *chapter); Itdb_Chapter *itdb_chapter_duplicate (Itdb_Chapter *chapter);
gboolean itdb_chapterdata_add_chapter (Itdb_Chapterdata *chapterdata, gboolean itdb_chapterdata_add_chapter (Itdb_Chapterdata *chapterdata,
guint32 startpos, guint32 startpos,
gchar *chaptertitle); gchar *chaptertitle);
#ifndef LIBGPOD_DISABLE_DEPRECATED #ifndef LIBGPOD_DISABLE_DEPRECATED
/* time functions */ /* time functions */
 End of changes. 10 change blocks. 
1 lines changed or deleted 21 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/