Heh. Looking at the raw output of the API showing all the tags really makes one wonder what people are thinking. Like seriously, one of the tags for the Various Artists artist... is an url to a Johnny Cash cover art... Like wtf? ^_^;
2017-05-01 12152, 2017
SothoTalKer
i hate tags
2017-05-01 12110, 2017
SothoTalKer
best part of them: nobody can remove a tag, except the one who entered it or something :p
2017-05-01 12123, 2017
hibiscuskazeneko joined the channel
2017-05-01 12135, 2017
d4rkie has quit
2017-05-01 12150, 2017
agentsim joined the channel
2017-05-01 12142, 2017
Nyanko-sensei joined the channel
2017-05-01 12152, 2017
Nyanko-sensei has quit
2017-05-01 12159, 2017
Nyanko-sensei joined the channel
2017-05-01 12110, 2017
drsaunder has quit
2017-05-01 12105, 2017
Slurpee has quit
2017-05-01 12152, 2017
Ether_Man
Hmm. So https://wiki.musicbrainz.org/Cover_Art_Archive/API says that any request to fetch cover art must go through coverartarchive. I assume that does not cover artist cover art since that's handled under url-rels and coverartarchive doesn't have an artist context. Have I understood that right?
2017-05-01 12121, 2017
SothoTalKer
it's only valid for coverart of releases that has been uploaded to the CAA
2017-05-01 12101, 2017
Ether_Man
Cheers :) Don't wanna get my code banned because I made some incorrect assumption :)
2017-05-01 12113, 2017
SothoTalKer
unless you do too many requests per seconds, it won't get you banned
2017-05-01 12138, 2017
SothoTalKer
many releases don't have coverart uploaded to the CAA yet
2017-05-01 12109, 2017
Ether_Man
Don't think that'll be a problem. It uses a built in caching proxy with a 1sec minimum delay per request, so I guess it would require quite a number of users before hitting the rate limit :)
2017-05-01 12111, 2017
SothoTalKer
even my little script gets a 503 sometimes :D
2017-05-01 12120, 2017
SothoTalKer
but i'm possibly in the "anonymous" group
2017-05-01 12147, 2017
Ether_Man
Well that might happen though I doubt popularity is high enough, but I will obviously have handlers for such situations. I just don't want to have the useragent outright banned
2017-05-01 12127, 2017
SothoTalKer
You could set up your own search server :-)
2017-05-01 12112, 2017
UmkaDK joined the channel
2017-05-01 12149, 2017
Ether_Man
Well if the interest is high enough, I might. But this is mainly because I'm sick and tired of the last.fm agent in Plex...
2017-05-01 12120, 2017
Ether_Man
Not sure I even want to release it to anyone else. Last time I did a couple of years ago, they broke the music API in plex and just left it broken for years >_<
2017-05-01 12130, 2017
SothoTalKer
How many users do you expect? :D
2017-05-01 12100, 2017
Ether_Man
Well, I know there is some interest among the users on the Plex forum at least... How many, no idea.
d4rkie: Yes - though it may be because MB is not stripping off the # string. Easiest way to fix for this page is it edit the page and take out the # string.
2017-05-01 12140, 2017
noci joined the channel
2017-05-01 12106, 2017
noci
hi! I'm confuse about the API. I want to get the full official discography for an artist, like what's on the artist Overview page on musicbrainz.org... but I can't figure out how to do it without sending multiple requests, one for each release-group
Dude. It beats my literally pulling my hair for three days for why a program wasn't reading a change in the config file... The program runs as a different user entirely... I could have changed the config till I was blue and it couldn't have cared less :)
2017-05-01 12141, 2017
noci
hah
2017-05-01 12142, 2017
Ether_Man
beats me*
2017-05-01 12150, 2017
noci
hmm, is "release group" what I should be asking for by the way, and not "release"? (I want the official discography for an artist, like what's on the "Overview" page for an artist on musicbrainz.org)
2017-05-01 12133, 2017
noci
I *think* I would want to query "release" with status=official instead
2017-05-01 12152, 2017
Ether_Man
That depends. Do you differentiate between say the 12" Vinyl version of 'Anti EP' and the CD version? Or do you perhaps differentiate between the 2 different versions of Envane on 12" Vinyl?
2017-05-01 12124, 2017
noci
ah no, I don't care about different versions really
2017-05-01 12136, 2017
Ether_Man
Then release group is what you want.
2017-05-01 12142, 2017
noci
okay
2017-05-01 12110, 2017
noci
but there is no way to get only official releases on release-group is there?
2017-05-01 12125, 2017
Ether_Man
Define official here?
2017-05-01 12139, 2017
noci
has status=official instead of status=bootleg
2017-05-01 12116, 2017
Ether_Man
Well you can... But if you make no difference between the individual versions, what does it even matter? That's a status on the releases, not the release-group isn't it?
2017-05-01 12124, 2017
noci
yeah, if I append status=official on the release-group query I get "status is not a valid parameter unless release are requested"... but, like, if I do a query for release-group on a popular band like Iron Maiden, I get 100+ albums back - 90% bootlegs
Ether_Man: The clue is the text below the picture on the web page. This is a picture that MBS automatically extracted from their Wikipedia page (in the same way that Releases can get pictures from Amazon.) I don't think that Artists can have pictures directly associated with them in the way that Releases can, so presumably this is the only way that MBS can get Artist images.
woho, I almost got it working now... playing with the API is fun, I'm surprised you're allowed to insert pure lucene syntax into your query
2017-05-01 12147, 2017
noci
only thing missing is release date, but I guess I'll have to marry the result with a second query like someone suggested
2017-05-01 12155, 2017
zas
ruaok: search server volume is unnamed (/home/search/indexes), is it intentional ?
2017-05-01 12153, 2017
drsaunders joined the channel
2017-05-01 12143, 2017
zas
ruaok: i reclaimed the wasted space (140Gb), but i had to stop docker, remove old /var/lib/docker, and start over, does the container sync the indexes on start ?
2017-05-01 12118, 2017
Sophist_UK
Ether_Man: The difference is that the Michael Jackson entry explicitly includes a picture URL whilst They Might Be Giants doesn't.
2017-05-01 12130, 2017
drsaunders has quit
2017-05-01 12152, 2017
Sophist_UK
So I was wrong about not being able to add an explicit picture. But that is the explanation as to what is currently happening.
2017-05-01 12107, 2017
Ether_Man
Yea. Just feels... Weird >_<
2017-05-01 12119, 2017
Sophist_UK
However, from a technical perspective, if MBS can find the picture itself, why shouldn't it be able to add it as an image entry in the JSON? I suggest you raise an Enhancement Ticket to see if this functionality can be added.
2017-05-01 12127, 2017
Sophist_UK
See also MBS-9223 for a similar but different issue about Amazon Cover Art.
zas: the volume being unnamed is for no particular reason.
2017-05-01 12151, 2017
ruaok
and yes, it picks-up and re-syncs on startup
2017-05-01 12111, 2017
Ether_Man
Maybe. Want to get at least basic functionality in my Plex Agent first. Was mainly that like, the artist page had an image, was getting annoyed at why my agent was not fetching it :)