#musicbrainz

/

      • D4RK-PH0ENiX joined the channel
      • 2015-03-02 06131, 2015

      • Nyanko-sensei joined the channel
      • 2015-03-02 06148, 2015

      • JesseW joined the channel
      • 2015-03-02 06130, 2015

      • The_Freso joined the channel
      • 2015-03-02 06114, 2015

      • JoeLlama joined the channel
      • 2015-03-02 06123, 2015

      • atsampson joined the channel
      • 2015-03-02 06142, 2015

      • pbryan joined the channel
      • 2015-03-02 06125, 2015

      • d4rkie joined the channel
      • 2015-03-02 06115, 2015

      • randybias joined the channel
      • 2015-03-02 06106, 2015

      • Audioburn joined the channel
      • 2015-03-02 06132, 2015

      • hibiscuskazeneko joined the channel
      • 2015-03-02 06106, 2015

      • KRSCuan joined the channel
      • 2015-03-02 06155, 2015

      • STalKer-X joined the channel
      • 2015-03-02 06111, 2015

      • randybias joined the channel
      • 2015-03-02 06104, 2015

      • cacabuzztoes joined the channel
      • 2015-03-02 06121, 2015

      • ujjwal joined the channel
      • 2015-03-02 06144, 2015

      • cacabuzztoes joined the channel
      • 2015-03-02 06131, 2015

      • Audioburn joined the channel
      • 2015-03-02 06155, 2015

      • simukis_ joined the channel
      • 2015-03-02 06143, 2015

      • shredpub joined the channel
      • 2015-03-02 06156, 2015

      • JesseW joined the channel
      • 2015-03-02 06144, 2015

      • yeeeargh joined the channel
      • 2015-03-02 06114, 2015

      • ruaok joined the channel
      • 2015-03-02 06102, 2015

      • simukis_ joined the channel
      • 2015-03-02 06125, 2015

      • WizJin joined the channel
      • 2015-03-02 06121, 2015

      • reosarevok joined the channel
      • 2015-03-02 06129, 2015

      • v6lur joined the channel
      • 2015-03-02 06102, 2015

      • simukis_ joined the channel
      • 2015-03-02 06148, 2015

      • CatCat
        Now grooving to: Nicholas Hooper ~ Professor Umbridge (2:32) (from Harry Potter and the Order of the Phoenix) (2007)
      • 2015-03-02 06114, 2015

      • Yurim joined the channel
      • 2015-03-02 06134, 2015

      • ruaok joined the channel
      • 2015-03-02 06149, 2015

      • chungy joined the channel
      • 2015-03-02 06104, 2015

      • madmouser1 joined the channel
      • 2015-03-02 06112, 2015

      • ruaok joined the channel
      • 2015-03-02 06103, 2015

      • reosarevok joined the channel
      • 2015-03-02 06130, 2015

      • simukis_ joined the channel
      • 2015-03-02 06111, 2015

      • Audioburn joined the channel
      • 2015-03-02 06144, 2015

      • simukis_ joined the channel
      • 2015-03-02 06131, 2015

      • ujjwal joined the channel
      • 2015-03-02 06124, 2015

      • jesus2099 joined the channel
      • 2015-03-02 06123, 2015

      • jesus2099
        JonnyJD_: Hi Jonny, if you’re here i have something that you must know
      • 2015-03-02 06153, 2015

      • jesus2099
        i think you know about it but i was wondering why we wouldn’t have any FreeDB→DiscID convertor, but it seems that the info that we have for the length of last track is not exact http://freedb.org/freedb/rock/570d1c08 for all tracks we can have the length in frame but for last track, where we can use the total length in second, we are missing the frames, the total length in frames+1 is then floored to lowest second…
      • 2015-03-02 06146, 2015

      • jesus2099
        it would explain why my little FreeDB importer i was writing was never matching our releases… — "# Disc length: N" in http://ftp.freedb.org/pub/freedb/latest/DBFORMAT
      • 2015-03-02 06136, 2015

      • mezod joined the channel
      • 2015-03-02 06119, 2015

      • hibiscuskazeneko joined the channel
      • 2015-03-02 06143, 2015

      • jesus2099
        i don’t know if you read the logs… it’s a pity their discid format is not storing either the total frame count or the last frame number instead of storing the total length in seconds (which is more human readable but what human is reading the raw data anyway)… this must have been covered already by many previous discussions…
      • 2015-03-02 06113, 2015

      • jesus2099
        btw “total frame count” or “the last frame number” means the same :) — see you next time, i thought you were here…
      • 2015-03-02 06102, 2015

      • DarkAudit joined the channel
      • 2015-03-02 06106, 2015

      • hibiscuskazeneko
        …I think I may have unintentionally stuck my foot in my mouth http://musicbrainz.org/edit/31916667
      • 2015-03-02 06146, 2015

      • johtso joined the channel
      • 2015-03-02 06106, 2015

      • Mineo
        want some ketchup?
      • 2015-03-02 06105, 2015

      • JonnyJD_
        jesus2099: not sure what you are talking about. When you just have the ID (either FreeDB or DiscID) you can't generate the other ID (without ID lookup on the server). Both IDs are or include hashes so are not reversible.
      • 2015-03-02 06104, 2015

      • JonnyJD_
        but the MB server has the full TOC so server-side a "conversion" somewhat works. Except that that the server has two different FreeDB IDs. One is the "real" CDDB ID which often has collisions (meaning there are multiple DiscIDs that match)
      • 2015-03-02 06102, 2015

      • JonnyJD_
        And the other one is a "fake" misc FreeDB ID that is just an encoding of the "medium ID (number)" on the MB server and a unique ID on the MB server
      • 2015-03-02 06138, 2015

      • JonnyJD_
        If you have the TOC or CD locally, you can calculate FreeDB and DiscID. That is what libdiscid does.
      • 2015-03-02 06102, 2015

      • JonnyJD_
        So I have no clue what you want with a FreeDB->DiscID converter. Without access to a full TOC (server or local) it doesn't work and with server access it is not necessarily unique
      • 2015-03-02 06106, 2015

      • hibiscuskazeneko joined the channel
      • 2015-03-02 06129, 2015

      • hibiscuskazeneko
        Mineo: I would, but I'm fresh out of hash browns.
      • 2015-03-02 06122, 2015

      • JonnyJD_
        you do know about http://musicbrainz.org/doc/FreeDB_Gateway I guess. Which is a search, not a lookup, since it is not unique.
      • 2015-03-02 06101, 2015

      • JonnyJD_
        I mean, there is a reason we are not just using FreeDB IDs.. they don't work very well
      • 2015-03-02 06130, 2015

      • Nyanko-sensei joined the channel
      • 2015-03-02 06102, 2015

      • JonnyJD_
        note that a FreeDB lookup does send the freeDB ID *and* the TOC so the results given by the FreeDB gateway are somewhat okay
      • 2015-03-02 06117, 2015

      • jesus2099 joined the channel
      • 2015-03-02 06124, 2015

      • jesus2099
        hi JonnyJD_:  ! :)
      • 2015-03-02 06154, 2015

      • jesus2099
        i was generating a TOC submission URL (which gives the DISCID MB style) from the mb.org/freedb/xxx/xxx page
      • 2015-03-02 06115, 2015

      • jesus2099
        but the last track would always be exact seconds, without remaining frames / milliseconds…
      • 2015-03-02 06102, 2015

      • JonnyJD_
        what?
      • 2015-03-02 06105, 2015

      • jesus2099
        i wanted to import complete track length (not only seconds) from that source… it could have been handy when no CD in hands
      • 2015-03-02 06132, 2015

      • JonnyJD_
        you have a TOC submission URL. Okay, normally that is a DiscID plus offsets/TOC.
      • 2015-03-02 06149, 2015

      • JonnyJD_
        what about mb.org/freedb now?
      • 2015-03-02 06100, 2015

      • JonnyJD_
        can you give an example?
      • 2015-03-02 06127, 2015

      • jesus2099
      • 2015-03-02 06136, 2015

      • jesus2099
      • 2015-03-02 06150, 2015

      • jesus2099
      • 2015-03-02 06116, 2015

      • jesus2099
        http://freedb.org/freedb/rock/570d1c08 is missing the last track lmengtgh we can only compute up to seconds, not frames if i understood completely
      • 2015-03-02 06139, 2015

      • jesus2099
        but there is another FreeDB request that could give me TOC ?
      • 2015-03-02 06119, 2015

      • JonnyJD_
        No, I don't know of any request.
      • 2015-03-02 06111, 2015

      • jesus2099
        Yes i’ve read their docs it seems they just don’t need that precision, they mostly care of the start of each track frame accurately but not the CD end
      • 2015-03-02 06124, 2015

      • jesus2099
        (only seconds)
      • 2015-03-02 06129, 2015

      • JonnyJD_
        what you need to do is use the FreeDB gateway with the information provided (given FreeDB TOC, which is inexact as you noticed) then get a list of results and choose the best
      • 2015-03-02 06142, 2015

      • reosarevok joined the channel
      • 2015-03-02 06154, 2015

      • JonnyJD_
        well, CDDB was never meant to be an input for other DBs or for other IDs
      • 2015-03-02 06105, 2015

      • JonnyJD_
        you just can't "calculate" a usable MB DiscID from FreeDB info
      • 2015-03-02 06113, 2015

      • jesus2099
        i’ve lost my time but not completely, now i know that there are 75 frames per seconds in an audio CD :) (it’s said to compute to the famous 44100 khz)
      • 2015-03-02 06123, 2015

      • JonnyJD_
        usable in a sense that you get the result you want (in general, you might be lucky sometimes)
      • 2015-03-02 06131, 2015

      • jesus2099
        yes, we can’t, but we are only missing ONE piece of information, a pity… ;)
      • 2015-03-02 06156, 2015

      • jesus2099 YES WE CAN'T
      • 2015-03-02 06157, 2015

      • JonnyJD_
        yes, that is why the FreeDB gateway works somewhat.
      • 2015-03-02 06101, 2015

      • JonnyJD_
        Didn't we have a way when adding a release by MB discid to use the track titles from FreeDB?
      • 2015-03-02 06111, 2015

      • jesus2099
        we do
      • 2015-03-02 06129, 2015

      • jesus2099
        but we would only set secondes… i was just looking for a way to get milliseconds for all tracks (i’m missing last track here)
      • 2015-03-02 06136, 2015

      • JonnyJD_
        this way works, because you have the full TOC so you can match TOC -> MB Discid *and* FreeDB ID
      • 2015-03-02 06130, 2015

      • JonnyJD_
        with that thing we are not using anything from FreeDB except titles. The TOC (with frames) comes from the user trying to add a release with MB Discid + TOC
      • 2015-03-02 06105, 2015

      • JonnyJD_
        meaning: the only good way to import from FreeDB is when you have the disc in your drive
      • 2015-03-02 06109, 2015

      • jesus2099
        from FreeDB we will not have full TOC, last track will only be in rounded to inferior second
      • 2015-03-02 06112, 2015

      • jesus2099
        yes
      • 2015-03-02 06131, 2015

      • jesus2099
        i was precisely doing stuf for when i don’t have disc in hands ;)
      • 2015-03-02 06128, 2015

      • JonnyJD_
        you have a link to a WIP of your "import from FreeDB" userscript?
      • 2015-03-02 06136, 2015

      • jesus2099 doesn’t usually use MB→my‐stuff (tagging) but rather my‐stuff→MB (storing info in the music encyclopedia)
      • 2015-03-02 06100, 2015

      • JonnyJD_
        you basically need to implement the CDDB protocol to check if the release is already in MB (and give the user a list, since it is not unique)
      • 2015-03-02 06116, 2015

      • jesus2099
        i have deleted it… it was hopeless… but it was almost same as my COPY_TOC code, just the parsing and compute varied a little
      • 2015-03-02 06139, 2015

      • jesus2099
        my user scripts was launched from https://musicbrainz.org/freedb/rock/570d1c08 and would add another button to lead to http://freedb.org/freedb/rock/570d1c08 and then compute
      • 2015-03-02 06139, 2015

      • JonnyJD_
        jesus2099: This is what you need to parse and list with your usercript: http://freedb.musicbrainz.org/~cddb/cddb.cgi?cmd=…
      • 2015-03-02 06152, 2015

      • JonnyJD_
        somethink like "if the release is already in that list.. don't import it from FreeDB"
      • 2015-03-02 06109, 2015

      • JonnyJD_
        reading that list is mandatory though to check if the release is already in MB
      • 2015-03-02 06144, 2015

      • jesus2099
        what is B20DEE0B ?
      • 2015-03-02 06148, 2015

      • JonnyJD_
        the FreeDB ID
      • 2015-03-02 06128, 2015

      • JonnyJD_
        note that the "misc" results have different (fake) FreeDB IDs
      • 2015-03-02 06133, 2015

      • JonnyJD_
        so for a "normal" CDDB result you would have the same FreeDB ID in the results but with different genres (instead of "misc")
      • 2015-03-02 06149, 2015

      • jesus2099
        all this CD stuff is interesting… :)
      • 2015-03-02 06119, 2015

      • JonnyJD_
        jesus2099: FYI: this is the same query when using FreeDB.org: http://freedb.freedb.org/~cddb/cddb.cgi?cmd=cddb+…
      • 2015-03-02 06133, 2015

      • JonnyJD_
        (freedb.org needs the handshake, our gateway doesn't) and the result looks like what I called a "normal" result
      • 2015-03-02 06137, 2015

      • JonnyJD_
        oh and that example is bad in terms of: that freeDB ID in the query doesn't match the TOC given in the query.. :-/
      • 2015-03-02 06138, 2015

      • loujine joined the channel
      • 2015-03-02 06141, 2015

      • JonnyJD_
        this would be the query with a correct FreeDB ID: http://freedb.freedb.org/~cddb/cddb.cgi?cmd=cddb+…
      • 2015-03-02 06127, 2015

      • jesus2099
        thank you for info, i’m always interested in CD stuff. but this thing is useful for track names but i take track names from my release or photos… ;) i was just looking for detailed track times.
      • 2015-03-02 06110, 2015

      • JonnyJD_
        and the same (corrected) query to our gateway: http://freedb.musicbrainz.org/~cddb/cddb.cgi?cmd=… (note the rock entry on the bottom, which is the only real FreeDB ID)
      • 2015-03-02 06132, 2015

      • JonnyJD_
        well, for track times you can forget about CDDB
      • 2015-03-02 06117, 2015

      • jesus2099
        JonnyJD_: in my setup, isrcsubmit.bat launches my editor with isrcsubmit.py… would it be harmful in general to call “python isrcsubmit.py” instead of “isrcsubmit.py” in that .bat file ?
      • 2015-03-02 06129, 2015

      • jesus2099
        « you can forget about CDDB » yes :)
      • 2015-03-02 06143, 2015

      • jesus2099
        (for *last* track time)
      • 2015-03-02 06147, 2015

      • JonnyJD_
        jesus2099: it does the same thing
      • 2015-03-02 06159, 2015

      • chirlu` joined the channel
      • 2015-03-02 06124, 2015

      • jesus2099
        It’s special probably to my PC to have *.py associated to an editor…
      • 2015-03-02 06127, 2015

      • JonnyJD_
        especially, just "isrcsubmit.py" might not work on every windows setup
      • 2015-03-02 06106, 2015

      • jesus2099
        so maybe it’s safer to be specific and call the “python.exe isrcsubmit.py”… ?
      • 2015-03-02 06131, 2015

      • Yurim joined the channel
      • 2015-03-02 06157, 2015

      • JonnyJD_
        well, if you just install python the normal way you even might have to doe "C:/Programs/Python/Python.exe isrcsubmit.py"..
      • 2015-03-02 06140, 2015

      • JonnyJD_
        Python doesn't install itself in the PATH either I think. (or add to the PATH)
      • 2015-03-02 06153, 2015

      • JonnyJD_
        from what I remembered that .bat file worked for me though
      • 2015-03-02 06156, 2015

      • jesus2099
        (i checked that option but) it was optional indeed…
      • 2015-03-02 06122, 2015

      • JonnyJD_
        hm, I don't even remember having such an option, but that was quite a while ago
      • 2015-03-02 06145, 2015

      • jesus2099
        maybe it’s better to leave it as is… i thought i asked (checked by default) python to associate *.py with itself but it seems that my emeditor settings kept its setting
      • 2015-03-02 06155, 2015

      • JonnyJD_
        so the bat file doesn't work for you out of the box?
      • 2015-03-02 06109, 2015

      • jesus2099
        no but it’s a special case…
      • 2015-03-02 06127, 2015

      • jesus2099
        before i told windows to open all *.py with emeditor, it would work.
      • 2015-03-02 06101, 2015

      • JonnyJD_
        not sure why you would associate *.py with an editor as default action. There is that "edit" action..
      • 2015-03-02 06128, 2015

      • JonnyJD_
        and with Vim I normally just install "edit with vim" to the context menu
      • 2015-03-02 06143, 2015

      • jesus2099
        i don’t remamber why… but i have just installed python… usually i just read *.py files to learn some stuff (in my editor) but i was/am not really using python…
      • 2015-03-02 06102, 2015

      • JonnyJD_
        yes... but don't do that :-D
      • 2015-03-02 06134, 2015

      • JonnyJD_
        you wouldn't do that with .exe files either (though they are not fun to read)
      • 2015-03-02 06131, 2015

      • jesus2099
        yeah yeah yeah… ;)
      • 2015-03-02 06133, 2015

      • chirlu`
        In a disassembler?
      • 2015-03-02 06104, 2015

      • chirlu`
        jesus2099, I finally intal
      • 2015-03-02 06115, 2015

      • chirlu`
        *installed the Super Mind Control.
      • 2015-03-02 06128, 2015

      • jesus2099
        omg, who will you remote conrtol, now ?
      • 2015-03-02 06141, 2015

      • chirlu`
        I had long been in doubt, because of the many components. :)
      • 2015-03-02 06155, 2015

      • jesus2099
        yes… it’s scary…
      • 2015-03-02 06104, 2015

      • chirlu`
        But it works fine so far.
      • 2015-03-02 06121, 2015

      • jesus2099
        but i had so many little scripts… i stil want to merge some others in there… but i don’t know…