iTunesMonkey 1.0 + Acoustid

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

AlanH
Posts: 197
Joined: Sun Sep 08, 2013 3:54 pm

Re: iTunesMonkey 1.0 + Acoustid

Post by AlanH »

Update, I cant get the acoustic part to work no matter what I try, so bummed out as this was my go to add on for checking my music tags.

I tried uninstall and restart but no go, still no error message it just doesn't return any results.
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: iTunesMonkey 1.0 + Acoustid

Post by MMuser2011 »

iTunesMonkey has several different modes (press the Option button to change it).
You don't get a result with any of this modes?

What if you try to use iTunesMonkey with an album that was recognized before your library move?
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
AlanH
Posts: 197
Joined: Sun Sep 08, 2013 3:54 pm

Re: iTunesMonkey 1.0 + Acoustid

Post by AlanH »

MMuser2011 wrote:iTunesMonkey has several different modes (press the Option button to change it).
You don't get a result with any of this modes?

What if you try to use iTunesMonkey with an album that was recognized before your library move?
That's the strange part, the other modes work, it's just the acoustic ID part that's not returning any results. I've tried it on a large solection of my music and it gives me nothing.
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: iTunesMonkey 1.0 + Acoustid

Post by MMuser2011 »

I try to reproduce it:
1. You select the songs from an album
2. You press CTRL-L (the Option is set to "Acoustid Fingerprint")
3. You see three progresslines
4. What exactly do you see as progress? (You wrote "the progressbar completes").
(In my case, there is a first "overall progressbar" going from grey with 0% blue to 100% blue. The second line is "Fingerprint", also going from grey with 0% blue to 100% blue, and the same for the third line "Acoustid").

Can you please check if you have a file called "fpcalc.exe" (about 2MB Size) in the path
%appdata%\MediaMonkey\Scripts\iTunesMonkey
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
AlanH
Posts: 197
Joined: Sun Sep 08, 2013 3:54 pm

Re: iTunesMonkey 1.0 + Acoustid

Post by AlanH »

First off I would like to say a big thank you for taking the time to help me with this.

I have some good news and some bad news. I know what's causing the problem but not the why.

I checked the file you pointed to and that was ok and when I checked all 3 progress bars they stayed red.

As I stated in my first post this is a new laptop with a SSD to boot off and all my Music stored on the D: drive.

I have found out if I move my music onto the C drive then the Acoustic ID check works as expected. I have tried move the windows music folder onto the D: drive and retest but it still doesn't work, so I'm guessing its something to do with the drive letter it doesn't like.
I was ready to reinstall windows thinking I had done something wrong when I had moved my library over.
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: iTunesMonkey 1.0 + Acoustid

Post by MMuser2011 »

If you like, you can try the following debug step:

Open this existing small (1kb) file in a editor (like Notepad++):

Code: Select all

%appdata%\MediaMonkey\Scripts\iTunesMonkey\AcoustidFingerprint.vbs
This file contains only two lines of working code.

Please enter 3 new lines between the line
Set oArguments = WScript.Arguments
and
CreateObject("WScript.Shell").Run oArguments(0) &" "& oArguments(2) &" > "& oArguments(1), 0, True

It should finally look like this:

Code: Select all

Set oArguments = WScript.Arguments
MsgBox ("oArguments(0): " & oArguments(0))
MsgBox ("oArguments(2): " & oArguments(2))
MsgBox ("oArguments(1): " & oArguments(1))
CreateObject("WScript.Shell").Run oArguments(0) &" "& oArguments(2) &" > "& oArguments(1), 0, True
Save this file and then try to start fingerprinting ONE song.
The above lines should show* you:
a) where the calculation tool "fpcalc.exe" is started from
b) the full filepath to your song
c) where the output should be written to

I assume, the line b) will show you an incorrect path, right?

* Please be warned:
This msgbox is hidden behind the result window and MediaMonkey. You have to switch to this window or minimize all other windows to see it. It doesn't pop up on top, unfortunately...
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
AlanH
Posts: 197
Joined: Sun Sep 08, 2013 3:54 pm

Re: iTunesMonkey 1.0 + Acoustid

