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 :)
2017-05-01 12144, 2017
zas
ruaok: well, i'm not sure about the exact issue, i think docker itself is leaking stuff, the unnamed volume isn't really the issue
2017-05-01 12158, 2017
zas
that's related to aufs, i cleaned up dangling containers/images/volumes, and rebooted to clear temp stuff, but that was only 3% of disk space. Then i stopped docker, moved /var/lib/docker, and restarted it, the difference is huge
2017-05-01 12116, 2017
zas
only did it on prince for now
2017-05-01 12132, 2017
zas
i think named volumes for /home/search/ dirs may reduce useless data transfer and possibly loads (since it will not start from zero on container restart)
Right, but you're essentially fetching that full html page and then just discarding everything but the image. Rather than asking the API for just the image.
It does mean we need to make two calls, of course :)
2017-05-01 12141, 2017
Ether_Man
I read it as it was reading the descriptor page :)
2017-05-01 12123, 2017
reosarevok
But at the same time, it saves us worrying about whether the images move or change or whatever, and if someone adds a new better image to the Wikidata page, we get it automatically, which is nice
2017-05-01 12136, 2017
Ether_Man
Well yea, but one minimal call, and then the image, rather than a whole html page, at least feels like it should be more efficient :)
2017-05-01 12155, 2017
reosarevok
(before we started basing everything on Wikidata, we'd have to fix a few hundred Wikipedia links a month for example because they kept removing them or redirecting them :D )
2017-05-01 12125, 2017
reosarevok
But that's also, I guess, why they're not automatically added to the ws results
(because we'd have to call Wikidata/Commons every to give the URL, which the user might not even need, so it's better if the user does it)
2017-05-01 12117, 2017
Freso
Yeah. We provide the data we have, which includes a lot of additional IDs and links that data users can use to query for more/other data on other services.
2017-05-01 12122, 2017
Ether_Man
If only Plex Agents actually had a system to STORE all those links, they'd be really handy indeed for me :)
2017-05-01 12116, 2017
agentsim has quit
2017-05-01 12143, 2017
Norwich_ joined the channel
2017-05-01 12106, 2017
Norwich_
Do you sell CDs ?
2017-05-01 12100, 2017
ruaok
no. we dont sell anything.
2017-05-01 12159, 2017
Norwich_
Someone pinched my CRIMCD86 ... I have an empty Case !!