-
Hi there! Trying for weeks now to get the subject working in my tagging script. Didn't find anything useful via google or your documentation, because they all reference a release.id, which I obviously don't can fetch (correctly). Here are the relvant code snippets:
Expected Result: Opeth -> Album "Orchid" -> Genre "Rock" -> Style "Death Metal" Any help with a beginner-friendly answer would be appreciated! regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If I had to guess: This query is giving you 3649 as the result, but it's the master ID, no the release ID for the Opeth album: I don't have time to test the code right now, but can you update that query to get a result of a release ID and not a master ID? Or can you add code to see if the result you're getting is equal to d.master.id - because that's not what you want, you want d.release_id, similar to what you have. But does the first ['id] always return a master ID or release ID? I hope that makes sense, I'm not an expert. :) |
Beta Was this translation helpful? Give feedback.
-
Awesome, glad you were able to work it out. If you have any more questions, please let us know! |
Beta Was this translation helpful? Give feedback.
If I had to guess:
This query is giving you 3649 as the result, but it's the master ID, no the release ID for the Opeth album:
first_found_release
(See: https://www.discogs.com/master/3649-Opeth-Orchid)I don't have time to test the code right now, but can you update that query to get a result of a release ID and not a master ID?
Or can you add code to see if the result you're getting is equal to d.master.id - because that's not what you want, you want d.release_id, similar to what you have. But does the first ['id] always return a master ID or release ID?
I hope that makes sense, I'm not an expert. :)