bug-gnupod
[Top][All Lists]
Advanced

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

Re: [Bug-gnupod] mktunes: Same settings & version, different databases


From: Nuno J. Silva
Subject: Re: [Bug-gnupod] mktunes: Same settings & version, different databases
Date: Mon, 13 Sep 2010 17:01:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"H. Langos" <address@hidden> writes:

> Hi Nuno,
>
> Just a couple of questions...
>
> Which OS / distribution do those computers have.

Gentoo GNU/Linux. They are not both up-to-date, though, as I'm afraid
some upgrade might have broken this (I'll try do some step-by-step
updating today - basicly updates interleaved with mktunes.pl).

Both machines are amd64, so number boundaries shouldn't be the issue.



>
> Could you compare the iTunesDB files that mktunes produced in both
> cases? Just a quick "ls -lsa iPod_control/iTunes" to start with.

Yes!

They are exactly the same size:

/mnt/ipod $ ls -la oldtunesdb-bad oldtunesdb-good 
-rw------- 1 njsg njsg 659547 Set 13 16:27 oldtunesdb-bad
-rw------- 1 njsg njsg 659547 Set 13 16:24 oldtunesdb-good

But they're really different - as these are binary files, I hexdumped -C
them, and here is the diff

 $ diff oldtunesdb-good.ascii oldtunesdb-bad.ascii 
4,8c4
< 00000030  01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
< 00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
< 00000050  00 00 00 00 00 00 00 00  30 69 78 e0 71 77 98 c7  |........0ix.qw..|
< 00000060  c6 78 eb 38 99 ae 91 20  36 b0 f4 52 00 00 00 00  |.x.8... 6..R....|
< 00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
---
> 00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
207a204,206
> 00001000  00 00 00 00 00 00 00 00  b0 08 68 01 86 d3 51 01  |..........h...Q.|
> 00001010  3f 79 9d e5 00 00 00 00  00 00 00 00 00 00 00 00  |?y..............|
> 00001020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

I don't know what the changes do, though.

> What is the console output of mktunes in both cases.

Exactly the same (Note that it shows the right guid, but I removed it):

 $ mktunes.pl 
mktunes.pl 0.99.8 (C) Adrian Ulrich
> Searching iPod via sysfs
> Loading ArtworkDB...done
> Parsing XML document...
> 552 files parsed, assembling iTunesDB...
> Creating iPod playlists...
>> Created Playlist 'On-The-Go 1' with 21 files
>> Created Podcast-Playlist 'Caderneta de Cromos' with 20 files
>> Created Playlist 'On-The-Go 2' with 3 files
> Hashing database for iPod GUID '<guid>'
> Writing new iTunesShuffle DB
> Updating Sync-Status

You can now umount your iPod. [Files: 552]
 - May the iPod be with you!

> Do you see kernel messages (dmesg | tail -40) that give you warnings 
> about case-sensitive mounting of a vfat file system on /mnt/ipod ?

There's no warning or error about the filesystem nor about the
device. It's in hfsplus, not FAT, btw. (I think the though of putting 80
GB under FAT is scary enough, and I didn't need windows connectivity.)

>> gopher://sdf-eu.org/1/users/njsg
>
> nice .. somebody still knows gopher...

There are still some servers out there. At least there's no need for
Adblock and gopherholes have some structure and organization!

-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg



reply via email to

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