Now grooving to: Nicholas Hooper ~ Professor Umbridge (2:32) (from Harry Potter and the Order of the Phoenix) (2007)
Yurim joined the channel
ruaok joined the channel
chungy joined the channel
madmouser1 joined the channel
ruaok joined the channel
reosarevok joined the channel
simukis_ joined the channel
Audioburn joined the channel
simukis_ joined the channel
ujjwal joined the channel
jesus2099 joined the channel
jesus2099
JonnyJD_: Hi Jonny, if you’re here i have something that you must know
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…
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…
btw “total frame count” or “the last frame number” means the same :) — see you next time, i thought you were here…
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.
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)
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
If you have the TOC or CD locally, you can calculate FreeDB and DiscID. That is what libdiscid does.
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
but there is another FreeDB request that could give me TOC ?
JonnyJD_
No, I don't know of any request.
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
(only seconds)
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
reosarevok joined the channel
well, CDDB was never meant to be an input for other DBs or for other IDs
you just can't "calculate" a usable MB DiscID from FreeDB info
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)
JonnyJD_
usable in a sense that you get the result you want (in general, you might be lucky sometimes)
jesus2099
yes, we can’t, but we are only missing ONE piece of information, a pity… ;)
jesus2099 YES WE CAN'T
JonnyJD_
yes, that is why the FreeDB gateway works somewhat.
Didn't we have a way when adding a release by MB discid to use the track titles from FreeDB?
jesus2099
we do
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)
JonnyJD_
this way works, because you have the full TOC so you can match TOC -> MB Discid *and* FreeDB ID
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
meaning: the only good way to import from FreeDB is when you have the disc in your drive
jesus2099
from FreeDB we will not have full TOC, last track will only be in rounded to inferior second
yes
i was precisely doing stuf for when i don’t have disc in hands ;)
JonnyJD_
you have a link to a WIP of your "import from FreeDB" userscript?
jesus2099 doesn’t usually use MB→my‐stuff (tagging) but rather my‐stuff→MB (storing info in the music encyclopedia)
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)
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
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.
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 ?
« you can forget about CDDB » yes :)
(for *last* track time)
JonnyJD_
jesus2099: it does the same thing
chirlu` joined the channel
jesus2099
It’s special probably to my PC to have *.py associated to an editor…
JonnyJD_
especially, just "isrcsubmit.py" might not work on every windows setup
jesus2099
so maybe it’s safer to be specific and call the “python.exe isrcsubmit.py”… ?
Yurim joined the channel
JonnyJD_
well, if you just install python the normal way you even might have to doe "C:/Programs/Python/Python.exe isrcsubmit.py"..
Python doesn't install itself in the PATH either I think. (or add to the PATH)
from what I remembered that .bat file worked for me though
jesus2099
(i checked that option but) it was optional indeed…
JonnyJD_
hm, I don't even remember having such an option, but that was quite a while ago
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
JonnyJD_
so the bat file doesn't work for you out of the box?
jesus2099
no but it’s a special case…
before i told windows to open all *.py with emeditor, it would work.
JonnyJD_
not sure why you would associate *.py with an editor as default action. There is that "edit" action..
and with Vim I normally just install "edit with vim" to the context menu
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…
JonnyJD_
yes... but don't do that :-D
you wouldn't do that with .exe files either (though they are not fun to read)
jesus2099
yeah yeah yeah… ;)
chirlu`
In a disassembler?
jesus2099, I finally intal
*installed the Super Mind Control.
jesus2099
omg, who will you remote conrtol, now ?
chirlu`
I had long been in doubt, because of the many components. :)
jesus2099
yes… it’s scary…
chirlu`
But it works fine so far.
jesus2099
but i had so many little scripts… i stil want to merge some others in there… but i don’t know…