josephw / titl

Tools for iTunes Libraries
60 stars 12 forks source link

UnknownHohmException: Unknown type: 512 (0x200) #19

Open josephw opened 9 years ago

josephw commented 9 years ago

Original issue 19 created by josephw on 2012-09-15T14:48:22.000Z:

Using ExportRatings or ArtworkWebPage I receive the following error message using iTunes 10.7 on Mac (Mountain Lion 10.8.1)

java -jar titl-core-0.3-SNAPSHOT.jar ExportRatings iTunes\ Library.itl Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kafsemo.titl.tools.Main.main(Main.java:42) Caused by: org.kafsemo.titl.UnknownHohmException: Unknown type: 512 (0x200) Hex: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x38 0x00 0x65 0x00 0x36 0x00 0x64 0x00 0x39 0x00 0x61 0x00 0x37 0x00 0x39 0x00 0x65 0x00 0x61 0x00 0x34 0x00 0x39 0x00 0x61 0x00 0x37 0x00 0x63 0x00 0x30 0x00 0x65 0x00 0x61 0x00 0x35 0x00 0x63 ... ASCII: ...............@.........8.e.6.d.9.a.7.9.e.a.4.9.a.7.c.0.e.a.5.c.b.3.2.a.5.0.d.4.d.f.0.3 at org.kafsemo.titl.ParseLibrary.drain(ParseLibrary.java:452) 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

This was just a first test, in the end I would like to see if I can "repair" my iTunes DB with this: I have lots of "combining diacritical marks" (%CC%88) in my iTunes Library. I dont know where those come from (maybe a strange combination of Windows/Mac iTunes with the folders on an cifs/nfs/share or just inherited from an ancient iTunes version) but they should not be neccessary anymore these days. They brake my iTunes Library.xml with some tools not finding the files having %CC%88 in its paths (like forked-daapd).