#musicbrainz

/

      • Pipian
        I run the detection twice
      • But part of the detection
      • is so I can load multiple tag sets formt he same file.
      • ID3v1 + ID3v2
      • Especially good for faulty taggers that don't realize that certain filetypes don't GET ID3v2 tags.
      • wheels
        Yeah, that depends on the format here. FLAC and MP3 both support multiple tag types, so the API does too...
      • Pipian
        The other benefit
      • is that I can do composite tag-reading for the main fields
      • wheels
        TagLib does both. :-)
      • Pipian
        APE tag missing artist but ID3v2 has it? It'll return the artist in the ID3v2
      • wheels
        Yep, same here for ID3v1 and ID3v2 for instance.
      • Pipian
        I do that, but I layer it to include APE
      • wheels
        Well, I meant in mp3s...
      • Pipian
        some files I just dump, with the knowledge that no other tags should be in it
      • wheels
        ...since I don't support APE.
      • Pipian
        right
      • of course
      • but the point remains.
      • wheels
        Pipian: Yeah, that's encapsulated in the TagLib::File subclass -- i.e. TagLib::MPEG::File knows that it can have ID3v1 and ID3v2 tags and has a composite Tag subclass that returns the preferred values...
      • Pipian
        mmm
      • Well
      • My trick is finding software that needs what I provide
      • and then selling it ^_-
      • wheels
        Well, but here we're doing basically the same thing...
      • Pipian
        this is the problem
      • Two different methods of achieving the same goal
      • so we have little differences in our aims.
      • And since you're the older and more accepted of the two
      • I've got a feeling I'm probalby going to be overrun
      • jwatk03 has quit
      • wheels
        Well, most of my goals are biased from the perspective of desktop applications -- and at least in the KDE world I'm pretty influential...
      • Pipian
        You've been around longer
      • wheels
        But well, there's a lot of C software out there that probably wouldn't mind a more "native" API...
      • Pipian
        I've only started coding GPL stuff majorly in the past 12 months
      • GTK =P
      • wheels
        Well, except that the Mono guys like OOP. :-)
      • Pipian: But yeah -- hmm, let's see. I guess I started with GPL'ed stuff in 1999 or 2000...
      • Pipian
        <-- is only 17 so *shrug*
      • wheels is 23. :-)
      • And thus why you have the advantage
      • wheels
        Well, but I mean -- when you write stuff you learn loads.
      • Like even if your lib is "overrun" as you say like what you take out of that will be rather useful.
      • Pipian
        true\
      • and then there's id3lib
      • which is proof that OO doesn't always work =P
      • wheels
        Well, did you hear my story about it earlier?
      • Pipian
        I think I heard it in passing
      • that their OO is terrible and confusing?
      • wheels
        Well, that, but I don't think I said that. There was probably cursing.
      • Pipian
        perhaps
      • wheels
        Pipian: But I had an app using it for a while -- and started finding bugs, so I started fixing them. Before I knew it I was maintaining it. After about 6-12 months (it's all fuzzy now) I gave up, announced it "unmaintainable" and started writing TagLib. :-)
      • Pipian
        heh
      • wheels
        But that's part of why I feel like I got most of the interface right in TagLib -- I saw very much what was wrong with id3lib from an application programmers standpoint and tried to address that with TagLib.
      • Well, and also where I learned that docs are really important. id3lib's docs are terrible. As a result every public class, member, helper function, enum, enum value, etc. in TagLib is documented...
      • Pipian
        Mm
      • Indeed
      • no documetnation for libmetatag
      • but that's because I'm still working on it
      • I do some commenting in some of the lesser known specs though
      • wheels
        Pipian: You really have to document as you go. You'll forget what stuff does later. :-)
      • Pipian: (i.e. "start now")
      • Pipian
        Hehe
      • Well
      • That's easy enough to go back and do.
      • I think I'll dump the CDAudio features though.
      • wheels
        Plus it's really boring to try to do all at once. :-)
      • Pipian
        It's a pretty useless wrapper to be honest
      • wheels
        And likely won't happen since you'd rather, well, do stuff with the lib.
      • Pipian
        and why implement all of that again?
      • Plus Musicbrainz's features keep moving
      • wheels doesn't track them really. :-)
      • Go186K joined the channel
      • Go186K has quit
      • orogor
        orogor is now known as orogor|drunk
      • Go186K joined the channel
      • melange joined the channel
      • melange
        hello
      • Go186K
        hi
      • melange
        hows things?
      • Go186K
        going well. trying to install a copy of the database locally
      • melange
        "trying" .. :)
      • Go186K
        struggling to learn many things at once
      • melange
        ahh ..
      • melange nods
      • anything I can help with?
      • Go186K
        just stumbling along. finally got debian linux running (my only experience has been with redhat)
      • melange
        debian is good .. 'apt-get' is a god-send after using rpm
      • Go186K
        did a minimal install and keep finding I need additional packages.
      • yes, apt-get is great
      • melange
        I've moved to Gentoo now for my desktop system though - emerge is probably the equivalent of 'apt-get' except .. better. :)
      • gentoo can be an exercise in patience though, it compiles nearly everything fresh
      • sorry, sidetracking
      • Go186K
        my linux box is a piii/733 so gentoo would be a challenge
      • melange
        you could start with a stage3 install, which has most of the big things precompiled
      • Go186K
        but i'm ending up recompiling a bunch of stuff anyway (e.g. postgres)
      • melange
        anyway ..
      • oh? why?
      • Go186K
        the default package install doesn't have unicode support
      • melange
        Debian's Postgres doesn't have unicode support? That's a little surprising...
      • which version did you install?
      • did you install the system at "woody" level or at "sarge" level?
      • Go186K
        sarge, I think.
      • (me = linux n00b)
      • melange
        what's the output of 'dpkg -l postgresql' ?
      • Go186K
        sorry...this is my win32 box. using a kvm to get to the linux system...
      • melange
        ok, no stress
      • Go186K
        version shows as 7.4.2-4
      • melange
        yep, that's sarge/sid
      • odd .. whe you say it has no unicode support, what broke exactly?
      • Go186K
        I'm reading the 'INSTALL' instructions from MB and it says do a "pg_config --configure" and look for --enable-multibyte=UNICODE
      • melange
        I'm just looking at my sarge install of postgres .. if you run 'dpkg-reconfigure postgresql' one of the options is to select the type of encoding, UNICODE is one of those...
      • Go186K
        i'll do that then
      • thanks
      • melange
        additionally, unless things have changed in the last few months since I did an install (quite possible) then I was able to use Debian's default package to import the database with no problems
      • Go186K
        the reconfigure ran into some problems but I'll see what I can do. thanks for the info.
      • melange
        np, hope I didn't make things worse.
      • Go186K
        not worse. just helped me see i was going down the wrong path.
      • melange
        I'd only try recompiling postgres if something isn't working properly and you can track it back to that.
      • Go186K
        now my postmaster won't start (unknown reason). oh oh.
      • melange
        anything in the logs?
      • Go186K
        checking...
      • no
      • MostWanted has quit
      • I'm thinking of re-installing debian from scratch anyway so don't worry about it.
      • melange
        ok
      • duerra joined the channel
      • I was going to suggest taking the command that actually starts postgres and running it manually
      • the startup script dumps the output to /dev/null, which isn't generally helpful
      • Knio
        Knio is now known as Knio-gone
      • Go186K has quit
      • orogor|drunk has quit
      • duncf has quit
      • djce joined the channel
      • melange
        hi dave
      • djce
        ruaok: Good morning!
      • melange: hi
      • What a nice day it looks like it's going to be.
      • full of the joys of spring.
      • Good day for a database rebuild :-)
      • melange
        like what, hayfever? :)
      • djce
        I'm glad to say I'm not a sufferer
      • So far it's nice and cool; I hate it when it's too hot.
      • melange
        same here .. I can't think properly when it's too hot
      • djce
        Last summer when Europe was exceptionally hot (~35C IIRC) I took to running air hoses from the PC fans, and pointed the ends out of the window
      • which helped a lot :-)
      • melange
        we get weeks in the 35-40 degree range in summer
      • djce
        ouch
      • melange
        which was playing havoc on the hard drives in my home server, they'd hit about 60 degrees and startt having real problems
      • I've installed some hard-drive fans, but now it's winter so I'm not sure how effective they'll be
      • did you see my post about mirror servers?