bug-gnupod
[Top][All Lists]
Advanced

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

[Bug-gnupod] Re: Support for 4th gen iPod Shuffle


From: H. Langos
Subject: [Bug-gnupod] Re: Support for 4th gen iPod Shuffle
Date: Sun, 31 May 2009 02:16:11 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,

I compared the iTunesSD to a mostly empty iTunesSD that somebody 
sent to the gtkpod-devel list. 

http://sourceforge.net/mailarchive/forum.php?thread_name=994557050905170623u73b2b8b0n22a3ca71c4d37a34%40mail.gmail.com&forum_name=gtkpod-devel

Here's what another look at the first chunks shows:

On Sun, May 31, 2009 at 12:39:57AM +0200, H. Langos wrote:
> Regarding the iTunesSD file created by iTunes 8.1 for the talking shuffle:
> 
> 00000000  62 64 68 73 03 00 00 02  40 00 00 00 36 00 00 00  |address@hidden|
                                     ^1          ^2
^1 looks like the size of this chunk

^2 the number of tracks (rths chunks)

> 00000010  01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
            ^3

^3 the number of playlists (lphs chunks)

> 00000020  36 00 00 00 40 00 00 00  a4 4f 00 00 00 00 00 00  |address@hidden|
            ^2          ^4           ^^^^5   

^4 offset of the "hths" chunck
^4 offset of the "hphs" chunck

> 00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
> 00000040  68 74 68 73 ec 00 00 00  36 00 00 00 00 00 00 00  |hths....6.......|
                        ^1           ^2
^1 size of this chunk

> 00000050  00 00 00 00 2c 01 00 00  a0 02 00 00 14 04 00 00  |....,...........|
                        ^^^^6        ^^^^7       ^^^^8

^6 offset of first rths chunk
^7 offset of second rths chunk
^8 offset of third rths chunk
...

> at the end there are two more chunks:
> 
> 00004fa0  00 00 00 00 68 70 68 73  18 00 00 00 01 00 00 00  |....hphs........|
                                     ^1          ^3

> 00004fb0  ff ff ff ff ff ff 00 00  bc 4f 00 00 6c 70 68 73  |.........O..lphs|
                                     ^^^^9

^9 offset of first lphs chunk 

> 00004fc0  04 01 00 00 36 00 00 00  36 00 00 00 00 00 00 00  |....6...6.......|
            ^^^^1       ^10          ^10

^10 number of elements in the playlist

> 00004fd0  00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00  |................|
> 00004fe0  00 00 00 00 00 00 00 00  00 00 00 00 01 00 00 00  |................|
                                     ^^11        ^^12

^11 first playlist entry index (zero based)
^12 second playlist entry index

> 00004ff0  02 00 00 00 03 00 00 00  04 00 00 00 05 00 00 00  |................|
> 00005000  06 00 00 00 07 00 00 00  08 00 00 00 09 00 00 00  |................|
> 00005010  0a 00 00 00 0b 00 00 00  0c 00 00 00 0d 00 00 00  |................|
> 00005020  0e 00 00 00 0f 00 00 00  10 00 00 00 11 00 00 00  |................|
> 00005030  12 00 00 00 13 00 00 00  14 00 00 00 15 00 00 00  |................|
> 00005040  16 00 00 00 17 00 00 00  18 00 00 00 19 00 00 00  |................|
> 00005050  1a 00 00 00 1b 00 00 00  1c 00 00 00 1d 00 00 00  |................|
> 00005060  1e 00 00 00 1f 00 00 00  20 00 00 00 21 00 00 00  |........ ...!...|
> 00005070  22 00 00 00 23 00 00 00  24 00 00 00 25 00 00 00  |"...#...$...%...|
> 00005080  26 00 00 00 27 00 00 00  28 00 00 00 29 00 00 00  |&...'...(...)...|
> 00005090  2a 00 00 00 2b 00 00 00  2c 00 00 00 2d 00 00 00  |*...+...,...-...|
> 000050a0  2e 00 00 00 2f 00 00 00  30 00 00 00 31 00 00 00  |..../...0...1...|
> 000050b0  32 00 00 00 33 00 00 00  34 00 00 00 35 00 00 00  |2...3...4...5...|
> 000050c0

thats all for now.

cheers
-henrik





reply via email to

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