on-internet
← Community

Java iTunes COM interface Jacob - Get PersistentIDs (PersistentIDLow and PersistentIDHigh)

Stack Overflow ·

I have some problems to understand the iTunes COM interface with Jacob in reference to the PersistentIDs (PersistentIDLow and PersistentIDHigh) to identify playlists and tracks by unique key in iTunes. I hope someone can tell me what I'm doing wrong. Here is my code example to read one playlist List 1 of iTunes. The example shows in comments the trial to read the PersistentIDs for the playlist List 1 and for every track of the playlist. But the Dispatch doesn't work, see code lines with comment "doesn't work". Exception in thread "main" com.jacob.com.ComFailException: Can't map name to dispid:

Comments

Sign in or sign up to comment and upvote.

No comments yet.