From 4f5c906aa8be7ef67dd70f8d08e20fee2cbf0356 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 14 Nov 2007 18:31:04 +0000 Subject: * 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 --- ChangeLog | 5 +++++ src/itdb_itunesdb.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cc77dad..85219a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-14 Christophe + + * 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 * src/itdb_itunesdb.c: get rid of local g_mkdir_with_parents copy 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"<random number> and copied + * The filename is constructed as "libgpod"<random number> and copied * to @track->ipod_path. If this file already exists, <random number> * is adjusted until an unused filename is found. * -- cgit