#musicbrainz

/

      • luks
        no need to write a parser when the browser already has one
      • brianfreud
        not when you need to convert that back to moin, or you want to be able to show post-edit HTML interpretation without submission
      • ie, offline-preview
      • lind joined the channel
      • aCiD2 joined the channel
      • Ralesk joined the channel
      • Ralesk
        hi, is there a way to get the release year for a release? I'm using the perl WebService::MusicBrainz
      • brianfreud
        there's a date node for each label node, you can parse just the first 4 characters from there
      • for each release node, I mean
      • Ralesk
        hmm
      • text_rep_script, release_event_list, track_list, score, artist, id, type, title, asin, text_rep_language, disc_list
      • these are all the fields I get
      • brianfreud
        toss a release-rels on your request
      • Ralesk
        sorry if I'm daft, but how do I do that?
      • brianfreud
        np
      • and actually, I think you want labels, not release-rels, let me check
      • luks
        release_event_list
      • is something in the list?
      • Ralesk
        I get a hash back, these are its keys
      • luks
        there should be dates
      • Ralesk
        I could take a look at what's in the release_event_list
      • luks
        along with other info, like country, catalog#
      • brianfreud
        luks, release_event_list?
      • luks
        brianfreud: he is not using the WS directly
      • brianfreud
        ah
      • but yes, once you're getting that, they're under release - release event list - event, attribute date
      • Shapeshifter has left the channel
      • Ralesk
        ah, thanks :) that's some deep digging there :)
      • Freso joined the channel
      • henkpoley joined the channel
      • Rondom has quit
      • and submitting data? not via the website, but for example through Perl or in any other programmatic manner. Is it possible and is there (good) documentation about it?
      • luks
        no, it isn't possible
      • Ralesk
        would have been cool... we're processing hundreds, if not thousands of CDs -- there are a bunch of them only on CDDB, some nowhere
      • luks
        and we don't want MB to end up like CDDB or FreeDB :)
      • for example you have to match artists to the right artist entities
      • not just submit artist names
      • so you couldn't just automatically add albums anyway
      • Ralesk
        Yeah, good point -- though here at least the moderation system helps keeping things tidy
      • warp
        Ralesk: with the current balance, i think we're more interested in ppl moderating than ppl _only_ adding new data into it.
      • Ralesk
        gotcha
      • brianfreud
        luks, quick question
      • in /<\/em>/ and /<em>/ is there some wierd syntax I'm accidentally tripping on without realizing?
      • luks
        I don't think so
      • brianfreud
        hmmm
      • have a very wierd bug
      • if, and only if, I have <strong><em>WORDS</strong> WORDS</em>, the </strong> in the middle, instead of turning only into ''', turns into ''''''''
      • it trips replace(/<\/strong>/g, "'''a"); which it ought to, but then it also trips replace(/<em>/g, "''c"); and replace(/<\/em>/g, "''d"); for '''b''cBold''d'''a''c Italics''d '''b''c
      • luks
        too many 's for me to parse the result :)
      • brianfreud
        since it's only ever that one tag, half tempted to just replace all '{8} with '{3}, but would rather figure out quite why it's happening
      • lol
      • FauxFaux
        French capitalisation standards make me sad.
      • brianfreud
        the tag in any other situation is fine, but just in that one case the match is really wierd
      • FauxFaux
        s/<em>/<strong>/ before you do it. :P
      • brianfreud
        that's just the text from the test suite I threw together many months ago - parsing '''s is turning out to be a pain :P
      • koolatron joined the channel
      • nikki_ joined the channel
      • nikki has quit
      • Kerensky97 joined the channel
      • ah, I see...
      • nikki_ has quit
      • nikki joined the channel
      • koolatron gets frustrated when picard takes tracks from one cluster and groups them into two or more different releases with the same name
      • koolatron
        (after scanning)
      • brianfreud
        Text::wiki closes every strong and em, then immediately reopens it again if it shouldn't actually have been closed - keeps the tags well nested - FireFox was reinterpreting to ignore the em tags in foo<close em><close strong><open em>bar
      • nikki has quit
      • nikki_ joined the channel
      • Infinito_ joined the channel
      • brianfreud adds two additional cases to cover it, code now happy :D
      • russss
      • Shapeshifter joined the channel
      • brianfreud
        :):)
      • xlotlu has quit
      • xlotlu joined the channel
      • brianfreud runs a 20 pass conversion from one to the other...
      • koolatron
        eh?
      • brianfreud
        Kind of sad... everything works so well now, it's better at HTML than text::wiki :P
      • my <li>s actually work :P
      • aCiD2 has quit
      • aCiD2 joined the channel
      • koolatron
        So, "saving" in Picard writes the tag information, yeah? Does Picard also keep its own database?
      • FauxFaux
        Yes, no.
      • koolatron
        So how's it remember "saved" metadata?
      • Clint
        it doesn't?
      • koolatron
        It does
      • I'm in the process of tagging a pretty large collection, most of which already has metadata
      • Picard crashed, I started it back up and scanned the directory, and it pulled the albums that I'd already saved up in the right pane
      • and everything else went into "unclustered files" over on the left.
      • Clint
        oh, yeah, it does that
      • Shapeshifter has left the channel
      • Infinito_ has quit
      • MClemo
        koolatron: every track that has the musicbrainz track id saved in its tag gets to the right pane afaik
      • koolatron
        Ah, okay
      • luks has quit
      • MClemo
        so if you remove the musicbrainz ids from your tags, they should get to the left pane. If you really want that
      • koolatron
        I don't :)
      • Although, a good portion of my music collection does not as of now have a PUID
      • MClemo
        it kind of sucks to add the PUIDs with picard anyway
      • such a stupid task
      • koolatron
        What would you suggest I do it with?
      • mudcrow
        but you need only do it once
      • koolatron
        Adding the PUIDs doesn't help *me*, just anyone else with that album :)
      • MClemo
        koolatron: do it with picard until there's something better doing it automatically perhaps
      • yeah, I did it too because I'm such a nice guy
      • koolatron
        I'm looking at Jaikoz right now, but i'm not sure it's better than picard
      • MClemo
        I even wrote me a little shell script to check for albums with no PUIDs
      • Tykling joined the channel
      • koolatron
        It's sluggish, but that's probably because I'm not doing this locally
      • MClemo
        never used Jaikoz
      • gioele joined the channel
      • mudcrow
        i tried Jaikoz ages ago, but after learning to use Picard, I couldnt be bother to learn a new tagging app, especially one i knew i wasnt going to use
      • koolatron
        It's not.. "bad"
      • if it's more stable than Picard, I'm down with it
      • I just want something that isn't going to require scads of babysitting
      • gioele
        Ihi
      • brianfreud has quit
      • brianfreud joined the channel
      • mudcrow
        if you're tagging files, you want to babysit, too much automation can result in thousands of incorrectly tagged files
      • MClemo
        and you're doing the tagging only once (updating later is easy)
      • koolatron
        That's true
      • I shouldn't have let my collection get to where it is
      • Shapeshifter joined the channel
      • Actually, it's not BAD, I'm pretty fastidious about tagging
      • But the entire 30k+ track collection needs to be reconciled with MB
      • I guess it's stupid to think that such a thing would be fast or easy ;)
      • MClemo
        it takes time if you want it to be perfect, i.e. correct errors on MB
      • took me months for not even 10k tracks
      • koolatron
        Yeah, I'll put this in the "continuing projects" pile
      • Tykling
        anybody feel like assisting me with voting down a wrong edit ? :)
      • UncleRemus
        I have a release with John Lee Hooker called the "The Classic Savoy Sessions". its a 2CD. The first disc is previously released on another label and is in MB as
      • Should I enter a new release for the doubledisc anyway?
      • Tykling: Which edit is it?
      • Tykling
      • MClemo
        you should give the guy a chance to cancel the edits
      • UncleRemus
        Yes, thre additional tracks that don't belong right?
      • Tykling
        right
      • UncleRemus
        MClemo: Yes, that's what I thought also. 2 "No":s now is a pretty good indication something is wrong. Hopefully he/she will react
      • Tykling
        seems fair, thanks
      • UncleRemus
        Tykling: Maybe leave a note to the edit?
      • Tykling
        I did :)
      • on the first one I pasted he also replied
      • UncleRemus
        Aha... I'll check again...
      • Ah sorry, didn't scroll enough
      • Hmmm I'm inclined to give him a "No" since he could have been more polite in his reply.
      • Tykling
        thats what I thought
      • UncleRemus
        MClemo: I think he's got more than a chance reading the notes.