samj1912: «10:19:26 S<samj1912> Also zas imo we should remove the master branch (might cause confusion) and make one of the version branches the default branch» – I already suggested as much a while ago. Still +1 from me. :)
2017-05-08 12835, 2017
samj1912
cool
2017-05-08 12839, 2017
kyan_ joined the channel
2017-05-08 12810, 2017
Freso
alastairp: Re: genres and Discogs, that's why 1) you should not mark the parent genres directly (unless you know it's that genre and don't know a subgenre, e.g., you know it's metal, but not whether it black, death, flower, heavy, speed, thrash, folk, ...), 2) genres should have "multiple inheritance" (e.g., "folk metal" is a child of both "folk" and
2017-05-08 12810, 2017
Freso
"metal"). (Of course, this is for a generic/new genre system. I don't think we're the ones to go tell Discogs to completely redo their system. :))
2017-05-08 12808, 2017
Freso
Ether_Man: I *think* you will have to look up each release individually. Considering that a Release Group could easily have 10+ Releases, it would both tax the database and the bandwidth to return all information for all of them in one go.
2017-05-08 12852, 2017
Ether_Man
Freso, mm I expected as much ;_;
2017-05-08 12807, 2017
zas
Gentlecat, bitmap: can you have a look at trille and ensure only needed containers run on it. It has an abnormal rate of 502 responses compared to others: https://stats.metabrainz.org/dashboard/db/alerts-…
2017-05-08 12858, 2017
bitmap
I don't have anything additional running there
2017-05-08 12826, 2017
Gentlecat
zas: is that just for MBS?
2017-05-08 12819, 2017
zas
Gentlecat: not only, but MBS servers are all at max load already, so adding cpu-hungry containers is actually a bad idea on those
2017-05-08 12836, 2017
zas
so picard-website is ok, since it eats almost nothing
If ones server is located in the EU should that person be using the EU mirror?
2017-05-08 12838, 2017
zas
samj1912: archives renamed/md5 fixes
2017-05-08 12847, 2017
samj1912
cool
2017-05-08 12837, 2017
Freso
Quesito: It doesn't matter to us/MeB, but they will likely experience a better connection. (Note that we have mirrors in both France and Denmark.)
2017-05-08 12811, 2017
Quesito
ok thanks Freso!
2017-05-08 12855, 2017
Ether_Man
Hmm... https://musicbrainz.org/doc/Development/XML_Web_S… says that track is a valid entity that can be linked on release lookups. But doing so gets me "error: "track is not a valid inc parameter for the release resource."". So how do you get the tracklist of a release?
2017-05-08 12814, 2017
Ether_Man
or no wait sorry, that link says it can be used as a linked resource, I read that wrong... Though question remains, how to get a track list of a release :/
error: "label is not a valid inc parameter for the release resource."
2017-05-08 12803, 2017
Ether_Man
oh nvm... I'm stupid
2017-05-08 12808, 2017
Ether_Man
labelS >_<
2017-05-08 12808, 2017
Freso
;)
2017-05-08 12816, 2017
Freso
Reading is hard, yo. :)
2017-05-08 12851, 2017
samj1912
we should update the WS documentation :P
2017-05-08 12824, 2017
samj1912
it takes a bit of time to get it to work as you want :P
2017-05-08 12842, 2017
Ether_Man
It's comprehensive, though it can be a bit confusing at times
2017-05-08 12806, 2017
samj1912
I remember finding it confusing the first time I went through it too
2017-05-08 12812, 2017
Freso
samj1912: Idk. When I poked at it a little for my spotify2mb script, it seems fairly straight-forward.
2017-05-08 12822, 2017
samj1912
Freso: it does now for me
2017-05-08 12833, 2017
Freso
But it might be easier for me since I already know fairly instinctively how MB's data is structured.
2017-05-08 12839, 2017
samj1912
yeah
2017-05-08 12859, 2017
Freso
So Ether_Man, just spend 10+ years editing the data first, then the /ws/ will make sense. ;)
2017-05-08 12810, 2017
Ether_Man
^_^;
2017-05-08 12829, 2017
Freso
(Of course, in 10+ years, we *should* be on ws/3 (or later)!)
2017-05-08 12844, 2017
samj1912
yay json! :P
2017-05-08 12859, 2017
Gentlecat
zas: moved
2017-05-08 12811, 2017
samj1912 frankly finds json much more easier to read than xml :P
2017-05-08 12840, 2017
Ether_Man
Well I suppose technically I have spent 6 years editing the data. Though I can't claim to have been very active in doing so :)
2017-05-08 12856, 2017
Ether_Man
More importantly IMO, it's a hell of a lot easier to WORK with than xml
2017-05-08 12816, 2017
samj1912
yes
2017-05-08 12853, 2017
samj1912
I think it was just a couple of bugs because of which the json WS is in beta
2017-05-08 12807, 2017
samj1912
something to do with int/string
2017-05-08 12858, 2017
Freso
samj1912: /me too! But it probably also helps that I have a browser extension to show JSON prettified, while XML just shows up as a string of text with the tags hidden. (E.g., "<example>🙄</example>" will show up as "🙄
Once I view-source: the XML, it isn't that different.
2017-05-08 12808, 2017
samj1912
for me, I think I am too used to the array, dictionary representation partly due to python and partly due to JS
2017-05-08 12823, 2017
Ether_Man
I work with it against python, which handles json like native dicts, while xml requires extensive parsing, and works really really bad with namespaces >_<
2017-05-08 12839, 2017
samj1912
Ether_Man: you should be using a package :P
2017-05-08 12843, 2017
alastairp
Freso: yeah, ... perhaps
2017-05-08 12803, 2017
Ether_Man
samj1912, can't. Plex doesn't work properly with stuff like that >-<
2017-05-08 12803, 2017
alastairp
I'm more and more convinced that genres don't exist
2017-05-08 12810, 2017
alastairp
it'd be easier for all of us
2017-05-08 12825, 2017
Freso
Ether_Man: Oh, there's no doubt I prefer working with JSON over XML.
2017-05-08 12833, 2017
Freso
I was merely commenting on the in-browser readability.
2017-05-08 12837, 2017
samj1912
Ether_Man: there's always fmt=json to save the day :P
2017-05-08 12859, 2017
Freso
alastairp: Well, in MusicBrainz terms... they don't. :D
2017-05-08 12806, 2017
Ether_Man
samj1912, for viewing in browser, yea :)
2017-05-08 12819, 2017
alastairp
better that things stay that way ;)
2017-05-08 12853, 2017
Ether_Man
My script asks users if they want to treat the tags as genres and set a minimum threshold vote to do so. Works like charm :)
2017-05-08 12856, 2017
samj1912
Ether_Man: huh? cant you make the api calls with that parameter added?
2017-05-08 12845, 2017
Ether_Man
samj1912, I could, but I set the Accept header to json so there's not really a point :)
Gentlecat: ok, thanks, it improved things a bit, but i guess we'll need to move mbspotify too.
2017-05-08 12843, 2017
zas
samj1912: i'll deploy new website image when it will be built
2017-05-08 12854, 2017
samj1912
cool
2017-05-08 12818, 2017
Freso
Ether_Man: That sound similar to what Picard is doing.
2017-05-08 12845, 2017
Freso
Ether_Man: Did you know that you can get only the tags you've set yourself as well? (Obviously requires the user to have logged in to MB.)
2017-05-08 12814, 2017
Freso
samj1912 zas, wait, it 1.4.2 being released today?
2017-05-08 12814, 2017
Freso
*is
2017-05-08 12831, 2017
zas
Freso: yes
2017-05-08 12858, 2017
Freso
Oh. Grand. :)
2017-05-08 12855, 2017
Ether_Man
Freso, yea. I might do some more extensive stuff like that later on. But I have too much to get done to get what I consider the basic functionality done before I'll tackle such things. And I'll likely do a lot of work to try and improve the code before that as well because right now, my code is very much spaghetti
2017-05-08 12814, 2017
Freso
Mm... I could use some spaghetti right now. 😋
2017-05-08 12856, 2017
dna6a has quit
2017-05-08 12859, 2017
Clint
me too
2017-05-08 12811, 2017
dna6a joined the channel
2017-05-08 12839, 2017
alastairp
Freso: nothing to report tonight, I won't be around
2017-05-08 12842, 2017
aron_kexp joined the channel
2017-05-08 12816, 2017
zas
samj1912: new PW deployed, please check, if ok, i'll publish the blog post
2017-05-08 12824, 2017
samj1912
okay
2017-05-08 12807, 2017
samj1912
everything works 👍
2017-05-08 12834, 2017
RustyB has quit
2017-05-08 12848, 2017
Leo_Verto[m]
hmm, I wonder if we should explicitly specify that the MB survey is about MB and we don't want answers relating to Picard
2017-05-08 12849, 2017
RustyB joined the channel
2017-05-08 12805, 2017
Leo_Verto[m]
you are planning to do a separate Picard survey, right?