diff options
| author | Christophe Fergeau <teuf@gnome.org> | 2008-01-29 23:14:45 +0000 |
|---|---|---|
| committer | Christophe Fergeau <teuf@gnome.org> | 2008-01-29 23:14:45 +0000 |
| commit | 5f9f5c40bff3d8642151fe29a6762b54b96c6d44 (patch) | |
| tree | db2dc85d673c37ebe67b9ced7739836a7d64a721 /src | |
| parent | c2318c282fcc72c3208e6b58eb46931b5aeb4011 (diff) | |
| download | libgpod-5f9f5c40bff3d8642151fe29a6762b54b96c6d44.tar.gz libgpod-5f9f5c40bff3d8642151fe29a6762b54b96c6d44.tar.xz libgpod-5f9f5c40bff3d8642151fe29a6762b54b96c6d44.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/itdb_itunesdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
