View Single Post
  #5  
Old Dec 2, 2018, 03:51 PM
Appilesh Appilesh is offline
Junior Member
 
Join Date: Dec 2018
Location: UK
Posts: 4
Default

Quote:
Originally Posted by LiquidAcid View Post
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:


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.
Thank you so much for going into this much depth. I have set the server to vgmdb.net, port to 80, and replaced both occurrences of "2f7e636464622f636464622e63676900" with "2f636464622f656e0000000000000000" in the appropriate dll. How do I change the buffer size to 2k? I am on Windows (10). Kind regards.
Reply With Quote