summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2007-11-04 00:53:06 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2007-11-04 00:53:06 +0000
commit7069e5910204fc43d9b36ebdc269aaae02cdbb84 (patch)
tree21361120243b138a4321ef6246e3f120f4fde625
parent332d3a1fe2f6eb6d3aef6ca8b65b21507975608f (diff)
downloadlibgpod-7069e5910204fc43d9b36ebdc269aaae02cdbb84.tar.gz
libgpod-7069e5910204fc43d9b36ebdc269aaae02cdbb84.tar.xz
libgpod-7069e5910204fc43d9b36ebdc269aaae02cdbb84.zip
* 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
-rw-r--r--ChangeLog4
-rw-r--r--src/itdb_itunesdb.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 39f560f..6d9105e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2007-11-04 Jorg Schuler <jcsjcs at users.sourceforge.net>
+ * 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;