Page 1 of 2

Album / Track Lookup Solution

Posted: Thu Jun 11, 2020 1:46 pm
by atlanticom
tldr; replace your existing c:\Program FIles (x86)\Acoustica Spin It Again\acuutils.dll file with this alternate version (exactly the same, but url of musicbrainz lookup has been changed) and lookups will start working again! File locatated at: http://siamb.jhbsa.com/acuutils.dll (or as a signed installer package for ease of download/installation at: http://siamb.jhbsa.com/SIA-Lookup-Patch.exe )

I purchased Spin It Again back in 2008 to convert my vinyl LP collection to mp3. It did it's job and I was happy. I recently came into possession of another large set of albums and decided to add them to my digital collection. After dusting off and reinstalling Spin It Again, I realized (as others have noted in the forum) that album/track lookups returned no results. Being a software developer, I decided to look into the problem and see if I could do anything about it. It turns out that I could... and I did.

The root of the problem is that musicbrainz.org changed their database lookup api to a new version (v2) then deprecated and finally disabled their original api (v1). Spin It Again only knows how to make lookup requests to the old version 1 endpoint using the old protocol, and only knows how to consume responses compatible with the version 1 format.

The solution strategy... find a way to convert the v1 requests to v2 format, submit the v2 request to musicbrainz, receive the v2 response and convert it to a compatible v1 response, send the response back to Spin It Again for processing as usual. All of this is easy enough to figure out and do with a proxy web service. The challenge was 'how to get Spin It Again to ask the proxy for album info instead of musicbrainz directly. Some quick digging with a hex editor discovered the musicbrainz.org url hard coded in the acuutils.dll file. I then edited the file to replace the musicbrainz.org domain with the domain of my proxy script siamb.jhbsa.com and voila! Spin It Again can ask the proxy using v1 commands, and the proxy asks musicbrainz using v2 commands, and then transforms the results before sending them back to Spin It Again.

I'm currently using this solution with great success. I've occasionally discovered quirks in the response conversions and I've been tweaking the proxy to accommodate them. I plan to leave the proxy operational for the community to use. Feel free to use (but not abuse) the service.

Blessings to all. Be safe.

Re: Album / Track Lookup Solution

Posted: Thu Jun 11, 2020 4:52 pm
by Acoustica Eric
I get an error when trying to run sia after replacing the dll with this one.
Image

Re: Album / Track Lookup Solution

Posted: Fri Jun 12, 2020 6:11 am
by atlanticom
:cry: Hmmm. I installed my originally downloaded version of SIA v2.1 b39. Perhaps the final SIA download is a new version with changes to that library.

I'll download and install the currently offered SIA package and see if I receive the same error (as soon as Aerosmith finishes recording :)

Thanks for letting me know.

Re: Album / Track Lookup Solution

Posted: Fri Jun 12, 2020 6:25 am
by atlanticom
That was it. The final release of SIA was v2.5 b46 which had changes to that library since my originally downloaded version.

I made the change to the final release of the library and tested it with SIA v2.5 b46. Everything looks good here. Please try downloading the patched library again and let me know if you still experience any problems.

Have a great day! :D

Re: Album / Track Lookup Solution

Posted: Fri Jun 12, 2020 7:29 am
by Acoustica Eric
That worked, very impressive!
Thanks for sharing this with the community.

Re: Album / Track Lookup Solution

Posted: Fri Jun 12, 2020 9:36 am
by Acoustica Eric
I created a couple installers for this fix.
64 bit Windows
ftp://ftp.acoustica.com/AC-Software/Spi ... ch_X64.exe
32 Bit Windows
ftp://ftp.acoustica.com/AC-Software/Spi ... ch_X86.exe

Re: Album / Track Lookup Solution

Posted: Fri Jun 12, 2020 1:16 pm
by atlanticom
Eric,

Great news & thanks for evaluating the patch and creating the installers!

FYI: I just reinstalled using the patch installer you created and had to coerce/force Edge and Windows 10 to allow me to keep and install the file because the installer is unsigned. Are you able to create a signed installer (so Windows will better 'trust' the installer.) If you are unable, would you mind if I created one? If I do it, it would obviously be signed using my developer certificate and not acoustica's, but hey... that's better than fighting the browser with an unsigned copy.

Re: Album / Track Lookup Solution

Posted: Sun Jan 10, 2021 8:23 pm
by Y.I. Oughta
Thanks so much for this!! :D

Re: Album / Track Lookup Solution

Posted: Sat Aug 13, 2022 7:54 pm
by rnmerchant
Well - isn't this just annoying!

I still love Spin-it-Again. Now that I've discovered my local used record store is selling it's $1 albums for less than face "value"....

I've used it for years and with the lookup patch it has worked fine. The setup I now have in the basement has an old Dell WinXp Home system. For some reason the patch no longer works - the lookup doesn't find any results. However on my bigger, "real" system upstairs, it works just fine.

I tried re-downloading everything but no improvement...

Has something happened such that the 32 bit XP version is no longer functional?

Thanks for advice. :) :)

Richard

Re: Album / Track Lookup Solution

Posted: Mon Aug 15, 2022 8:36 am
by Acoustica Greg
Hi,

Maybe the firewall on the other computer is blocking access? You may need to add an exception for Spin It Again in Windows Firewall.


Greg

Re: Album / Track Lookup Solution

Posted: Mon Aug 15, 2022 10:06 am
by rnmerchant
Insofar as I can tell this is not the issue.

I have turned off the Windows Firewall altogether (but added exceptions anyway in case turning off the Firewall doesn't actually do that - damn Microsoft!).

I don't actually get what I would call an error message: just a notification that "no results found", suggesting that something is working but not properly....

Richard

Re: Album / Track Lookup Solution

Posted: Mon Aug 15, 2022 10:15 am
by Acoustica Greg
Hi,

And you installed the correct patch? You're probably using 64-bit Windows, correct? Is that the patch you installed?

Greg

Re: Album / Track Lookup Solution

Posted: Mon Aug 15, 2022 11:20 am
by rnmerchant
Nope - old computer (Dell Inspiron 600m, Windows XP) dedicated to this recording task. 32 bit insofar as I can tell, and I used the x86 patch...

Re: Album / Track Lookup Solution

Posted: Mon Aug 15, 2022 11:46 am
by Acoustica Greg

Re: Album / Track Lookup Solution

Posted: Mon Aug 15, 2022 1:38 pm
by rnmerchant
Well... you could say that... but the computer was pretty new when Spin-it-Again first came out - and was likely well in the target market for the program!

But in any case it had been working well, in the last year or two. Something has changed but I cannot figure it out. I did reinstall WinXP a while back so likely that is part of the change.

I've tried manually replacing the .dll file, rather than running the fix program. That doesn't help either!!! Really suggests it is something in my computer. Maybe I'll re-do the WinXP installation, and reinstall the program. That is not too challenging as there is not much on that system.

R