#musicbrainz

/

      • luks
        aCiD2: first thing to do: add `PerlInitHandler Apache::StatINC` to your apache config
      • restarting apache on every change is extremly annoying
      • aCiD2
        :)
      • I put that in the vhost, yea?
      • luks
        yes
      • yalaforge
        hmm, didn't know that one
      • yalaforge has quit
      • inhouseuk has quit
      • Miles joined the channel
      • Miles
        i have a few cds with no tags at all
      • is it actually possible to tag them?
      • srotta
        Sure, as long as you know what they are (or someone else knows and has submitted PUIDs for them :P)
      • Miles
        i don't know what they are
      • i dunno. can't work the application out >_<
      • if it uses um, hash things, why do matches have a rating? o.o
      • Freso has quit
      • i have the right album on the screen now. i can't get it to save >_<
      • the button's greyed out
      • Freso joined the channel
      • Freso has quit
      • i found the cd on the website, it says the album has puids
      • but if i drop the files there none match :/
      • warp
        Miles: are you using picard, picardqt or the classic tagger?
      • Miles
        picard
      • warp
        ok
      • after you have done a lookup from picard once, will have opened a musicbrainz search in your browser.
      • as long as you don't close your browser, you should have green tagger icons on the site on every album. so look up the album you think it is, then click the green tagger button, which should send that information back to picard.
      • Miles
        yeah
      • then i drag the cd from clustered albums
      • onto that
      • right?
      • warp
        yes. if it's clustered
      • otherwise you can drag the directory directory from the browser pane.
      • directly
      • Miles
        ill try from there
      • nah still no matches
      • i guess it's just odd.
      • warp
        good luck. you might want to try picardqt btw, it's still alpha, but most users here seem to already prefer it over the old pciard.
      • s/pciard/picard/
      • Miles
        ah
      • toxickore joined the channel
      • well i run kde anyway
      • so yeah, i might
      • Muz joined the channel
      • Muz__ has quit
      • Muz has quit
      • toxickore has quit
      • drsaunde joined the channel
      • warp
        luks: doesn't picard use python-musicbrainz2 ?
      • BrianFreud joined the channel
      • luks
        no, it doesn't
      • BrianFreud
        hi guys :)
      • errorlevel
        luks: What does it use?
      • luks
        QHttp + QXml
      • hi brian
      • warp
        so, that requires qt4?
      • errorlevel
        Makes sense since it uses QT.....
      • luks
        warp: yes
      • BrianFreud
        hey luks, this may sound strange, but can you think of anything that would cause a single given release to just never load right in QT?
      • found one, tried from IE6, FF, regular server, uk server, etc
      • luks
        BrianFreud: look at comments on the ticket :)
      • warp
        luks: ok, so for my commandline mucking about i better use pymb2 then? :)
      • luks
        yes, for anything
      • picard uses pymb2 too
      • warp
        just wondering why picardqt doesn't.
      • luks
        but i rewrote to avoid threads
      • warp
        ah, right
      • luks
        er, *used
      • aCiD2
        Couldn't you have hacked pymb2 to be threadless or something?
      • luks
        no, because urllib doesn't support async sockets and the xml parser python uses can't do incremental parsing
      • aCiD2
        I see
      • luks
        python is slow enough on it's own, threads in python are even slower because you can have only one thread running python code at the same time
      • so async sockets are really the fastest solution
      • BrianFreud
        ok, found the bug ticket....
      • So a merged label was blocking the release from loading properly from the server?
      • fun :P
      • luks
        no, the release points to a label which doesn't exist
      • BrianFreud
        gotcha
      • luks
        which was caused by a merge, but I don't understand how exactly did it happen :/
      • BrianFreud
        ok, so maybe it was a indicator of something more than the "minor" issue I thought it was :P
      • luks
        yep, it's pretty serious issue
      • BrianFreud
        glad I reported it :)
      • almost figured it too minor to warrent a ticket
      • aCiD2
        ffs, textmate keeps freezing :(
      • warp
        yalaforge is the guy doing pymb2 ?
      • aCiD2
        yup
      • warp
        ok :)
      • aCiD2
        I did a bit on it too, but not much (gonna try and squash bugs as they appear though)
      • warp
        ah nice. from the bits of conversation i picked up earlier, i guess yalaforge just started on the label stuff?
      • Knio has quit
      • Knio1 joined the channel
      • aCiD2
        sort of, I contributed most of the label support
      • warp
        oh!
      • how usable is that? :)
      • aCiD2
        he's done some unit tests, and maybe some other stuff since my code was commited, but it's still quite new (only seems to support getById, but that may be a limitation of the XML Web Service)
      • Usable for my needs, depends what you want to do :)
      • warp
        i mostly just want to get at the catalog # when i have a release mbid
      • aCiD2
        You can do that
      • warp
        great
      • thanks :)
      • warp continues hacking
      • aCiD2
        hehe
      • I'm not sure if matt's docs are up to date, so you're best bet is to generate local docs from the source code
      • warp
        oh, another thing.
      • when i did the parsing myself in my evil php code, i stored local copies of all the xml i downloaded, as a sort of cache. I need something like that again for my tool, any idea what the best approach for that is with pymb2 ?
      • aCiD2
        hmm, so instead of accessing the online data, it would access a file?
      • BrianFreud
        oh, so you wrote that cue generator warp?
      • warp
        BrianFreud: erm.. no?
      • BrianFreud
        ah, thought that was the evil php code you meant :P
      • warp
        cue generator does sound evil though..
      • all of the interesting bits for which you would want a cue file have already been lost if you try to reconstruct it from other data.
      • aCiD2
        warp, http://bugs.musicbrainz.org/browser/python-musi... if you set netloc and path to be your filesystem, and changed http to file, that might work
      • But I'm not sure if urllib can read file://
      • aCiD2 has a gorgeous cuesheet parser
      • <3 pyparsing
      • warp
        aCiD2: hm, ok
      • aCiD2
        warp, or reimplement IWebService... there may be a better way, but i'm not sure
      • luks looks for his cached webservice from picard
      • warp
        aCiD2: ok,.. i'll ask again after i have a better feel of things :)
      • aCiD2
        :)
      • warp is quite new to python too... so meh.
      • warp
        aCiD2: does pymb2 enforce the 1 second between requests thing, or do i have to do that myself?
      • aCiD2
        I don't think it enforces that
      • warp
        ok :)
      • luks
        warp: http://rafb.net/p/t0Ur0A81.html - this is what picardqt used before i ported it to qhttp
      • it's basically a wrapper around pymb2's web service
      • but I'm not sure if you want just a cache, or store the xml files for archiving purposes
      • BrianFreud
        well, I've been playing - not too successfully - with trying to write an xml output plugin
      • would be useful for local database purposes
      • aCiD2
        XML Output for PicardQT?
      • BrianFreud
        yes
      • warp
        luks: i want to cache everything i lookup for a few weeks/months, until i look it up again.
      • BrianFreud
        have no python and very little idea how to write it though, so it's going... slow :P
      • aCiD2
        :)
      • warp
        luks: the idea is to have a commandline go over the entire library and update tags based on the existing mbids.
      • s/commandline/commandline tool/
      • srotta
        I
      • aCiD2
        warp, Picard can do that though?
      • srotta
        ... I've been thinking about that kind of tool as well, but I have the database handy, so I don't have to do those web service tihngies.
      • warp
        aCiD2: picard is not a commandline tool
      • aCiD2
        true :)
      • warp
        i have some other ideas too which i'd like to hack into it.
      • BrianG joined the channel
      • warp gets to the point where he should start adding comments to functions and think about the design of his code ;)
      • aCiD2
        hehe
      • warp
        luks: the code from your pastebin is copyright you and GPL? MIT/BSD?
      • luks
        originally GPL, but I hereby relicense it to WTFPL :)
      • warp
        thanks :)
      • aCiD2
        wtfpl?
      • luks
        google it ;)