From 6092806e6086790c89afef8275be74f99170cec4 Mon Sep 17 00:00:00 2001 From: jcsjcs Date: Sun, 4 Nov 2007 00:53:06 +0000 Subject: * itdb_itunesdb.c (itdb_create_directories): Add support for iPhones (wrong directories were created). Thanks to Jesse Bouwman for the patch. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1754 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- ChangeLog | 4 ++++ src/itdb_itunesdb.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 39f560f..6d9105e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-11-04 Jorg Schuler + * itdb_itunesdb.c (itdb_create_directories): Add support for + iPhones (wrong directories were created). Thanks to Jesse + Bouwman for the patch. + Added support for video output of photos for iPod Nano Videos and iPod Classics. diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index 5edddbd..a47ae79 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -6638,6 +6638,11 @@ static gboolean itdb_create_directories (Itdb_Device *device, GError **error) calconnotes = FALSE; devicefile = TRUE; break; + case ITDB_IPOD_MODEL_IPHONE_1: + podpath = g_strdup ("iTunes_Control"); + calconnotes = FALSE; + devicefile = TRUE; + break; case ITDB_IPOD_MODEL_UNKNOWN: podpath = g_strdup ("iPod_Control"); calconnotes = TRUE; -- cgit