From bf5d0aa82d96704ea568f58beea99c71d5055825 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 29 Jan 2008 23:14:45 +0000 Subject: Make sure we use '/' in filenames on ipod shuffles git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1942 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/itdb_itunesdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index cb1b79e..72ddfc0 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -5365,9 +5365,9 @@ gboolean itdb_shuffle_write_file (Itdb_iTunesDB *itdb, put24bint (cts, 0x200); - /* shuffle uses forward slash separator, not colon */ path = g_strdup (tr->ipod_path); - itdb_filename_ipod2fs (path); + /* shuffle uses forward slash separator, not colon */ + g_strdelimit (path, ":", '/'); path_utf16 = g_utf8_to_utf16 (path, -1, NULL, &pathlen, NULL); if (pathlen > 261) pathlen = 261; fixup_little_utf16 (path_utf16); -- cgit