summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2007-11-14 18:31:04 +0000
committerChristophe Fergeau <teuf@gnome.org>2007-11-14 18:31:04 +0000
commit4f5c906aa8be7ef67dd70f8d08e20fee2cbf0356 (patch)
treef60c9598efb2e8c4ef2ad42f2b6ea951e72e3ece
parent51269e929ea64831672bebed4825460bf4a96ce5 (diff)
downloadlibgpod-4f5c906aa8be7ef67dd70f8d08e20fee2cbf0356.tar.gz
libgpod-4f5c906aa8be7ef67dd70f8d08e20fee2cbf0356.tar.xz
libgpod-4f5c906aa8be7ef67dd70f8d08e20fee2cbf0356.zip
* src/itdb_itunesdb.c: use libgpod as the prefix of music files to
be copied to the ipod instead of gtkpod git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1790 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r--ChangeLog5
-rw-r--r--src/itdb_itunesdb.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cc77dad..85219a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-11-14 Christophe <teuf@gnome.org>
+ * src/itdb_itunesdb.c: use libgpod as the prefix of music files to
+ be copied to the ipod instead of gtkpod
+
+2007-11-14 Christophe <teuf@gnome.org>
+
* src/itdb_itunesdb.c: get rid of local g_mkdir_with_parents copy
since we now depend on glib 2.8 which have it. Replace mkdir with
g_mkdir
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index bd454ef..42749f3 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -5695,7 +5695,7 @@ gchar *itdb_cp_get_dest_filename (Itdb_Track *track,
do
{ /* we need to loop until we find an unused filename */
dest_components[1] =
- g_strdup_printf("gtkpod%06d%s",
+ g_strdup_printf("libgpod%06d%s",
rand + oops, original_suffix);
ipod_fullfile = itdb_resolve_path (
parent_dir_filename,
@@ -5866,7 +5866,7 @@ Itdb_Track *itdb_cp_finalize (Itdb_Track *track,
*
* For storage, the directories "f00 ... fnn" will be used randomly.
*
- * The filename is constructed as "gtkpod"&lt;random number&gt; and copied
+ * The filename is constructed as "libgpod"&lt;random number&gt; and copied
* to @track-&gt;ipod_path. If this file already exists, &lt;random number&gt;
* is adjusted until an unused filename is found.
*