lipnitsk/libcue

No API to access Cd::catalog

Opened this issue · 0 comments

I don't see any way to get at the "catalog" string in the Cd struct. It does get parsed and populated if it exists in the queue sheet, there's a cd_set_catalog() function which is public, and cd_dump() prints it out, but that's in cd.c as is the declaration of struct Cd.
I'm currently doing unspeakable acts in order to access this string (&(cd)+sizeof(int)... shudder), but obviously that's horrible. Am I just missing something or does this member need a e.g. cd_get_catalog() accessor?