#musicbrainz-devel

/

      • MBChatLogger
        is logging
      • 2014-11-01 30535, 2014

      • hitchcock.freenode.net
        Users on #musicbrainz-devel: MBJenkins sampsyo njh derwin Muz warp JonnyJD
      • 2014-11-01 30537, 2014

      • KillDaBOB joined the channel
      • 2014-11-01 30517, 2014

      • yeeeargh joined the channel
      • 2014-11-01 30509, 2014

      • ijabz joined the channel
      • 2014-11-01 30522, 2014

      • KillDaBOB joined the channel
      • 2014-11-01 30534, 2014

      • dns53 joined the channel
      • 2014-11-01 30554, 2014

      • dns53
        is there anyone awake that is working on acousticbrainz?
      • 2014-11-01 30523, 2014

      • night199uk has left the channel
      • 2014-11-01 30534, 2014

      • Freso
        dns53: "Working" how?
      • 2014-11-01 30518, 2014

      • night199uk joined the channel
      • 2014-11-01 30555, 2014

      • dns53
        well i'm trying to work out how it will work
      • 2014-11-01 30512, 2014

      • Freso
        Then it's probably better to ask that.
      • 2014-11-01 30535, 2014

      • dns53
        so you generate a json file and you are trying to match it against the database
      • 2014-11-01 30545, 2014

      • Freso
        No.
      • 2014-11-01 30556, 2014

      • Freso
        Or maybe. I'm not sure what the question is.
      • 2014-11-01 30532, 2014

      • dns53
        well you seem to be storing the results as text and using python to do the comparison
      • 2014-11-01 30553, 2014

      • dns53
        why not use the json data type in postgres and / or the hstore data type
      • 2014-11-01 30541, 2014

      • nikki pings alastairp
      • 2014-11-01 30532, 2014

      • Freso
        dns53: Using Python to do... what comparison?
      • 2014-11-01 30559, 2014

      • Freso
        dns53: Also, the data is stored server-side in a pgSQL db. Check https://github.com/metabrainz/acousticbrainz-serv… for how it's retrieved.
      • 2014-11-01 30557, 2014

      • Freso
        dns53: I'm still not sure what your question is...
      • 2014-11-01 30500, 2014

      • nikki has left the channel
      • 2014-11-01 30523, 2014

      • dns53
        not really a question, just trying to think aloud
      • 2014-11-01 30548, 2014

      • dns53
        i'm waiting for the data dumps, i think there are better ways of storing the data
      • 2014-11-01 30540, 2014

      • Freso
        dns53: The current process is that people run one of the essentia extractors on their music which generates a JSON document. Then a submitter is used to send it off to ABz (currently abzsubmit or acousticbrainz-gui - I'm working on a Picard plug-in, maybe ijabz will make one for his tagger too) where it will be stored in a postgresql db.
      • 2014-11-01 30552, 2014

      • alastairp
        nikki: hi
      • 2014-11-01 30503, 2014

      • alastairp
        We use the json data type in pg
      • 2014-11-01 30534, 2014

      • alastairp
        Dumps will come as a json document per mbid, which is the same as what the extractor returns
      • 2014-11-01 30502, 2014

      • D4RK-PH0ENiX joined the channel
      • 2014-11-01 30503, 2014

      • D4RK-PH0ENiX joined the channel
      • 2014-11-01 30533, 2014

      • reosarevok joined the channel
      • 2014-11-01 30558, 2014

      • Gentlecat joined the channel
      • 2014-11-01 30517, 2014

      • JonnyJD
        Freso: dns53 found the json diff tool in the utils/tools folder of acousticbrainz and thought that was part of the actual workflow
      • 2014-11-01 30540, 2014

      • Freso
        Ah.
      • 2014-11-01 30541, 2014

      • NexusSwag joined the channel
      • 2014-11-01 30532, 2014

      • misterswag joined the channel
      • 2014-11-01 30518, 2014

      • Gentlecat joined the channel
      • 2014-11-01 30554, 2014

      • zas
        502s atm
      • 2014-11-01 30521, 2014

      • ruaok joined the channel
      • 2014-11-01 30532, 2014

      • ruaok joined the channel
      • 2014-11-01 30524, 2014

      • flamingspinach
        many 502s
      • 2014-11-01 30555, 2014

      • ruaok
        I’ve been kicking search servers.
      • 2014-11-01 30501, 2014

      • ruaok
        should be better now.
      • 2014-11-01 30511, 2014

      • zas joined the channel
      • 2014-11-01 30547, 2014

      • nikki joined the channel
      • 2014-11-01 30552, 2014

      • Gentlecat joined the channel
      • 2014-11-01 30543, 2014

      • LordSputnik joined the channel
      • 2014-11-01 30531, 2014

      • misterswag joined the channel
      • 2014-11-01 30542, 2014

      • ruaok
        ianmcorvidae: ping
      • 2014-11-01 30548, 2014

      • ianmcorvidae
        ruaok: pong
      • 2014-11-01 30555, 2014

      • ruaok
        so, tomorrow.
      • 2014-11-01 30523, 2014

      • ruaok
        shortly before 6pm at firefly car rental near SAN airport?
      • 2014-11-01 30524, 2014

      • ianmcorvidae
        I think that was the notion
      • 2014-11-01 30544, 2014

      • ruaok
        just confirming.
      • 2014-11-01 30546, 2014

      • adhawkins joined the channel
      • 2014-11-01 30557, 2014

      • D4RK-PH0ENiX joined the channel
      • 2014-11-02 30656, 2014

      • Nyanko-sensei joined the channel
      • 2014-11-02 30619, 2014

      • Nyanko-sensei joined the channel
      • 2014-11-02 30650, 2014

      • Freso
        What's the mm.mb.o subdomain for?
      • 2014-11-02 30643, 2014

      • Freso
        ianmcorvidae ruaok: ^
      • 2014-11-02 30637, 2014

      • Gentlecat joined the channel
      • 2014-11-02 30658, 2014

      • warp
        Freso: I think that was the base domain used for the MusicBrainz Metadata ontology, in the old RDF webservice.
      • 2014-11-02 30601, 2014

      • Freso
        warp: So it shouldn't be used anymore, right?
      • 2014-11-02 30615, 2014

      • Freso is poking at morituri's code, updating its MB links
      • 2014-11-02 30611, 2014

      • warp
        Freso: correct, mm.musicbrainz.org should not be used anymore for anything.
      • 2014-11-02 30632, 2014

      • warp
        (and that has been true since the v1 webservice I guess :)
      • 2014-11-02 30615, 2014

      • Freso
        I'm guessing some of morituri's codebase is pretty darn old. :)
      • 2014-11-02 30639, 2014

      • warp
      • 2014-11-02 30616, 2014

      • ruaok
        yep. old skool.
      • 2014-11-02 30620, 2014

      • Freso
        The code is also referring to python-musicbrainz2's examples dir...
      • 2014-11-02 30604, 2014

      • Freso
      • 2014-11-02 30630, 2014

      • LordSputnik has left the channel
      • 2014-11-02 30645, 2014

      • ariscop joined the channel
      • 2014-11-02 30624, 2014

      • JesseW joined the channel
      • 2014-11-02 30633, 2014

      • JesseW
        alastairp: what's the plan for generating the high-level acousticbrainz data?
      • 2014-11-02 30607, 2014

      • ianmcorvidae
        JesseW: it's generated from the low-level data, as I understand it, so it should be happening server-side
      • 2014-11-02 30624, 2014

      • ianmcorvidae
        (or so the pull request for acousticbrainz-server I reviewed would suggest, anyway)
      • 2014-11-02 30625, 2014

      • dufferzafar joined the channel
      • 2014-11-02 30631, 2014

      • JesseW
        ianmcorvidae: I know that, but AFAIK, it isn't being generated *yet* -- and I wondered what the plans were, if any.
      • 2014-11-02 30651, 2014

      • ianmcorvidae
        presumably getting something that generates it then starting it :)
      • 2014-11-02 30632, 2014

      • JesseW
        ianmcorvidae: heh. presumably using Essentia...
      • 2014-11-02 30601, 2014

      • ianmcorvidae
        yeah -- it's just waiting for the appropriate code to be finalized and a binary made
      • 2014-11-02 30654, 2014

      • ianmcorvidae
        (https://github.com/metabrainz/acousticbrainz-serv… if you're curious, re: how it's done
      • 2014-11-02 30657, 2014

      • ianmcorvidae
        )
      • 2014-11-02 30612, 2014

      • JesseW
        thanks
      • 2014-11-02 30641, 2014

      • ianmcorvidae
        (aside from the actual details of the calculation via essentia, given we're waiting on that)
      • 2014-11-02 30618, 2014

      • JesseW
        yeah, that's what I'm wondering about the estimated schedule for (if any)
      • 2014-11-02 30632, 2014

      • JonnyJD
        Freso: mm.mb.o is not unused for as long as you might thing. Until libdiscid 0.6.0 it was still used: http://tickets.musicbrainz.org/browse/LIB-53
      • 2014-11-02 30626, 2014

      • nikki
        it's not used for anything, it just redirects to the main server
      • 2014-11-02 30651, 2014

      • JonnyJD
        nikki: redirection *is* a use
      • 2014-11-02 30605, 2014

      • nikki
        no it's not
      • 2014-11-02 30609, 2014

      • JonnyJD
        like, if you would kill that redirection it would break
      • 2014-11-02 30637, 2014

      • nikki
        *other* people use it, sure, because their code is ancient
      • 2014-11-02 30639, 2014

      • nikki
        but *we* don't
      • 2014-11-02 30605, 2014

      • JonnyJD
        like I said, libdiscid was using that server until 2013 (libdiscid < 0.6.0)
      • 2014-11-02 30610, 2014

      • nikki
        by we I mean musicbrainz does not run anything on there, it's not even a server, it's just a redirect
      • 2014-11-02 30621, 2014

      • nikki
        other things are things that use musicbrainz, like libdiscid
      • 2014-11-02 30620, 2014

      • nikki
        just like ngs.musicbrainz.org and www.musicbrainz.org are redirects
      • 2014-11-02 30624, 2014

      • JonnyJD
        well yeah, apart from we have different definitions for "use", MusicBrainz doesn't do anything special at that "server" at all
      • 2014-11-02 30632, 2014

      • JonnyJD
        yep
      • 2014-11-02 30633, 2014

      • MBJenkins
        Ian McEwen: MBS-7962: rewriting of wikidoc links needed updating for schema-independent links
      • 2014-11-02 30641, 2014

      • Gentlecat joined the channel
      • 2014-11-02 30605, 2014

      • JesseW
        anyone remember the proper url parameters to pre-load artist gender?
      • 2014-11-02 30629, 2014

      • night199uk joined the channel
      • 2014-11-02 30632, 2014

      • nikki
        it's whatever the field name is
      • 2014-11-02 30611, 2014

      • nikki
        so probably something like edit-artist.gender
      • 2014-11-02 30637, 2014

      • night199uk joined the channel
      • 2014-11-02 30647, 2014

      • nikki
        (might have _id at the end, I can't be bothered to go check :P)
      • 2014-11-02 30626, 2014

      • ariscop
        how feasible would it be to have a recording<->medium relation?
      • 2014-11-02 30651, 2014

      • nikki
        it would involve quite a bit of work since it would be a schema change
      • 2014-11-02 30616, 2014

      • JesseW
        niki -- thanks!
      • 2014-11-02 30627, 2014

      • nikki
        what do you want a recording-medium relationship for anyway?
      • 2014-11-02 30646, 2014

      • ariscop
        nikki, tracklists for dj mixes
      • 2014-11-02 30644, 2014

      • nikki
        I'm not sure medium relationships are the best option there anyway, since there are can be multiple on a single medium
      • 2014-11-02 30607, 2014

      • nikki
        -are
      • 2014-11-02 30609, 2014

      • nikki
        the way I'd probably do it (also quite a bit of work :/) would be to make it possible to link multiple recordings in a single relationship
      • 2014-11-02 30657, 2014

      • ariscop
        that's more or less what a medium is though
      • 2014-11-02 30627, 2014

      • JesseW
        the field name is id-edit-artist.gender_id -- but it doesn't seem to work. Does it need to be a POSTed form?
      • 2014-11-02 30643, 2014

      • nikki
        that's the id, not the name
      • 2014-11-02 30607, 2014

      • JesseW
        ah, good point
      • 2014-11-02 30621, 2014

      • JesseW
        the name doesn't have the initial id- on it
      • 2014-11-02 30627, 2014

      • JesseW
        let me try that one
      • 2014-11-02 30629, 2014

      • nikki
        there's quite a few things where being able to link more than two things would be useful though, whereas dj-mixes are the only thing people ever seem to mention for mediums (and as I said, it's not even the best solution)
      • 2014-11-02 30630, 2014

      • nikki
        yeah
      • 2014-11-02 30652, 2014

      • ariscop
        actually yeah, that might be better
      • 2014-11-02 30657, 2014

      • ariscop
        https://wiki.musicbrainz.org/Podcast proposes about the same, but it means duplicating track; also needs it's own kind of relation (recording, recording, timestamp)
      • 2014-11-02 30622, 2014

      • ariscop
        well, the relation would be the duplication of track/medium
      • 2014-11-02 30656, 2014

      • JesseW
        What is the "Defaults" section mean when editing reports on http://reports.mbsandbox.org ?
      • 2014-11-02 30609, 2014

      • JesseW
        Does it allow for parameterized reports, or something else?
      • 2014-11-02 30616, 2014

      • ianmcorvidae
        parameterized reports
      • 2014-11-02 30629, 2014

      • ianmcorvidae
        via URL parameters
      • 2014-11-02 30640, 2014

      • ianmcorvidae
        it's under-documented :P my fault, as usual, but anyway
      • 2014-11-02 30647, 2014

      • JesseW
        neat.
      • 2014-11-02 30603, 2014

      • JesseW
        ianmcorvidae: is there an example?
      • 2014-11-02 30640, 2014

      • ianmcorvidae
      • 2014-11-02 30615, 2014

      • ianmcorvidae
        the defaults field for that one is {"series": "624570a2-b0b4-4b95-aedf-723ee75913e0", "artist": "0e85eb79-1c05-44ba-827c-7b259a3d941a"}
      • 2014-11-02 30652, 2014

      • JesseW
        and it is used in the sql like: %(series)s ?
      • 2014-11-02 30612, 2014

      • ianmcorvidae
        yeah -- you can override it with URL parameters, if they're not provided the defaults are used
      • 2014-11-02 30616, 2014

      • JesseW
        nice
      • 2014-11-02 30625, 2014

      • JesseW
        I have a use for that right now.
      • 2014-11-02 30651, 2014

      • JesseW
        and I've finished my report which uses parameters. Yay! (see my comments in
      • 2014-11-02 30654, 2014

      • JesseW
        #musicbrainz)