#musicbrainz-devel

/

      • michaelj_ joined the channel
      • 2014-11-21 32543, 2014

      • adhawkins
        Any devs familiar with coverart here?
      • 2014-11-21 32558, 2014

      • adhawkins
        Making a request to 'http://coverartarchive.org/release/189d7863-a23c-49d9-ae7e-031b413b2805'
      • 2014-11-21 32507, 2014

      • adhawkins
        Then 'http://archive.org/download/mbid-189d7863-a23c-49d9-ae7e-031b413b2805/index.json'
      • 2014-11-21 32518, 2014

      • adhawkins
        The latter gives a 500 ISE in libcaa, but not if I do it in a browser...
      • 2014-11-21 32521, 2014

      • adhawkins
        Any thoughts?
      • 2014-11-21 32503, 2014

      • adhawkins
        It's the test.cc program in the tests directory of libcaa if anyone else could try it?
      • 2014-11-21 32532, 2014

      • adhawkins
        Hmm...something strange going on. It's working now...
      • 2014-11-21 32556, 2014

      • chirlu`
        Works for me, so probably a transient problem at the IA.
      • 2014-11-21 32519, 2014

      • Mineo
        the test program works here as well and the request it sends looks good in wireshark
      • 2014-11-21 32524, 2014

      • LordSputnik
        ianmcorvidae: I made http://tickets.musicbrainz.org/browse/MBH-387, I hope that's the right place for it!
      • 2014-11-21 32537, 2014

      • adhawkins
        Ok, thanks for checking guys.
      • 2014-11-21 32552, 2014

      • d4rkie joined the channel
      • 2014-11-21 32517, 2014

      • JesseW joined the channel
      • 2014-11-21 32555, 2014

      • LordSputnik has left the channel
      • 2014-11-21 32546, 2014

      • chirlu` has left the channel
      • 2014-11-21 32535, 2014

      • JesseW joined the channel
      • 2014-11-21 32512, 2014

      • JesseW
      • 2014-11-21 32533, 2014

      • ianmcorvidae
        alastairp: I think you did the toma.hk stuff, looks like it's doing something broken with unicode: http://acousticbrainz.org/60a2abef-6260-45ac-8ef5… (if you have any idea how to fix it)
      • 2014-11-21 32556, 2014

      • CallerNo6 joined the channel
      • 2014-11-21 32516, 2014

      • Freso
        It's an "&" that should be an "&", AFAICT.
      • 2014-11-21 32526, 2014

      • Freso fixes
      • 2014-11-21 32529, 2014

      • Freso
        Or maybe not. Maybe it's just that the tomahawk player isn't that CJK unicode friendly. :/
      • 2014-11-21 32517, 2014

      • Freso
        ianmcorvidae: Does it work for CJK characters elsewhere?
      • 2014-11-21 32542, 2014

      • ianmcorvidae
        I have no idea
      • 2014-11-21 32507, 2014

      • Freso
        I mean, for other MBIDs.
      • 2014-11-21 32543, 2014

      • Freso
        But I guess it's simple to mebed the toma.hk player into a quick HTML page to test the theory.
      • 2014-11-21 32545, 2014

      • Freso
        *embed
      • 2014-11-21 32517, 2014

      • ianmcorvidae
        I can't take tomahawk/playdar seriously since they seem to do everything via track/album/artist titles
      • 2014-11-21 32532, 2014

      • KRSCuan joined the channel
      • 2014-11-21 32501, 2014

      • KRS-Cuan joined the channel
      • 2014-11-21 32513, 2014

      • muesli
        ianmcorvidae: resolving via mbid is certainly an option, except that no service supports it
      • 2014-11-21 32536, 2014

      • muesli
        Freso: utf8 should be fine
      • 2014-11-21 32553, 2014

      • ianmcorvidae
        huh. it seems like beets at least should
      • 2014-11-21 32556, 2014

      • muesli
        Freso: ah you're directly using the embed. let me check that, we have a bigger upgrade for that coming
      • 2014-11-21 32525, 2014

      • muesli
        ianmcorvidae: if they do, i'm happy to integrate that. the problem exists at both ends tho
      • 2014-11-21 32534, 2014

      • muesli
        whoever provides metadata would then also need to provide the matching mbid
      • 2014-11-21 32539, 2014

      • muesli
        for us to be able to properly resolve it
      • 2014-11-21 32559, 2014

      • ianmcorvidae attempts to determine what the beets resolver supports :)
      • 2014-11-21 32515, 2014

      • JesseW joined the channel
      • 2014-11-21 32526, 2014

      • muesli
        ianmcorvidae: that's the spirit :)
      • 2014-11-21 32552, 2014

      • ianmcorvidae
        the 'resolve' function in https://github.com/tomahawk-player/tomahawk-resol… seems to only support artist/album/title
      • 2014-11-21 32539, 2014

      • muesli
        ianmcorvidae: yeah as i said, there's currently no such resovle method with mbid because i don't know a single service that supports it
      • 2014-11-21 32545, 2014

      • muesli
        but more than happy to integrate that
      • 2014-11-21 32531, 2014

      • ianmcorvidae
        ah, I see. the beets one at least presumably supports a bunch of things
      • 2014-11-21 32543, 2014

      • muesli
        it'd be a start yeah :)
      • 2014-11-21 32525, 2014

      • ianmcorvidae
        I suspect nobody deals with MBID redirects all that well though, heh, even MB projects aside from the main server don't really deal well with those
      • 2014-11-21 32518, 2014

      • muesli
        heh
      • 2014-11-21 32545, 2014

      • muesli
        anyway, just wanted to point out we (tomahawk) would love to do all our resolving using sane mbids instead of strings
      • 2014-11-21 32552, 2014

      • muesli
        it'd make a ton of things a whole lot easier for us
      • 2014-11-21 32505, 2014

      • ianmcorvidae
        alright. oh. should also do this -- sampsyo ^ you may be interested to hear this :)
      • 2014-11-21 32540, 2014

      • ianmcorvidae
        (I don't actually use beets or tomahawk myself, hence having trouble finding a lot of this stuff)
      • 2014-11-21 32525, 2014

      • ianmcorvidae
        oh, and I'm quite sure at least acousticbrainz will happily pass toma.hk MBIDs
      • 2014-11-21 32528, 2014

      • ianmcorvidae
        obviously :)
      • 2014-11-21 32547, 2014

      • muesli
        heh :)
      • 2014-11-21 32516, 2014

      • ruaok joined the channel
      • 2014-11-21 32557, 2014

      • ariscop joined the channel
      • 2014-11-21 32500, 2014

      • ariscop joined the channel
      • 2014-11-21 32524, 2014

      • KRS-Cuan joined the channel
      • 2014-11-21 32548, 2014

      • ruaok
        alastairp: we should scheme which talks we want to attend.
      • 2014-11-21 32501, 2014

      • alastairp
        oh, if you want
      • 2014-11-21 32506, 2014

      • alastairp
        I've been doing it just-in-time
      • 2014-11-21 32514, 2014

      • alastairp
        there's no other way I can choose otherwise
      • 2014-11-21 32522, 2014

      • ruaok
      • 2014-11-21 32530, 2014

      • ruaok
      • 2014-11-21 32536, 2014

      • ruaok
        both look interesting.
      • 2014-11-21 32539, 2014

      • ruaok
        (at least to me)
      • 2014-11-21 32551, 2014

      • alastairp
        haha, of couse you'd like that first one :)
      • 2014-11-21 32556, 2014

      • ruaok
        the linking one might be good for learning how to rope new datasets into the fold.
      • 2014-11-21 32530, 2014

      • ruaok
        and I'm doing the intros on the ethics track -- now sure if I am also doing the questions at the end of the sessions.
      • 2014-11-21 32540, 2014

      • ruaok
        I hope not. I want to attend other tracks.
      • 2014-11-21 32523, 2014

      • alastairp
        most of the sessions I went to the speaker has done questions
      • 2014-11-21 32537, 2014

      • ruaok
        yeah, someone is supposed to run the mic around.
      • 2014-11-21 32538, 2014

      • alastairp
        as long as there's a staff member to walk the mic around
      • 2014-11-21 32553, 2014

      • ruaok
        yeah, as long as that that isn't me, I'm quite happy.
      • 2014-11-21 32532, 2014

      • ruaok
        but I'm going to get over there and see if I can see the three stooges start the day.
      • 2014-11-21 32545, 2014

      • ruaok
        cuz, I'm pathetic like that
      • 2014-11-21 32554, 2014

      • alastairp
        heh
      • 2014-11-21 32500, 2014

      • alastairp
        yeah, I'm just finishing up breakfast
      • 2014-11-21 32507, 2014

      • alastairp
        see you there
      • 2014-11-21 32501, 2014

      • xram
        thanks Freso and ianmcorvidae for the covers!
      • 2014-11-21 32524, 2014

      • ruaok
        alastairp: great
      • 2014-11-21 32533, 2014

      • outsidecontext joined the channel
      • 2014-11-21 32514, 2014

      • jesus2099 joined the channel
      • 2014-11-21 32553, 2014

      • Mineo
        ianmcorvidae, alastairp: the tomahawk unicode stuff is https://bugs.tomahawk-player.org/browse/THK-92
      • 2014-11-21 32516, 2014

      • Mineo
        oh, and muesli as well: ^
      • 2014-11-21 32510, 2014

      • alastairp
        ianmcorvidae: did you report it?
      • 2014-11-21 32511, 2014

      • Freso
        alastairp: Report what?
      • 2014-11-21 32542, 2014

      • Freso
        alastairp: The toma.hk player thing?
      • 2014-11-21 32524, 2014

      • Gentlecat joined the channel
      • 2014-11-21 32502, 2014

      • yeeeargh joined the channel
      • 2014-11-21 32521, 2014

      • ijabz joined the channel
      • 2014-11-21 32559, 2014

      • ijabz joined the channel
      • 2014-11-21 32500, 2014

      • The_Freso joined the channel
      • 2014-11-21 32555, 2014

      • moogster joined the channel
      • 2014-11-21 32544, 2014

      • moogster
        Hi all!
      • 2014-11-21 32510, 2014

      • FresoFenderson joined the channel
      • 2014-11-21 32551, 2014

      • ariscop joined the channel
      • 2014-11-21 32520, 2014

      • alastairp
        Freso: yes. I know there's one for tomahk now, but it's worth us fixing it
      • 2014-11-21 32535, 2014

      • alastairp
        and on monday I'm not going to remember something from 3 days ago
      • 2014-11-21 32551, 2014

      • Freso
        alastairp: I'm not sure we *can* fix it.
      • 2014-11-21 32511, 2014

      • alastairp
        sure we can. we can unidecode names before we pass it to tomahawk
      • 2014-11-21 32541, 2014

      • alastairp
        just because you don't think we can, it doesn't mean we shouldn't look into it
      • 2014-11-21 32538, 2014

      • Freso
        Hey, I'm not saying ianmcorvidae shouldn't file a ticket.
      • 2014-11-21 32537, 2014

      • JonnyJD
        what do we have to do with tomahawk and what do we send there that isn't a bytestream?
      • 2014-11-21 32543, 2014

      • Freso
      • 2014-11-21 32516, 2014

      • JonnyJD
        ah okay, but that is a bytestream, right?
      • 2014-11-21 32535, 2014

      • JonnyJD
        so we can't just "not encode" it. But we need to use urlencoding or something *and* some kind of string encoding, right?
      • 2014-11-21 32532, 2014

      • Mineo joined the channel
      • 2014-11-21 32543, 2014

      • JonnyJD
        alastairp: I would start using urllib.quote_plus() and see if that helps already with the tomahawk problem
      • 2014-11-21 32541, 2014

      • JonnyJD
        not sure if I can test that myself, since I don't know how fast I can setup an acousticbrainz test server
      • 2014-11-21 32548, 2014

      • JonnyJD
        TBH i have no clue how I get that to work that repository at all :-D
      • 2014-11-21 32522, 2014

      • JonnyJD
        looks like flask, and I don't have a clue about flask
      • 2014-11-21 32542, 2014

      • Mineo
        you need to clone the repository and then use admin/setup.sh in the admin folder to setup the db
      • 2014-11-21 32546, 2014

      • JonnyJD
        Mineo: but I don't have to download the complete db, right?
      • 2014-11-21 32532, 2014

      • JonnyJD is a bit tight on space..
      • 2014-11-21 32524, 2014

      • Mineo
        no, you don't need the complete db
      • 2014-11-21 32540, 2014

      • JonnyJD
        cool, trying it then
      • 2014-11-21 32531, 2014

      • Mineo
        you can just generate a json file by running the extractor manually and then submit it to your locally running server with "curl -d @<json-file-name> localhost:8080/<track-mbid-here>/low-level"
      • 2014-11-21 32505, 2014

      • JonnyJD
        thx
      • 2014-11-21 32545, 2014

      • Freso
        JonnyJD: I have a PR with a slightly fleshed out README you can follow for install instructions.
      • 2014-11-21 32549, 2014

      • Freso
        In abz-server.
      • 2014-11-21 32547, 2014

      • Freso
        It doesn't mention how to do the db, but that's mostly because there are no db dumps yet. Rob has a smaller db dump available, but you should also be able to hack -client to submit to your local test server.
      • 2014-11-21 32556, 2014

      • JonnyJD
        Freso: thanks, although I got that far by now already :-D
      • 2014-11-21 32518, 2014

      • JonnyJD
        except I was calling server.py inside acousticbrainz folder
      • 2014-11-21 32532, 2014

      • JonnyJD
        still missing the css somehow, at least it looks like missing all formatting
      • 2014-11-21 32553, 2014

      • JonnyJD
        yes, everything from /static gives 404, regardless of me doing "python2 acousticbrainz/server.py" or just "python2 server.py" (not that this is relevant for my tests.. though)
      • 2014-11-21 32519, 2014

      • Freso
        Everything? Or CSS?
      • 2014-11-21 32529, 2014

      • Freso
        For CSS, you need to compile the less.
      • 2014-11-21 32503, 2014

      • JonnyJD
        oh, yes. non-css only gives 304, not 404
      • 2014-11-21 32504, 2014

      • JonnyJD is not doing the less stuff for now, doesn't really matter
      • 2014-11-21 32522, 2014

      • Freso
        JonnyJD: Do you have the db running?
      • 2014-11-21 32540, 2014

      • JonnyJD
        "essentia_build_sha' was not found in submitted data" is that something introduced later or because of not using abzsubmit?
      • 2014-11-21 32549, 2014

      • JonnyJD
        Freso: yes, db and server running
      • 2014-11-21 32534, 2014

      • JonnyJD
        (self-built essentia, same commit as the first linux binary released)
      • 2014-11-21 32534, 2014

      • JonnyJD tries fixing a abzsubmit conf that submits to localhost
      • 2014-11-21 32545, 2014

      • reosarevok joined the channel
      • 2014-11-21 32537, 2014

      • Freso
        JonnyJD: I tihnk the build_sha is part of the JSON file generated by the submitter and not part of the essentia output.
      • 2014-11-21 32542, 2014

      • Freso
        *think
      • 2014-11-21 32544, 2014

      • JonnyJD
        Mineo: submitting per curl doesn'
      • 2014-11-21 32548, 2014

      • JonnyJD
        t work
      • 2014-11-21 32510, 2014

      • JonnyJD
        submitting per abzsubmit (changing [acousticbrainz] host) works
      • 2014-11-21 32524, 2014

      • Mineo
        it did work for me
      • 2014-11-21 32557, 2014

      • Mineo
        but if abzsubmit works, then everything's okay :)
      • 2014-11-21 32513, 2014

      • JonnyJD
        hm, were you using the essentia-acousticbrainz from AUR or something different?
      • 2014-11-21 32558, 2014

      • JonnyJD will check that out later
      • 2014-11-21 32545, 2014

      • Mineo
        no, a locally built one - `git describe HEAD` prints "v2.1_beta2-3-gd5e3a6e"
      • 2014-11-21 32507, 2014

      • JonnyJD
        Mineo: so you have a later build, possibly that includes the build_sha by itself (notes that for later to check)
      • 2014-11-21 32547, 2014

      • JonnyJD
        anyways, thanks guys, I have a running acousticbrainz server now and will check out that encoding problem
      • 2014-11-21 32554, 2014

      • Freso
        JonnyJD: Also, if essentia-acousticbrainz is still using the Git SHA of the original Linux "release", it probably ought to get updated anyway...