#musicbrainz

/

      • ruaok
        hiya
      • pbryan has left the channel
      • Muzzz
        The most productive thing I did today was http://mustaqila.servehttp.com/temp/delivery.html
      • Muzzz is soooo not a slacker
      • pbryan joined the channel
      • CatCat
        uuhhh. wtf url and real url?
      • ruaok
        xkcd -> questionable content. qc -> dino comics, dino comics -> xkcd
      • nice. :)
      • CatCat
        sprøtt!
      • they all collaborated in makign people go "wtf?"
      • phatmonkey
        submitted one of my musicbrainz gsoc proposals...
      • pbryan
        phatmonkey: Congrats!
      • phatmonkey
        it's for the javascript
      • pbryan looks forward to benefiting from the work GSoC winner(s(' work.
      • if I have time I'll submit one for mb_server too, I feel I have a better chance with that because it fits my areas of expertise better
      • pbryan
        To make the JS work?
      • phatmonkey
        yuh basically
      • rewrite it
      • pbryan
        That would be nice.
      • It only "kinda" works.
      • Creap has quit
      • CatCat
        oooh, thenext xkcd will be 404
      • :o
      • pbryan
        With WS::MB, how to compute DiscID?
      • srotta has quit
      • ruaok
        use libdiscid
      • luks has quit
      • phatmonkey has quit
      • pbryan
        So, it's not in the MB library anymore?
      • symphonick
        pbryan: Den EFF är en grundande så pass beskyddar elektronisk rättigheterna av medborgarskap om Förenta Staternas. => That EFF is a founding about so protects electronic the rights of citizenship about the United States'.
      • Interesting ;-)
      • pbryan
        Well, I don't actually speak Swedish.
      • I was just trying to fit in.
      • ruaok
        pbryan: its a separate lib now
      • pbryan
        ruaok: In Perl?
      • ruaok
        C
      • pbryan
        Okay. Thanks.
      • CatCat
        I C whut U did thar.....
      • natta!
      • symphonick
        pbryan: It's OK, I don't expect Swedish to be the official language of MB before the next server upgrade. You'll have time to practice.
      • pbryan
        symphonick: :)
      • ruaok: Any suggestions for Perl?
      • ruaok
        write a binding?
      • pbryan
        Doh!
      • I was afraid you'd say that..
      • Write a Perl module?
      • ruaok
        yep
      • that calls libdiscid.
      • should be simple since there are only a handful of calls
      • pbryan agrees.
      • canidae: ping!
      • niklas
        ruaok: I'm a bit stuck with my proposal
      • thinking about the tool to automatically add releases
      • ruaok
        ok
      • niklas
        not sure how to do it without using too much resources. perhaps I should so some trade-off to gain performance
      • ruaok
        why do you say that?
      • tell me why you think it will take too many resources
      • [ZeRO] joined the channel
      • Freso has quit
      • niklas
        Ben Chobot is one of the guys who replied to my e-mail with the proposal. He wrote about a website he made that does what I want to do. He use a tool to generate a XML file containing title, artist, album, PUID etc. And then on the server side he tried to figure out which releases the songs belong to
      • he wrote that these operations are expensive. and I think perhaps they are too expensive. have not done much research yet, but he sent me a lengthy e-mail describing how he is doing it
      • ruaok
        yes, that should not be done server side.
      • we should provide a means to to say: add this MBID to my collection.
      • how that MBID for a release is gathered is up to the user. perhaps picard can help there.
      • niklas
        I'm thinking it would have to be done either like he is doing it - or another way could be to just extract artist, album, song count, year and perhaps something more to match directly with releases. this would only be reliable if the user has properly tagged music
      • ah
      • ruaok
        makes it a lot simpler, doesn't it? :)
      • niklas
        hmm so instead it would send lots of queries?
      • BrianFreud
        Why not just pull the mbid out of the files, then submit those to the server?
      • ruaok
        BrianFreud: yep. punt the mbid determination onto the client.
      • BrianFreud
        I have a python script someone (I forget the name, and he vanished from in here months ago) wrote for me; extracts the mbid and the time -
      • I then give that to FauxFaux's server, it gives me the release and track rowids, so I can do time dumps.
      • ruaok
        niklas: we should have it support adding more than 1 id in one call.
      • BrianFreud
        But the same ought to be possible to just pull all mbids and submit those to your server to handle
      • niklas
        ahhh I think I see
      • is the PUID identical for e.g. each physical CD release?(each song on it)
      • ruaok
        it should be.
      • but that depends on the rip.
      • but puids sholdn't factor into your feature at all, should they?
      • BrianFreud
        danderson, that was the person: script is short: http://musicbrainz.pastebin.com/m11994103
      • ruaok
        unless you're attempting to keep track of which releases and which tracks the user has.
      • niklas
        or for example if one song is released as a single and is also included in an album - and later perhaps even on a greatest hits CD... these three copies wont have the same PUID?
      • ruaok
        but I think the latter is not as key, imho
      • niklas: they should have the same puid.
      • BrianFreud
        theoretically, assuming there's no remastering / over-dynamic compression / etc
      • niklas
        ruaok: hmm shouldnt it? I might have misunderstood PUID
      • ruaok
        if its the same track, it should have the same puid.
      • regardless of where it was released.
      • niklas
        ok
      • ruaok
        think puid as a fuzzy hash
      • niklas
        like a hash of the information about the song?
      • BrianFreud
        it's an accoustic fingerprint - yes... assuming the other release doesn't totally fuxor the file (stretch/slow the time 6+ second, overcompress, etc)
      • ruaok
        yep
      • niklas
        aha ok
      • BrianFreud
        (and yes, we have one Brazilian Nirvana release where they put one track on at 2x speed :P)
      • canidae
        ruaok: pong
      • ruaok
        canidae: read your mail.
      • niklas
        haha
      • hmm but I still have to figure out which release songs belong to?
      • BrianFreud
        mbids...
      • ruaok
        niklas: not your job.
      • niklas
        oh. I will read up on mbids. this is new to me
      • ruaok
        we have mbids for artist, releases and tracks.
      • and your "my collection" feature will simply keep track of a list of release mbids for each user.
      • that's it.
      • niklas
        ah. but lets say a user has an album with 7 songs. how do you know the mbid of these 7 songs?
      • one puid can have several mbids?
      • ruaok
        one puid should only ever resolve to one track mbid.
      • and if you have an album with 7 songs, assume that the user will tag them with Picard.
      • picard embeds mbids (all three) into the mp3s.
      • if we provide a tool, like BrianFreud was saying, to read those ids and submit them to the server, we're done.
      • Kanmu has quit
      • BrianFreud: do you have a few minutes to do some simple photoshop work?
      • niklas
        true. sounds good
      • BrianFreud
        (would be extra bonus cool if it pulled puids too:P)
      • ruaok
        what would it do with those puids?
      • BrianFreud
        ruaok sure
      • ruaok
        can you please take the metaweb logo from http://metaweb.com and doctor it so its suitable for our customers page?
      • BrianFreud
        well, if it is scanning files to pull mbids from tags, not hard to pull the puids and just dump the pairs to MB, right?
      • ruaok
      • niklas
        Im confused though. I thought you wrote that a song that exist on several releases have one PUID. I will read up on this :)
      • ruaok
        yup.
      • PUID != MBID
      • niklas
        thank you for the help. sorted things out
      • ruaok
        np
      • outsidecontext
        niklas: a puid is a fingerprint that should be the same for one audio recording, no matter where it was released
      • the mbid for a track identifies exatcly one track on a specific release
      • niklas
        outsidecontext: ah. but songs have a puid and releases(albums, singles etc) has a mbid?
      • ohh
      • BrianFreud
      • ruaok
        shit, where did you find that?
      • outsidecontext
        no, the song (that is the song's audiodata) has a puid, and the song has a mbid
      • BrianFreud
        the source to their page
      • ruaok
        that's perfect. :)
      • BrianFreud
        :)
      • ruaok
        duh. :)
      • outsidecontext
        niklas: a mbid just identifies one entity, think of it as a database primary key
      • niklas
        I see. thank you!
      • makes things so much easier
      • ruaok
        doesn't it?
      • yllona
        BrianFreud: back to my current obsession with charlie chaplin and "smile" from the film "modern times" -- the soundtrack from the URL (soundtrackcollectors.com) is a 1971 release, confirmed by a music librarian at LAPL central library
      • BrianFreud
        which one?
      • yllona
        it would appear that there was no release of the soundtrack contemporary of the film
      • BrianFreud
        there were 3 UA LPs there, iirc
      • not altogether surprising
      • yllona
        they're all much later than the filem.
      • LAPL cited the soundtrack collectors site
      • BrianFreud
        lol
      • I would caution though... SC is a great resource, but frequently wrong and/or incomplete
      • I wouldn't entirely rule out there still having been a reel release - SC doesn't list any of those.