[WS] Discogs (pone mod)

after you tagged with my websources script, you need to select certain files, hit alt+6 and select there at least 1 action:

  1. Discogs_xml

press ok, after that it will be there.

You can edit actions/1. Discogs_XML.mta and in action #74 list all tags you don't need so they will be erased after applying action.


Apologies, I missed one important step. Haven't done the Alt+6 part, just fooled around with Discogs_json_all_ID.src, which wasn't a great idea, but it worked for me sans CREDITS part.

Will restore the original .src file, and check what options are there in Discogs_XML.

Thanks again, and looking forward to possible CHAPTER implementation!

I had similar trouble and following the http -> https instruction i was able to get it to work by doing the following:

Edit the "Discogs &Pone# Direct by Discogs &ID.src" file (as its the direct by ID one i use)
globally replace http with https (not just the two or three at the top)

I did notice this gave a fairly slow reponse, so i removed the section relating to covers ( as that doesn't work at all ):

#< ## COVER #
outputto "coverurl"
findinline ""thumb":" 1 1
if " ""
findinline "-150-" 1 1
say "https://s.pixogs.com/image/R-"
sayuntil """
endif
gotochar 1#>

now it works as it did before (but still no cover images).

Seems to work now, I don't know what I missed unless it was a http entry.

@ SecretSquizza: Thank you SO much for that tip. I didn't think about adding 's' to all the http tags in the script, nor did I think about removing the COVER parts. You are absolutely right, it now works perfectly fine again (minus the covers - which I never had anyway).

Also big thanks to mp3taglover: I will now also re-try your script. Many thanks for explaining in more detail how to remove fields - much appreciated.

It's good to see people helping one another on this thread.

Thanks, guys. Thanks a lot.

Regards:
F

Could not get it to work even after replacing "http" with "https" on the scripts.

Someone could please upload an updated, working version of our beloved Discogs pone mod scripts?

Here's my working pone script by ID

Be aware it has my field mappings in it, so may not be perfect for your tagging needs!

Discogs__Pone__Direct_by_Discogs__ID.src (18.3 KB)

Here's one with images working (added the discogs.src cover url section to the end of the Pone script which seemed to fix it (with the json "ON" line declared at the top))

Discogs__Pone__Direct_by_Discogs__ID.src (18.9 KB)

Not quite working!

Here is a better version, seems to work on releases with single or multiple images. Not that efficient though with two loops. Moved the json "on" command to the bottom also this time.

Discogs__Pone__Direct_by_Discogs__ID.src (19.1 KB)

Thank you, but I use "Direct by URL". Not working, so previous posts saying to replace http with https are wrong.

Here is the error:

Where is the topic author?

Did you mean chapters under:

?

If so, it's already implemented in DISCNAME tag:

He's no longer here to maintain his script for few last years, busy in real life I guess.

Yep, that was it. Excellent, with a bit of some editing, got it to tag exactly the way I like it.

Much appreciated again!

When I try to get data from Discogs using the pone mod I get this message in the last days:

401: Unauthorized

Any solution?

Have a look at this thread: /t/17761/1

THX!

I do wonder about one thing, mp3taglover. Could your script get YEAR from master release while everything else from actual release? Small thing that I can easily enter myself, but hey, if it can be done, why not?

I never get master release from discogs. You can parse from json master_url and get json from it and parse again "year" from it to embed.

I'm sorry but you will have to do this yourself.

Florian replied in another topic on this bug:

[F] Discogs - Error >> 401 : UNAUTHORIZED

EDIT:
and the solution is there as well at post #7
[F] Discogs - Error >> 401 : UNAUTHORIZED

Hi,

It seams that importing tags from Discogs is broken. I am not getting track names, artist year etc as you can see in the picture. I tried to look for release by id.

Release id 562191

Picture is attached

I also get 401 error in some cases even if I change all mta Discog Pone files by replacing http to https.


It works just fine.

  1. Update your mp3tag
  2. Change http:// to https:// everywhere in the script
  3. Re-login with your account on discogs with a browser (mp3tag will redirect you to that page) and allow mp3tag to use discogs API.