Post by AlanH »

Here is the results, I copied the same file to both locations and ran it on both.

The top three are from the C: Drive and the Bottom 3 are from the D: Drive
Working
Image
Image
Image

Not Working
Image
Image
Image

The only thing I can see is the working one seams to remove all spaces from the file path but in the non working one the spaces are there. As far as I can see the file path is the correct path in the non working one.

EDIT
I have just plugged in an external drive with the label G: and rerun the same file and it works as expected, giving the same result as the C: Drive
EDIT 2
I changed the drive letter on the D: drive to L: drive and it still wouldn't work
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: iTunesMonkey 1.0 + Acoustid

Post by MMuser2011 »

AlanH wrote:The only thing I can see is the working one seams to remove all spaces from the file path but in the non working one the spaces are there. As far as I can see the file path is the correct path in the non working one.
Your working example is using the so called "ShortPath", using a max 8 characters long abbreviation for every part of the full file path.

The problem is: there is absolutely no difference in the procedure if you use C: or D: or L: or any other drive letter.
As you see correctly in the second example, your D-path-parts are no more max 8 characters long without spaces.

What you could try is this modified content of AcoustidFingerprint.vbs:

Code: Select all

Set oArguments = WScript.Arguments
Set MyFSO = CreateObject("Scripting.FileSystemObject") 
CreateObject("WScript.Shell").Run oArguments(0) &" "& MyFSO.GetFile(oArguments(2)).ShortPath &" > "& oArguments(1), 0, True
The oArguments(2) will be forced to be executed as short path.
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
AlanH
Posts: 197
Joined: Sun Sep 08, 2013 3:54 pm

Re: iTunesMonkey 1.0 + Acoustid

Post by AlanH »

I've tried the modified code and its the same result I'm afraid. C: Drive works fine but nothing on D: Drive.

Thanks for the time you put in trying to fix it, I think going forward I'm going to have to make a temp folder on the SSD if I want to run the plug in, unless you have a crystal ball and can find out whats happening.

Alan
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: iTunesMonkey 1.0 + Acoustid

Post by MMuser2011 »

Unfortunately, I have no more ideas... :( Sorry!
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
oddBeat
Posts: 26
Joined: Wed Apr 07, 2010 9:20 pm
Location: Slovenia

Re: iTunesMonkey 1.0 + Acoustid

Post by oddBeat »

Hi.

First kudos to iTunesMonkey!

Then, I have some songs, which can't be found by iTunesMonkey, but Shazam finds them just fine.
Is it possible to make a script as Shazam, to find names via the web?

Roger
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: iTunesMonkey 1.0 + Acoustid

Post by MMuser2011 »

I'm not sure if Shazam offers a public API.

Anyway, I'm not able to do such a script. Sorry, oddBeat.
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
oddBeat
Posts: 26
Joined: Wed Apr 07, 2010 9:20 pm
Location: Slovenia

Re: iTunesMonkey 1.0 + Acoustid

Post by oddBeat »

ok, thank you anyway and keep on good work!

edit:
maybe one can found here something for future development:
https://www.quora.com/Is-there-an-API-f ... SoundHound
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: iTunesMonkey 1.0 + Acoustid

Post by MMuser2011 »

oddBeat wrote:maybe one can found here something for future development:
https://www.quora.com/Is-there-an-API-f ... SoundHound
Just for the records:
Q: Does Shazam have an API?
A: (Written Dec 2, 2015)
Richard Earney, A senior UX professional and the original designer of the Shazam app:
It does, it just isn't public unless you do a monetary deal with them.
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
oddBeat
Posts: 26
Joined: Wed Apr 07, 2010 9:20 pm
Location: Slovenia

Re: iTunesMonkey 1.0 + Acoustid

Post by oddBeat »

thank you MMuser2011, that sounds promising.

if the fee is acceptable, then we could have a Shazam script :)
unfortunately, I am not aware of the Shazam API price.

Is there someone, who can do a script and approx. price for it, including Shazam API?
Last edited by oddBeat on Wed Jan 11, 2017 4:18 pm, edited 2 times in total.
Post Reply