View Single Post
  #4  
Old Dec 1, 2018, 04:38 PM
LiquidAcid LiquidAcid is offline
Trusted Editor
 
Join Date: May 2008
Posts: 1,644
Default

Yeah, I just checked the source and the query path seems to be hardcoded:
cdda.c

As a quick fix I would just patch the corresponding DLL (should be libcdda_plugin.dll in case you're using Windows) by replacing the string.
Code:
hexdump -ve '1/1 "%.2x"' libcdda_plugin.dll | sed "s/2f7e636464622f636464622e63676900/2f636464622f656e0000000000000000/g" | xxd -r -p > libcdda_plugin.dll.patched
2f636464622f656e0000000000000000 is "/cddb/en" (padded with NULL bytes)

This seems to generate the right query, but now fails for a different reason:
Quote:
cdda warning: CDDB error: internal buffer too small
cdda debug: CDDB failure
Default buffer size is 1K, which VLC apparantly never changes. At this point it's probably easier to build your own binary...

EDIT: I can confirm that increasing the buffer to 2K does the trick.

Last edited by LiquidAcid; Dec 1, 2018 at 05:44 PM.
Reply With Quote