Re: [Easytag-mailing] [PATCH] generate cddb query from song lengths



justus schwartz wrote:
is there any interest in a function, that takes the currently marked files and
generates a cddb query from them? (certainly only works for complete albums)
Interesting idea - so you can select a group of untagged and unnamed files, 
and it will find the exact match on freedb? How reliable is this? (coming from 
somebody who knows little about freedb internals)
i did a quick implementation (by just copy pasting from the
Cddb_Search_Album_List_From_String function). i reused the Cddb_Generate_Cddb_Id
function wich was present, but haven't seen, where it is used.
If the two functions are that similar, it may be worth creating a shared 
function which both use (makes future maintenance easier).
the patch is attached (against easytag-0.31, there is no cvs, is there?) so test
for yourselve, if you think it's useful.
I'm sure Jerome will correct me if I'm wrong, but I don't think the GTK1 
version is being worked on any more. You may wish to try writing it against 
the GTK2 (development) version. I don't think there is any public CVS, but if 
its any use, I upload all the patches that I send in to here:
http://www.reactivated.net/patches/easytag/0.31/extras/

Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]