bug-gnupod
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnupod] Re: Case sensitivity in directory path names [followup with


From: Paul Gillingwater
Subject: [Bug-gnupod] Re: Case sensitivity in directory path names [followup with workaround]
Date: Tue, 22 Jun 2004 15:22:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514

Paul Gillingwater wrote:

The first attempt to add a song resulted in this error:

address@hidden ipod]# gnupod_addsong.pl -m /mnt/ipod/ /tmp/m.mp3
gnupod_addsong.pl Version 0.94 (C) 2002-2004 Adrian Ulrich
-- FATAL -- Could not copy /tmp/m.mp3 to /mnt/ipod//iPod_Control/Music/F16/0_m.mp3: No such file or directory ... skipping

As a workaround, I copied the file manually to the iPod, and rebuilt the database (losing the playlists.) After this, the iPod was able to see the music files. Note the first copy uses "F04", while the second uses "f04". The song used for testing is "Let's Dance", by David Bowie. Note also that this iPod has never been connected to a Macintosh or Windows system -- all files, directories and formatting was done with GNU/Linux (specifically, RedHat Fedora 2.)

The problem with the addsong still exists, and I didn't take the time to debug it yet.
-----

address@hidden Music]# cp /tmp/song.mp3 /mnt/ipod//iPod_Control/Music/F04/0_song.mp3 cp: cannot create regular file `/mnt/ipod//iPod_Control/Music/F04/0_song.mp3': No such file or directory address@hidden Music]# cp /tmp/song.mp3 /mnt/ipod//iPod_Control/Music/f04/0_song.mp3
address@hidden Music]# mktunes.pl -m /mnt/ipod
mktunes.pl Version 0.94 (C) 2002-2004 Adrian Ulrich
> Parsing XML and creating FileDB
> Creating playlists:
> Writing iTunesDB...
> Updating Sync-Status
You can now umount your iPod. [Files: ]
- May the iPod be with you!

address@hidden Music]# cd /
address@hidden /]# umount /dev/sda2
address@hidden /]# eject /dev/sda2
address@hidden /]# mount -t vfat /dev/sda2 /mnt/ipod
address@hidden /]# gnupod_addsong.pl --restore -m /mnt/ipod
gnupod_addsong.pl Version 0.94 (C) 2002-2004 Adrian Ulrich
If you use --restore, you'll *lose* your playlists
Hit ENTER to continue or CTRL+C to abort


+ /mnt/ipod/iPod_Control/Music/f04/0_song.mp3 (Best of Bowie (EMI) / Let's Dance)
> Writing new XML File

Done
address@hidden /]# mktunes.pl -m /mnt/ipod
mktunes.pl Version 0.94 (C) 2002-2004 Adrian Ulrich
> Parsing XML and creating FileDB
> Creating playlists:
> Writing iTunesDB...
> Updating Sync-Status
You can now umount your iPod. [Files: 1]
- May the iPod be with you!

address@hidden /]# umount /dev/sda2
address@hidden /]# eject /dev/sda2







reply via email to

[Prev in Thread] Current Thread [Next in Thread]