Earliest Release Date v4.5.1 (2018-08-15)

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

Moderators: Peke, Gurus

zuilserip
Posts: 34
Joined: Wed Feb 22, 2012 8:00 pm

Re: Earliest Release Date v4.0.0 (2014-01-13)

Post by zuilserip »

Hi wxdude - one more clue to what is generating the error. It seems like titles that have quotation marks (i.e. " ) are causing the error. I am not sure if this is the only case when the error occurs, but if I take a title that works fine and add a quotation mark, I can get the error consistently.

Thanks.
wxdude
Posts: 102
Joined: Fri Mar 12, 2010 4:02 pm
Location: Canada

Re: Earliest Release Date v4.0.0 (2014-01-13)

Post by wxdude »

zuilserip wrote:Error executing script event.
Object required: 'oXMLDoc.getElementsByTagName(...)(...)'

Image
Thanks for reporting the bug. The double quotes were causing my API searches to be malformed.

Link for latest download http://www3.telus.net/sowiakj/EarliestD ... 1.184.mmip.
zuilserip
Posts: 34
Joined: Wed Feb 22, 2012 8:00 pm

Re: Earliest Release Date v4.0.0 (2014-01-13)

Post by zuilserip »

wxdude wrote:
zuilserip wrote:Error executing script event.
Object required: 'oXMLDoc.getElementsByTagName(...)(...)'

Image
Thanks for reporting the bug. The double quotes were causing my API searches to be malformed.

Link for latest download http://www3.telus.net/sowiakj/EarliestD ... 1.184.mmip.
Thanks - it is working great now!
cryptus

Re: Earliest Release Date v4.0.1 (2014-01-21)

Post by cryptus »

Hi

This script looks like exactly what I'm looking for, but it won't install for me. Every time I try and install, I get an error stating, "Error #424- Microsoft VBScript runtime error. Object required: 'oLblGrpBoxResults'. File: 'C:\Users\Stuart\AppData\Roaming\Mediamonkey\Scripts\Auto\EarliestDate.vbs', Line: 450, Column: 2.", followed by another error stating that the installation failed due to 'oLblGrpBoxResults' being required. I'd really like to get this working, any ideas what the problem is?
wxdude
Posts: 102
Joined: Fri Mar 12, 2010 4:02 pm
Location: Canada

Re: Earliest Release Date v4.0.1 (2014-01-21)

Post by wxdude »

cryptus wrote:I'd really like to get this working, any ideas what the problem is?
To be honest I have no idea. The object in question is created and saved well before the script gets to the point that is giving you an error. I would try to first close MM and remove C:\Users\Stuart\AppData\Roaming\Mediamonkey\Scripts\Auto\EarliestDate.vbs from your system. Restart MM, re-download the mmip file, and re-install.

What version of Windows are you running and is it a portable installation of MM or not?
cryptus

Re: Earliest Release Date v4.0.1 (2014-01-21)

Post by cryptus »

Deleting and reinstalling did the trick, thanks!
wxdude
Posts: 102
Joined: Fri Mar 12, 2010 4:02 pm
Location: Canada

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by wxdude »

New release available that fixes one minor bug and updates the options page. Download link on first page.
roboyle3
Posts: 5
Joined: Sun Jun 01, 2014 1:10 pm

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by roboyle3 »

WXdude, Love this script! I just installed today and it was running pretty well for a couple of hours then I received this error. I removed and reinstalled and I'm still getting this error. Any suggestions?

Error # 8732
Expected { to begin object

File C;\users\....\scripts\auto\earliestrelease.vbs line 1799 column 3
wxdude
Posts: 102
Joined: Fri Mar 12, 2010 4:02 pm
Location: Canada

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by wxdude »

The error you are getting is caused by the JSON decoder failing.

Is there a specific release that is causing problems or does this error happen for all releases?
Did you try restarting MM?
roboyle3
Posts: 5
Joined: Sun Jun 01, 2014 1:10 pm

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by roboyle3 »

I'm using MM 4.1.1.1703 and ERD version 4.1.0.185.

I've not seen the big error in a day but I'm consistently seeing

Expected { to begin object

I see it randomly after running for a while and I need to restart the search skipping the track that the search stalled on. I'm not sure if its a problem the discogs query on certain tracks but there aren't any special formatting or characters.
wxdude
Posts: 102
Joined: Fri Mar 12, 2010 4:02 pm
Location: Canada

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by wxdude »

Can you see if it fails repeatedly on a specific track and let me know the details (Artist - Album - Song Title). If is repeatable I may be able to find out why it fails and fix. If it is simply random, I'll have to do some more error checking in the code.
roboyle3
Posts: 5
Joined: Sun Jun 01, 2014 1:10 pm

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by roboyle3 »

It appears random but can reproduced on the same tracks that it fails.

Drake - The Ride, 2011, it's on the album Take Care

is the most recent in my collection but it doesn't fail on all Drake tracks. I can't seem to find the root.
wxdude
Posts: 102
Joined: Fri Mar 12, 2010 4:02 pm
Location: Canada

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by wxdude »

Interesting. That Artist-Title works no problem for me and returns a single date of 2011-11-14 from 5 releases and 1 master.

Somehow you are not recieivng properly formatted JSON text from Discogs or you've been temporarily blocked. There are a few places where I can improve the error checking so that the script doesn't fail.
roboyle3
Posts: 5
Joined: Sun Jun 01, 2014 1:10 pm

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by roboyle3 »

Thank you for looking at this. Should I try to use another setting besides Discogs?
wxdude
Posts: 102
Joined: Fri Mar 12, 2010 4:02 pm
Location: Canada

Re: Earliest Release Date v4.1.0 (2014-02-09)

Post by wxdude »

Under Tools -> Options -> Library -> Earliest Date set the option to use "Search earliest date using:" to Musicbrainz instead of Discogs. Musicbrainz is much faster too.
Post Reply