Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown types 0x1FD, 0x1FE #23

Open
josephw opened this issue Mar 13, 2015 · 0 comments
Open

Unknown types 0x1FD, 0x1FE #23

josephw opened this issue Mar 13, 2015 · 0 comments

Comments

@josephw
Copy link
Owner

josephw commented Mar 13, 2015

Original issue 23 created by josephw on 2013-06-21T21:52:52.000Z:

When parsing my library file (from iTunes 11.0.2), I encounter the following:

Caused by: org.kafsemo.titl.UnknownHohmException: Unknown type: 509 (0x1FD)
Hex: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x31 0x00 0x32 0x00 0x33 0x00 0x34
ASCII: .........................1.2.3.4
at org.kafsemo.titl.ParseLibrary.drain(ParseLibrary.java:454)
at org.kafsemo.titl.ParseLibrary.parse(ParseLibrary.java:94)
at org.kafsemo.titl.ParseLibrary.parse(ParseLibrary.java:80)
at org.kafsemo.titl.tools.ExportRatings.main(ExportRatings.java:44)
... 5 more

I then add 0x1FD as a case before line 368, just to eat the unknown type and get the same problem again:

Caused by: org.kafsemo.titl.UnknownHohmException: Unknown type: 510 (0x1FE)
Hex: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFE 0x00 0x02 0x00 0x01 0x04 0x72 0x61 0x69 0x64 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xC8 0xCF 0xCA 0xFB 0x48 0x2B 0x00 0x00 0x00 0x00 0x00 0x02 0x03 0x6D 0x70 0x33 0x00 0x00 ...
ASCII: ...................raid...........................H+.......mp3.................................. ...

If I add that case too, it goes worse:

Caused by: org.kafsemo.titl.ItlException: Expected 8 zero bytes in HOHM block. Was: 0x1 at offset 1
at org.kafsemo.titl.ParseLibrary.expectZeroBytes(ParseLibrary.java:876)
at org.kafsemo.titl.ParseLibrary.readGenericHohm(ParseLibrary.java:541)
at org.kafsemo.titl.ParseLibrary.drain(ParseLibrary.java:371)
at org.kafsemo.titl.ParseLibrary.parse(ParseLibrary.java:94)
at org.kafsemo.titl.ParseLibrary.parse(ParseLibrary.java:80)
at org.kafsemo.titl.tools.ExportRatings.main(ExportRatings.java:44)
... 5 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant