Discogs Tagger 3.62 (Updated: 2013-02-09)

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby eepman » Wed Nov 02, 2011 3:08 pm

Hey Let,

check this out

http://blog.discogs.com/2011/11/api-v20 ... ments.html
http://www.discogs.com/help/api
http://www.discogs.com/developers/

most important:
- old API access is being disabled in December
- the API key is no longer necessary!!
- http headers required
- better image and search handling

I have posted in the discogs forum to ask if the new endpoint is JSON only because there is no mention of XML in the new /developers/ docs, which would require a substantial rewrite of the script.

I've also made some edits to begin support for the updated xml API (although it is marked legacy on the /developers/ documentation??), which means no API key needed during installation (which needs to be changed in the MMIP)
you can check out my updated version of the main script here: http://dl.dropbox.com/u/7953706/DiscogsAutoTagWeb.vbs

(you can ignore the JSON encoding stuff at the top, that is just for future POST requests as outlined in the /developers/ documentation, the real changes i made are at line 620 thru 635 and only concern the lack of need for API Key and the new required headers and adding a User-Agent for the script)

p.s. the best bet for staying with VBScript and using the actual new API endpoint at /database/search is this library: https://github.com/nagaozen/asp-xtreme- ... /json2.asp

-E
eepman
 
Posts: 41
Joined: Sun Aug 02, 2009 2:45 pm
Location: basement

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby Blutarsky » Thu Nov 03, 2011 11:42 am

I'm one of those having problems with this script...

"error #-2147024891 - msxml6.dll Access is denied" on line 575 of the script

I have:
- reinstalled all possible msxml6 version (for windows 64 & 32)
- checked if the dll exists in both \windows\system32 & \windows\sysWOW64 (it does)
- re-registred the dll from an elevated command prompt
- IE9 Installed, but the default browser is Google Chrome

I am:
- Running on Windows 7 (64)
- Using MM3 latest 1306
- Quite bored!!!!

The script asks for the API key, but the disocgs site doesn't require a key anymore.... any help?
Any help?
Blutarsky
 
Posts: 192
Joined: Wed Mar 03, 2010 12:53 pm

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby bmcclure » Thu Nov 03, 2011 2:40 pm

If you didn't enter an API key, or entered an incorrect API key, then that's likely the issue--others have reported similar Access Denied errors when not using a proper API key.

Even though v2 of the API doesn't need a key, this script still needs an API key until it has been updated for the new API.

To get a key, log in to Discogs and then visit the following URL:

https://www.discogs.com/users/developers/

There is an 'API v1 Settings' section and your API Key is listed after that. Enter that key into the Discogs Tagger extension in MediaMonkey, and you should be good to go.
--
Ben
bmcclure
 
Posts: 78
Joined: Wed Jan 09, 2008 8:04 pm

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby Blutarsky » Thu Nov 03, 2011 4:11 pm

I have registered and when in the developer section there is a "create API key" button, however pressing it, does nothing. Tried with IE9 & Chrome. Nothing happens. No wonder the V1 usage is deprecated...
Back to start!
Blutarsky
 
Posts: 192
Joined: Wed Mar 03, 2010 12:53 pm

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby Blutarsky » Thu Nov 03, 2011 6:11 pm

Ok, problem solved! The missing API key was issuing errors....once inserted, everything worked fine :D
Blutarsky
 
Posts: 192
Joined: Wed Mar 03, 2010 12:53 pm

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby Poppydog » Thu Nov 03, 2011 6:37 pm

Blutarsky,

I'm in a similar situation to you.
I got as far as your 4:11pm post
How did you get to the success of your 6:11pm post?
Poppydog
 

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby bmcclure » Thu Nov 03, 2011 8:33 pm

Just to clarify, I provided Blutarsky with my discogs API key, since it seems new keys can't be properly generated.

I'm not sure that it's wise to provide my key to the public, but if anyone is stuck and wants to try it out, PM me.

-Ben
--
Ben
bmcclure
 
Posts: 78
Joined: Wed Jan 09, 2008 8:04 pm

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby eepman » Thu Nov 03, 2011 8:50 pm

I made another edit to the script as i was also getting the errors mentioned above, it was because the api no longer supports http://www.discogs.com but only api.discogs.com,

here is my newest version that should stop those issues: http://dl.dropbox.com/u/7953706/DiscogsAutoTagWeb.vbs

I am investigating possibilities for implementation of the new v2.0 discogs API which will greatly improve this plugin and user experience in general, it does look like it may take a while to implement though.
eepman
 
Posts: 41
Joined: Sun Aug 02, 2009 2:45 pm
Location: basement

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby Let » Fri Nov 04, 2011 7:40 am

I already coded API v2.0 plus other improvements. I am planning to release it within few days.
Let
 
Posts: 203
Joined: Mon Jun 15, 2009 1:46 am
Location: İstanbul, Turkey

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby Blutarsky » Fri Nov 04, 2011 9:20 am

Let, I'd like to update my whole library letting your script find the earliest release date per each track, regardless the album date. Particularly in compilations the date is useless.
I have made it to exclude all fields but date, however at the moment the script looks for a combination of album name / track name, giving unpredictable results....
Your thoughts advises?
Blutarsky
 
Posts: 192
Joined: Wed Mar 03, 2010 12:53 pm

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby Let » Fri Nov 04, 2011 10:59 am

1) there's no way this script can find earliest date. there's another script that does this. i'm not sure if it works right.
2) check my guides on the first page for finding the correct release. (or wait for next release since it will have artist, label and master release loading)
Let
 
Posts: 203
Joined: Mon Jun 15, 2009 1:46 am
Location: İstanbul, Turkey

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby eepman » Fri Nov 04, 2011 12:07 pm

let: with all the JSON and everything?? if so, awesome!
eepman
 
Posts: 41
Joined: Sun Aug 02, 2009 2:45 pm
Location: basement

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby halflife78 » Fri Nov 04, 2011 2:46 pm

Am I doing something wrong? I just set this up since Amazon isn't working and it searches for the album but never finds the correct one. I can find it in Discogs by manually searching on the website but no matter what I put in actual search fields on the script it just finds random albums and doesn't match anything. :evil:
halflife78
 
Posts: 1
Joined: Fri Nov 04, 2011 9:09 am

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby Guest » Fri Nov 04, 2011 6:48 pm

bmcclure wrote:If you didn't enter an API key, or entered an incorrect API key, then that's likely the issue--others have reported similar Access Denied errors when not using a proper API key.

Even though v2 of the API doesn't need a key, this script still needs an API key until it has been updated for the new API.

To get a key, log in to Discogs and then visit the following URL:

https://www.discogs.com/users/developers/

There is an 'API v1 Settings' section and your API Key is listed after that. Enter that key into the Discogs Tagger extension in MediaMonkey, and you should be good to go.


Close (the last forward slash is incorrect):
https://www.discogs.com/users/developers
Guest
 

Re: Discogs Tagger 3.2 (Updated: 2011-07-08)

Postby bmcclure » Fri Nov 04, 2011 7:54 pm

Guest wrote:Close (the last forward slash is incorrect):
https://www.discogs.com/users/developers


Actually I copied that out of the Chrome address bar and I got there using a link from the Discogs site. It worked fine for me, but now that I click on my link and then yours I see that you are actually right--I can't explain why the slash was there when copying from the Chrome address bar, but it doesn't seem valid now.

Thanks for the correction!
--
Ben
bmcclure
 
Posts: 78
Joined: Wed Jan 09, 2008 8:04 pm

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 7 guests