ipod shuffle 2nd generation itunesSD header format problem

yuan zhang <[email protected]> Tue, 13 May 2014 23:18:58 +0800
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <CAKfniNYv5e_9iAnq+Oo7MBuUBUNf=OH6axvEHxBsfG72BeNHcg@mail.gmail.com>
--===============1623361897061506286==
Content-Type: multipart/alternative; boundary=001a1133d8dc3fd44604f949957b

--001a1133d8dc3fd44604f949957b
Content-Type: text/plain; charset=UTF-8

the iTunesSD header format ( table below) of  /iPod_Control/iTunes/iTunesSD
generated by the gtkpod of version <=2.1.4 is 0x010600 which will cause the
shuffle 2nd
generation report ERR:No music loaded (alternate green and orange light).

This can be easily solved by changing it to 0x010800




*Table 1 *: iTunesSD header format
*field*
*size*
*value*
num songs
3
Number of song entries in the file.
unknown
3
0x010600? iTunes 7.2 puts 0x010800 here
header size
3
size of the header (0x12, 18 byte header)
unknown
9
possibly zero padding
rest of header is NOT zero padded

--001a1133d8dc3fd44604f949957b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><br></div><div>the=C2=A0<span style=3D"color:rgb(0,0,=
0);font-family:arial,helvetica,sans-serif;font-size:13px;line-height:19.5px=
">iTunesSD=C2=A0</span>header format ( table below) of =C2=A0<font face=3D"=
courier new, monospace">/iPod_Control/iTunes/iTunesSD=C2=A0</font></div>
<div><font face=3D"arial, helvetica, sans-serif">generated by the gtkpod of=
=C2=A0</font><span style=3D"font-family:arial,helvetica,sans-serif">version=
 &lt;=3D</span><span style=3D"font-family:arial,helvetica,sans-serif">2.1.4=
 is 0x010600 which will cause the shuffle 2nd=C2=A0</span></div>
<div><font face=3D"arial, helvetica, sans-serif">generation report</font><s=
pan style=3D"font-family:&#39;courier new&#39;,monospace"> </span><font fac=
e=3D"courier new, monospace">ERR:No music loaded</font><span style=3D"font-=
family:&#39;courier new&#39;,monospace"> </span><font face=3D"arial, helvet=
ica, sans-serif">(alternate green and orange light).</font></div>
<div><br></div><div>This can be easily solved by changing it to 0x010800</d=
iv><div><br></div><div><br></div><div><br></div><div><br></div><div><span s=
tyle=3D"color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:1=
3px;line-height:19.5px"><b>Table 1 </b>: iTunesSD=C2=A0</span><span style=
=3D"color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13px;=
line-height:19.5px">header format</span><br style=3D"color:rgb(0,0,0);font-=
family:arial,helvetica,sans-serif;font-size:13px;line-height:19.5px">
<table class=3D"" style=3D"border-collapse:collapse;border-spacing:0px;marg=
in:10px 1px;font-size:13px;color:rgb(0,0,0);font-family:arial,helvetica,san=
s-serif;line-height:19.5px"><tbody><tr><td style=3D"padding:0px;border:1px =
solid rgb(221,221,221);vertical-align:top;min-width:5px;min-height:20px">
<strong>field</strong><br></td><td style=3D"padding:0px;border:1px solid rg=
b(221,221,221);vertical-align:top;min-width:5px;min-height:20px"><strong>si=
ze</strong><br></td><td style=3D"padding:0px;border:1px solid rgb(221,221,2=
21);vertical-align:top;min-width:5px;min-height:20px">
<strong>value</strong><br></td></tr><tr><td style=3D"padding:0px;border:1px=
 solid rgb(221,221,221);vertical-align:top;min-width:5px;min-height:20px">n=
um songs<br></td><td style=3D"padding:0px;border:1px solid rgb(221,221,221)=
;vertical-align:top;min-width:5px;min-height:20px">
3<br></td><td style=3D"padding:0px;border:1px solid rgb(221,221,221);vertic=
al-align:top;min-width:5px;min-height:20px">Number of song entries in the f=
ile.<br></td></tr><tr><td style=3D"padding:0px;border:1px solid rgb(221,221=
,221);vertical-align:top;min-width:5px;min-height:20px">
<span style=3D"background-color:rgb(255,0,0)">unknown<br></span></td><td st=
yle=3D"padding:0px;border:1px solid rgb(221,221,221);vertical-align:top;min=
-width:5px;min-height:20px"><span style=3D"background-color:rgb(255,0,0)">3=
<br>
</span></td><td style=3D"padding:0px;border:1px solid rgb(221,221,221);vert=
ical-align:top;min-width:5px;min-height:20px"><span style=3D"background-col=
or:rgb(255,0,0)">0x010600? iTunes 7.2 puts 0x010800 here</span><br></td></t=
r>
<tr><td style=3D"padding:0px;border:1px solid rgb(221,221,221);vertical-ali=
gn:top;min-width:5px;min-height:20px">header size<br></td><td style=3D"padd=
ing:0px;border:1px solid rgb(221,221,221);vertical-align:top;min-width:5px;=
min-height:20px">
3<br></td><td style=3D"padding:0px;border:1px solid rgb(221,221,221);vertic=
al-align:top;min-width:5px;min-height:20px">size of the header (0x12, 18 by=
te header)<br></td></tr><tr><td style=3D"padding:0px;border:1px solid rgb(2=
21,221,221);vertical-align:top;min-width:5px;min-height:20px">
unknown<br></td><td style=3D"padding:0px;border:1px solid rgb(221,221,221);=
vertical-align:top;min-width:5px;min-height:20px">9<br></td><td style=3D"pa=
dding:0px;border:1px solid rgb(221,221,221);vertical-align:top;min-width:5p=
x;min-height:20px">
possibly zero padding<br></td></tr><tr><td colspan=3D"3" style=3D"padding:0=
px;border:1px solid rgb(221,221,221);vertical-align:top;min-width:5px;min-h=
eight:20px">rest of header is NOT zero padded<br><br></td></tr></tbody></ta=
ble>
<br></div><div><br></div><div><br></div></div>

--001a1133d8dc3fd44604f949957b--


--===============1623361897061506286==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
--===============1623361897061506286==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gtkpod-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-devel

--===============1623361897061506286==--