#musicbrainz

/

      • Rondom has quit
      • 2007-08-03 21511, 2007

      • cooperaa has quit
      • 2007-08-03 21525, 2007

      • demonhunter has quit
      • 2007-08-03 21550, 2007

      • rpedro has quit
      • 2007-08-03 21551, 2007

      • rpedro joined the channel
      • 2007-08-03 21545, 2007

      • Kerensky97 has quit
      • 2007-08-03 21553, 2007

      • lampneon has quit
      • 2007-08-03 21500, 2007

      • hawke_ joined the channel
      • 2007-08-03 21543, 2007

      • Knio has quit
      • 2007-08-03 21509, 2007

      • trollomat has quit
      • 2007-08-03 21549, 2007

      • Knio joined the channel
      • 2007-08-03 21557, 2007

      • aCiD2 has quit
      • 2007-08-03 21546, 2007

      • stochasticism joined the channel
      • 2007-08-03 21506, 2007

      • Jormangeud joined the channel
      • 2007-08-03 21541, 2007

      • Jormangeud^ has quit
      • 2007-08-03 21558, 2007

      • Amblin- joined the channel
      • 2007-08-03 21527, 2007

      • Amblin has quit
      • 2007-08-03 21554, 2007

      • cooperaa joined the channel
      • 2007-08-03 21553, 2007

      • cooperaa has quit
      • 2007-08-03 21508, 2007

      • shawn__ has quit
      • 2007-08-03 21539, 2007

      • chillware
        any ideas how I can scan a folder full of subfolders and return a list of folders with 3 or less files?
      • 2007-08-03 21534, 2007

      • dholmes
        ...write a program to do it. I can't think of any other way
      • 2007-08-03 21558, 2007

      • dholmes
        Erm
      • 2007-08-03 21502, 2007

      • dholmes
        Actually, are you using Windows?
      • 2007-08-03 21504, 2007

      • dholmes
        At least in Vista, you could add a "File count" column, sort by that column, and select the entries in question
      • 2007-08-03 21523, 2007

      • chillware
        xp
      • 2007-08-03 21535, 2007

      • dholmes
        I dunno if you can do that in XP or not
      • 2007-08-03 21538, 2007

      • chillware
        yea i am starting a vb script as we speak.. cant think of any other way
      • 2007-08-03 21527, 2007

      • Apollozeus joined the channel
      • 2007-08-03 21539, 2007

      • yllona has quit
      • 2007-08-03 21523, 2007

      • rpedro_ joined the channel
      • 2007-08-03 21559, 2007

      • rpedro has quit
      • 2007-08-03 21544, 2007

      • Aankhen`` joined the channel
      • 2007-08-03 21535, 2007

      • shawn__ joined the channel
      • 2007-08-03 21550, 2007

      • aCiD2 joined the channel
      • 2007-08-03 21538, 2007

      • Muz_ mooses in with a head of wet hair
      • 2007-08-03 21552, 2007

      • MrQwerty` joined the channel
      • 2007-08-03 21556, 2007

      • MrQwerty has quit
      • 2007-08-03 21549, 2007

      • MrQwerty joined the channel
      • 2007-08-03 21549, 2007

      • BrianFreud has quit
      • 2007-08-03 21525, 2007

      • yllona joined the channel
      • 2007-08-03 21507, 2007

      • _Tykling joined the channel
      • 2007-08-03 21533, 2007

      • Tykling has quit
      • 2007-08-03 21543, 2007

      • _Tykling
        _Tykling is now known as Tykling
      • 2007-08-03 21525, 2007

      • MrQwerty` has quit
      • 2007-08-03 21536, 2007

      • MrQwerty` joined the channel
      • 2007-08-03 21514, 2007

      • BrianFreud joined the channel
      • 2007-08-03 21551, 2007

      • MrQwerty has quit
      • 2007-08-03 21536, 2007

      • trollomat joined the channel
      • 2007-08-03 21532, 2007

      • MrQwerty joined the channel
      • 2007-08-03 21554, 2007

      • MrQwerty` has quit
      • 2007-08-03 21540, 2007

      • Jormangeud has quit
      • 2007-08-03 21559, 2007

      • Jormangeud joined the channel
      • 2007-08-03 21542, 2007

      • demonhunter joined the channel
      • 2007-08-03 21532, 2007

      • MrQwerty` joined the channel
      • 2007-08-03 21544, 2007

      • Jormangeud^ joined the channel
      • 2007-08-03 21553, 2007

      • yllona has quit
      • 2007-08-03 21531, 2007

      • MrQwerty has quit
      • 2007-08-03 21539, 2007

      • Rondom joined the channel
      • 2007-08-03 21538, 2007

      • Jormangeud has quit
      • 2007-08-03 21541, 2007

      • Rondom
        quick question. If I cancel one edit of a set of three edits the other edits aren't cancelled, right?
      • 2007-08-03 21524, 2007

      • Jormangeud^ has quit
      • 2007-08-03 21537, 2007

      • fragged has quit
      • 2007-08-03 21534, 2007

      • Jormangeud joined the channel
      • 2007-08-03 21556, 2007

      • MrQwerty joined the channel
      • 2007-08-03 21517, 2007

      • aCiD2
        Correct
      • 2007-08-03 21520, 2007

      • Rondom
        thanks
      • 2007-08-03 21526, 2007

      • MrQwerty` has quit
      • 2007-08-03 21555, 2007

      • luks joined the channel
      • 2007-08-03 21552, 2007

      • MrQwerty` joined the channel
      • 2007-08-03 21532, 2007

      • trollomat has quit
      • 2007-08-03 21510, 2007

      • MrQwerty has quit
      • 2007-08-03 21540, 2007

      • FauxFaux
        Huhu, migration from postgres8.1 to 8.2 time. How long could this possibly take? ¬_¬
      • 2007-08-03 21555, 2007

      • Rondom has quit
      • 2007-08-03 21501, 2007

      • trollomat joined the channel
      • 2007-08-03 21540, 2007

      • Muz
        FauxFaux, at least it's not MySQL.
      • 2007-08-03 21526, 2007

      • canidae
        FauxFaux: debian/ubuntu got some tools for that which is significantly faster than the oneliner you get from pg docs
      • 2007-08-03 21508, 2007

      • canidae
        heard some rumours that pg might add those tool to their project
      • 2007-08-03 21505, 2007

      • hawke_ has quit
      • 2007-08-03 21548, 2007

      • aCiD2
        Why Why WHY did I go 18 years without listening to any Aphex Twin?!
      • 2007-08-03 21559, 2007

      • aCiD2 is finally listening to Selected Ambient Works, Vol 2
      • 2007-08-03 21522, 2007

      • copper joined the channel
      • 2007-08-03 21528, 2007

      • copper
        Good afternoon
      • 2007-08-03 21552, 2007

      • aCiD2
        allo you
      • 2007-08-03 21508, 2007

      • copper
        Can somebody help me understand this please? http://musicbrainz.org/doc/DiscIDCalculation
      • 2007-08-03 21526, 2007

      • aCiD2
        What don't you understand?
      • 2007-08-03 21530, 2007

      • copper
        I don't understand how the SHA1 sum is computed exactly
      • 2007-08-03 21547, 2007

      • hawke_ joined the channel
      • 2007-08-03 21509, 2007

      • copper
        that, and the fact that the C code doesn't mention the leadout track, contrary to the explanation above
      • 2007-08-03 21549, 2007

      • aCiD2
        Are you trying to calculate DiscIDs, or just curious?
      • 2007-08-03 21557, 2007

      • copper
        trying to calculate it, yes
      • 2007-08-03 21503, 2007

      • aCiD2
        Why not use libdiscid then?
      • 2007-08-03 21535, 2007

      • copper
        I only know PHP and I have already implemented a FLAC library that handles metadata (not just vorbis comments)
      • 2007-08-03 21548, 2007

      • copper
        I already compute FreeDB discids
      • 2007-08-03 21502, 2007

      • aCiD2
        I see
      • 2007-08-03 21516, 2007

      • aCiD2
        I haven't done anything with Disc ID's, so I'm afraid I'm pretty useless :(
      • 2007-08-03 21524, 2007

      • copper
        the thing about the SHA1 computation is that with PHP I only have one function that takes a string as input
      • 2007-08-03 21556, 2007

      • copper
        but here, they use sha_update() and sha_final() - I don't understand what those do
      • 2007-08-03 21515, 2007

      • aCiD2
      • 2007-08-03 21524, 2007

      • ojnkpjg
        they're used to compute the hash piecemeal
      • 2007-08-03 21537, 2007

      • ojnkpjg
        you could just pass it all as one big string
      • 2007-08-03 21542, 2007

      • ojnkpjg
        probably faster to do it that way, really
      • 2007-08-03 21548, 2007

      • ojnkpjg
        no idea why the 100 sha_updates
      • 2007-08-03 21551, 2007

      • Gilgad joined the channel
      • 2007-08-03 21555, 2007

      • copper
        ojnkpjg: I did that, but I must be doing something wrong, because I don't get the same results
      • 2007-08-03 21536, 2007

      • copper
        what about the leadout track?
      • 2007-08-03 21503, 2007

      • copper
        the page says it feeds, among other things, the leadout track (I assume its *offset* is implied)
      • 2007-08-03 21515, 2007

      • copper
        but the C code doesn't reflect that - what's the deal?
      • 2007-08-03 21540, 2007

      • luks
        the lead-track is in FrameOffset[0]
      • 2007-08-03 21546, 2007

      • luks
        er, lead-out track
      • 2007-08-03 21521, 2007

      • copper
        luks: ah, do you know that for a fact?
      • 2007-08-03 21528, 2007

      • luks
        yes
      • 2007-08-03 21532, 2007

      • copper
        thank you
      • 2007-08-03 21518, 2007

      • aCiD2
        copper: It's sort of implied in the source code
      • 2007-08-03 21527, 2007

      • luks
        "Note that the leadout track is stored in pCDInfo->Frame­Offset[0] ." - from that page :)
      • 2007-08-03 21535, 2007

      • aCiD2
        or that :P
      • 2007-08-03 21556, 2007

      • copper
        luks: damn it, I missed that :P
      • 2007-08-03 21509, 2007

      • copper
        tired eyes
      • 2007-08-03 21512, 2007

      • luks
        reading ftw :)
      • 2007-08-03 21529, 2007

      • copper
        ok let's try this again
      • 2007-08-03 21543, 2007

      • copper goes back to his values
      • 2007-08-03 21521, 2007

      • copper
        wait, just to make it clear
      • 2007-08-03 21532, 2007

      • ojnkpjg
        shouldn't it read ->Frame[0]
      • 2007-08-03 21503, 2007

      • copper
        basically I concatenate the first tracknumber, the last tracknumber, the leadout offset, then the offset of each track, pad it with zeros until I reach 99 tracks
      • 2007-08-03 21513, 2007

      • luks
        yes
      • 2007-08-03 21524, 2007

      • ojnkpjg
        as hex
      • 2007-08-03 21528, 2007

      • luks
        uppercase
      • 2007-08-03 21535, 2007

      • ojnkpjg
        padded to two chars
      • 2007-08-03 21547, 2007

      • copper
        ojnkpjg: as raw hex, or as ASCII hex?
      • 2007-08-03 21551, 2007

      • ojnkpjg
        ascii
      • 2007-08-03 21501, 2007

      • ojnkpjg
        it's doing a printf %02X
      • 2007-08-03 21505, 2007

      • ojnkpjg
        sprintf
      • 2007-08-03 21505, 2007

      • copper
        "b3" and not "\xb3" then?
      • 2007-08-03 21510, 2007

      • luks
        B3
      • 2007-08-03 21515, 2007

      • copper
        sorry yes
      • 2007-08-03 21538, 2007

      • ojnkpjg
        oh, that doc page is out of sync with the wiki page
      • 2007-08-03 21550, 2007

      • ojnkpjg
        which has the Frame vs. FrameOffset thing fixed
      • 2007-08-03 21550, 2007

      • srotta
        What thing?-)
      • 2007-08-03 21512, 2007

      • ojnkpjg
        on the doc page it says the leadout offset is stored in pCDInfo->FrameOffset[0]
      • 2007-08-03 21525, 2007

      • ojnkpjg
        but the for loop is iterating through pCDInfo->Frame[i]
      • 2007-08-03 21533, 2007

      • ojnkpjg
        instead of FrameOffset
      • 2007-08-03 21544, 2007

      • shawn__ has quit
      • 2007-08-03 21545, 2007

      • srotta
        Um, no it's not, it's FrameOffset in the loop as well.
      • 2007-08-03 21501, 2007

      • ojnkpjg
      • 2007-08-03 21508, 2007

      • ojnkpjg
        }
      • 2007-08-03 21509, 2007

      • ojnkpjg
        sha_final(digest, &sha);
      • 2007-08-03 21537, 2007

      • ojnkpjg
        it's correct on the wiki page
      • 2007-08-03 21501, 2007

      • srotta
        ojnkpjg: I'm reading the same page, and it has FrameOffset :D
      • 2007-08-03 21511, 2007

      • ojnkpjg
        did someone just push an update, or something?
      • 2007-08-03 21548, 2007

      • ojnkpjg
        i'm still seeing Frame[