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? ^_^;
SothoTalKer
i hate tags
best part of them: nobody can remove a tag, except the one who entered it or something :p
hibiscuskazeneko joined the channel
d4rkie has quit
agentsim joined the channel
Nyanko-sensei joined the channel
Nyanko-sensei has quit
Nyanko-sensei joined the channel
drsaunder has quit
Slurpee has quit
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?
SothoTalKer
it's only valid for coverart of releases that has been uploaded to the CAA
Ether_Man
Cheers :) Don't wanna get my code banned because I made some incorrect assumption :)
SothoTalKer
unless you do too many requests per seconds, it won't get you banned
many releases don't have coverart uploaded to the CAA yet
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 :)
SothoTalKer
even my little script gets a 503 sometimes :D
but i'm possibly in the "anonymous" group
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
SothoTalKer
You could set up your own search server :-)
UmkaDK joined the channel
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...
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 >_<
SothoTalKer
How many users do you expect? :D
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.
noci joined the channel
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 :)
noci
hah
Ether_Man
beats me*
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)
I *think* I would want to query "release" with status=official instead
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?
noci
ah no, I don't care about different versions really
Ether_Man
Then release group is what you want.
noci
okay
but there is no way to get only official releases on release-group is there?
Ether_Man
Define official here?
noci
has status=official instead of status=bootleg
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?
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
only thing missing is release date, but I guess I'll have to marry the result with a second query like someone suggested
zas
ruaok: search server volume is unnamed (/home/search/indexes), is it intentional ?
drsaunders joined the channel
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 ?
Sophist_UK
Ether_Man: The difference is that the Michael Jackson entry explicitly includes a picture URL whilst They Might Be Giants doesn't.
drsaunders has quit
So I was wrong about not being able to add an explicit picture. But that is the explanation as to what is currently happening.
Ether_Man
Yea. Just feels... Weird >_<
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.
See also MBS-9223 for a similar but different issue about Amazon Cover Art.
zas: the volume being unnamed is for no particular reason.
and yes, it picks-up and re-syncs on startup
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 :)