re: opf, hash ids, ids, etc
Matthew Fudge <[email protected]>
| Newsgroups | gmane.comp.audio.netmd.devel |
|---|---|
| Message-ID | <[email protected]> |
The following section towards the end of the opf file
seems to be repeated for each time the track is
checked out.
>197 2: INTEGER 102
> 200 NDEF: SEQUENCE {
> 202 NDEF: SEQUENCE {
> 204 4: OCTET STRING 01 0F 50 00 00 06 00
00 >00 00 00 00 00
>00 00 01
> 222 2: INTEGER 0
>REMARK: If this part is present, the above octet
string >seems to be
>constant.
> 225 4: OCTET STRING 20 93 A8 F3 7A 7A 4E
ED
>REMARK: Something interesting! This is the HashID,
the >hash of the 20
>byte
>identifier (the one used in the filename???).
so for a track that I've checked out three times I
have:
144 30 NDEF: SEQUENCE {
146 30 NDEF: SEQUENCE {
148 04 16: OCTET STRING
: 01 0F 50 00 00 06 00 00 00 00
00 00 00 00 00 01
166 02 1: INTEGER 0
169 04 8: OCTET STRING
: 11 43 09 8D AA E8 0B F3
: }
181 30 NDEF: SEQUENCE {
183 04 16: OCTET STRING
: 01 0F 50 00 00 06 00 00 00 00
00 00 00 00 00 01
201 02 1: INTEGER 0
204 04 8: OCTET STRING
: 11 43 09 8D AA E8 0B F3
: }
216 30 NDEF: SEQUENCE {
218 04 16: OCTET STRING
: 01 0F 50 00 00 06 00 00 00 00
00 00 00 00 00 01
236 02 1: INTEGER 0
239 04 8: OCTET STRING
: 11 43 09 8D AA E8 0B F3
: }
: }
: }
There is nothing different between these
entrys.Perhaps the Octet string hash ID is generated
partially based on
some features of the track and partially based on a
unique ID that each MD player has. The entries for
tracks would then have differing Hash ID's if checked
out to different MD Players.
The 1 3 8 0 5 4 102 bit does seem constant. The fourth
number corresponds to the number of times more the
track
is allowed to be checked out
ie 1 3 8 3 5 4 == three times remaining (you haven't
checked this track out)
1 3 8 0 5 4 == no times remaining you have this track
checked out three times already. There should then be
three entries in the check out section.
Cheers
Matt
[email protected]
1 3 8 2 5 4 ==
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com