is it normal for a trm lookup in database to find multiple files
2004-08-02 21559, 2004
Berkz
? Why is this?
2004-08-02 21544, 2004
wheels
Imperfect matches.
2004-08-02 21528, 2004
Berkz
wheels: can 2 audio files actually have the same trm signature?
2004-08-02 21556, 2004
wheels
I would assume so.
2004-08-02 21532, 2004
wheels
Berkz: But remember -- you're usually working against comparing lossy audio to more lossy audio.
2004-08-02 21542, 2004
Berkz
how come they didn't use something like a md5 hash where no 2 files can have the same signature... ?
2004-08-02 21501, 2004
wheels
Berkz: Because then two files ripped on different machines would never match.
2004-08-02 21536, 2004
wheels
Berkz: Like if we both buy a CD and I rip it with LAME and you rip it with iTunes -- even though they're the same song at the same bitrate they wouldn't match.
2004-08-02 21545, 2004
Berkz
i c
2004-08-02 21549, 2004
Berkz
good point
2004-08-02 21518, 2004
wheels
And of course md5 sums can be identical too. ;-)
2004-08-02 21559, 2004
wheels
That's the magic of TRM -- it's not completely deterministic. It would be pretty useless if it was.
2004-08-02 21518, 2004
Berkz
I think they can't be the same size and have the same sum unless it's exactly the same file..
2004-08-02 21525, 2004
wheels
Well, deterministic isn't the right word there, but I think the point was still clear. :-)
2004-08-02 21544, 2004
wheels
Berkz: Who said they had to be the same size?
2004-08-02 21527, 2004
wheels
Berkz: And statistically that's not possible. You can't reduce a gigbyte of data to a small hash without having a number of overlaps in possibilities in that gigbyte.
2004-08-02 21546, 2004
Berkz
my point is that md5 hash would be the perfect matchmaker cause then u could be sure if the file is the same size...
2004-08-02 21548, 2004
wheels
Berkz: Otherwise you would have just invented the world's best data compression. ;-)
2004-08-02 21556, 2004
Berkz
wheels: what app do you use for you id3 tagging
2004-08-02 21557, 2004
Berkz
?
2004-08-02 21501, 2004
wheels
JuK
2004-08-02 21507, 2004
Berkz
me2
2004-08-02 21550, 2004
Berkz
I just wish it would use part of the file name to compare to the "suggestions" from the musicbrainz server to preselect the "most likely" one...
2004-08-02 21534, 2004
wheels
Berkz: Well, there is a value for relevance that's returned by the TRM server, but I think that's currently ignored.
2004-08-02 21508, 2004
Berkz
being ignored by the client or server?
2004-08-02 21516, 2004
wheels
by JuK
2004-08-02 21517, 2004
wheels
But ideally that will be fixed in KDE 3.3.
2004-08-02 21527, 2004
Berkz
cool
2004-08-02 21539, 2004
Berkz
have u tried amarok?
2004-08-02 21548, 2004
wheels
yes
2004-08-02 21557, 2004
Berkz
liked it?
2004-08-02 21514, 2004
wheels
Too flashy for me.
2004-08-02 21536, 2004
Berkz
haven't tried it yet. Really like juk
2004-08-02 21556, 2004
Berkz
are you running the beta2?
2004-08-02 21503, 2004
wheels
CVS
2004-08-02 21521, 2004
Berkz
life on the edge :)
2004-08-02 21536, 2004
Berkz
can you log into msn through kopete?
2004-08-02 21546, 2004
wheels
Don't know; don't care. ;-)
2004-08-02 21555, 2004
Berkz
o.k
2004-08-02 21548, 2004
wheels
I haven't updated in a few days anyway though...
2004-08-02 21502, 2004
Berkz
what distro?
2004-08-02 21518, 2004
wheels
a very old suse
2004-08-02 21525, 2004
wheels
But I meant KDE CVS.
2004-08-02 21536, 2004
Pipian
Hmm... I've found TRM to be a little more unique than might otherwise be expected.
2004-08-02 21506, 2004
Berkz
I know
2004-08-02 21548, 2004
Pipian
i wonder
2004-08-02 21557, 2004
Pipian
if I did a TRM on all the files I've ripped myself
2004-08-02 21506, 2004
Pipian
honestly how many of them would turn up correct positive matches?
2004-08-02 21532, 2004
wheels
Pipian: Well, right now I'm getting about 50% drops from the server.
2004-08-02 21532, 2004
Berkz
I'm currently running TRM through my collection.. 1/3 finds matches..
2004-08-02 21539, 2004
Pipian
Well
2004-08-02 21557, 2004
Pipian
I've calculated TRM's for many of my rips thus far
2004-08-02 21502, 2004
wheels
Berkz: It used to be a lot higher -- but right now the server is overloaded and about half of the time just returns with an error.
2004-08-02 21519, 2004
Pipian
I wonder if I could rig up a program to check what TRMs that have been calculated DON'T match with existing TRM- searches
2004-08-02 21554, 2004
Berkz
Pipian: what bugs me is that when I find matches I find 2-5 matches and I have to select which one :)
2004-08-02 21555, 2004
Pipian
shame musicbrainz python doesn't work on Gentoo
2004-08-02 21556, 2004
Pipian
blah
2004-08-02 21538, 2004
wheels
Berkz: Well, probably better than incorrectly tagging your music. :-)
2004-08-02 21531, 2004
Berkz
wheels: true
2004-08-02 21501, 2004
wheels
ruaok: does that seem about on par -- 50% of lookups failing lately? Or is the code I'm working on just really b0rked? :-)
2004-08-02 21515, 2004
Berkz
when using command : trm -m $filename.mp3 .. does the trm command contact the master server at all?
2004-08-02 21516, 2004
Pipian
*goes to emerge gcj so libffi installs*
2004-08-02 21506, 2004
ruaok
wheels: what kind of lookups?
2004-08-02 21513, 2004
wheels
ruaok: TRM
2004-08-02 21519, 2004
ruaok
yup.
2004-08-02 21524, 2004
ruaok
there server is overloaded. :-(
2004-08-02 21529, 2004
ruaok
Nothing we can do about it right now.
2004-08-02 21541, 2004
wheels
ruaok: yeah, that's what I assumed -- but it's scarry when debugging code. :-)
2004-08-02 21546, 2004
ruaok
I'm hoping to deploy a new server soon, but that won't help much.
2004-08-02 21515, 2004
ruaok
ok, time to get off the computer for a bit. I need to relax a bit... OSCON was hard work.
2004-08-02 21520, 2004
ruaok is away: relax
2004-08-02 21525, 2004
Pipian
Grar
2004-08-02 21534, 2004
Pipian kicks Gentoo for not letting ctypes compile
2004-08-02 21509, 2004
Berkz
when using command : trm -m $filename.mp3 .. does the trm command contact the master server at all?
2004-08-02 21555, 2004
Berkz
I thought the TRM would only make a TRM signature and dump it on the console?
2004-08-02 21501, 2004
wheels
Berkz: yes
2004-08-02 21534, 2004
Berkz
wheels: why does it need to contact the master server?
2004-08-02 21559, 2004
Berkz
wheels: I thought it would only do that If I was to select the -lookup flag..
2004-08-02 21504, 2004
wheels
Berkz: I'm thinking that there's a wiki page that explains all of this...looking.
ruaok: I seem to be getting some strange values back from eResult for the type -- it's a value greater than any specified in the enum...
2004-08-02 21503, 2004
wheels
ruaok: As such I'm having trouble resolving collisions.
2004-08-02 21546, 2004
MacIntire
MacIntire is now known as bkdelong
2004-08-02 21546, 2004
Pipian
aha
2004-08-02 21501, 2004
Pipian
I got a crappy ebuild of gcc-3.3.3-r6
2004-08-02 21507, 2004
Pipian
that might explain why ctypes won't compile
2004-08-02 21532, 2004
wheels
Gotta love Gentoo. ;-)
2004-08-02 21554, 2004
Pipian
apparently it didn't have the right use flags
2004-08-02 21503, 2004
Pipian
so it couldn't possibly compile gcj
2004-08-02 21508, 2004
Pipian
which is what ffi is compiled for.
2004-08-02 21514, 2004
Pipian
thus ctypes couldn't work
2004-08-02 21547, 2004
wheels still uses gcc 2.95. :-)
2004-08-02 21519, 2004
somnolent has quit
2004-08-02 21526, 2004
Pipian
that's one way to go about it =P
2004-08-02 21502, 2004
wheels
ruaok: Oh, another thing that I meant to point out -- you might want to run some of the example thingers and whatnot under valgrind -- I ran into a couple of memory errors there.
2004-08-02 21542, 2004
wheels
Woohoo. And now it seems that things are working...
2004-08-02 21557, 2004
Pipian kicks emerge and tries to compile gcc... again... with gcj this time.
2004-08-02 21522, 2004
wheels
ruaok: Oh, and I know you're not here at the moment -- but queing questions for batch processing later... Under which circumstances will tr_GetResults() resturn something other than eTrackList for the type?
2004-08-02 21555, 2004
arudolph joined the channel
2004-08-02 21512, 2004
bramp has quit
2004-08-02 21545, 2004
bramp joined the channel
2004-08-02 21525, 2004
arudolph
Hi. Based on the supported calls, it seems that the exposed web-service API is meant for tagging files, not more general queries about the info in the db.
2004-08-02 21558, 2004
arudolph
for example, there doesn't seem to be a good way to map artist->list of albums, even via a series of calls (unless one knows a track on an album to do FileInfoLookup
2004-08-02 21505, 2004
arudolph
)
2004-08-02 21535, 2004
wheels
Which API specifically are you referring to?
2004-08-02 21559, 2004
arudolph
the api exposed at mq_2_1.pl
2004-08-02 21529, 2004
arudolph
i.e. the set of rdf calls responded to by the server (or really, any exposed way to query data; but scraping the data from the artist page doesn't count)
2004-08-02 21528, 2004
arudolph
for example, in Artist.pm (used to display the artists albums via the web pages), there's a query into the database to compile the list of albums by an artist, but there is no way for me to query this information without downloading a dump (which I have done), or scraping the web page
2004-08-02 21548, 2004
wheels unfortunately hasn't ever looked at the Perl API -- or really anything but the C API.
2004-08-02 21550, 2004
arudolph
uh, well I mean there's a pretty direct mapping between the calls supported in the mb_server project and those in the mb_client project to which you refer
2004-08-02 21552, 2004
arudolph
in particular, the list of queries I mentioned in the Server queries section of include/musicbrainz/queries.h
2004-08-02 21508, 2004
arudolph
all the MBQ_FOO calls
2004-08-02 21545, 2004
arudolph
whether you're using mb_client or some ad hoc rdf code (the latter being my approach), there's still no way to get list of albums by an artist
2004-08-02 21505, 2004
arudolph
because the rdf api seems geared only toward the mb_client client, which is meant for tagging-applications...it just seems like a richer api could be exposed...there seems to be nowhere else for me to discuss such an idea/proposal
2004-08-02 21528, 2004
arudolph
i mean it's essentially trivial to implement in mb_server, and adding it to mb_client is just writing some menial hooks
2004-08-02 21508, 2004
somniloquy joined the channel
2004-08-02 21545, 2004
MacIntire joined the channel
2004-08-02 21515, 2004
bkdelong has quit
2004-08-02 21510, 2004
Berkz has quit
2004-08-02 21520, 2004
real has quit
2004-08-02 21520, 2004
Pipian has quit
2004-08-02 21520, 2004
sbw has quit
2004-08-02 21520, 2004
Misirlou has quit
2004-08-02 21532, 2004
real joined the channel
2004-08-02 21532, 2004
Pipian joined the channel
2004-08-02 21532, 2004
Misirlou joined the channel
2004-08-02 21532, 2004
sbw joined the channel
2004-08-02 21521, 2004
MacIntire has quit
2004-08-02 21537, 2004
MacIntire joined the channel
2004-08-02 21554, 2004
arudolph has quit
2004-08-02 21513, 2004
MacIntire has quit
2004-08-02 21548, 2004
determinist joined the channel
2004-08-02 21510, 2004
determinist has quit
2004-08-02 21533, 2004
Knio_ joined the channel
2004-08-02 21536, 2004
Knio has quit
2004-08-02 21534, 2004
djce has quit
2004-08-02 21537, 2004
Pipian will finish up his TRM algorithm "uniqueness" tester tomorrow.
2004-08-02 21545, 2004
Pipian
(Cycles through all files cross-checking previously calculated but not-inserted-into-the-database-by-me TRMs against results in the database to figure out whether or not the algorithm results in more or less unique hits (Of course it may be offset by luck of people having the same encoding as me)
2004-08-02 21521, 2004
Pipian
Will also be helpful in identifying TRMs to *add* =P