* era eriksson <[EMAIL PROTECTED]> [2005-07-27 09:09]:
> If they were listed directly on top of each other, they would be
> easier to compare at a glance, though -- something like this
> perhaps:

> Warning: CD signature ID and ID from FreeDB file do not match.
>    CD signature: 870a660a
>    FreeDB ID:    870a680a
> 
> Pardon my ignorance if this is hard to do from Python <ducks/>

That's trivial to do.  Thanks for the suggestion.


diff -urN jack-3.1.1~/jack_freedb.py jack-3.1.1/jack_freedb.py
--- jack-3.1.1~/jack_freedb.py  2005-07-27 00:03:12.000000000 +0100
+++ jack-3.1.1/jack_freedb.py   2005-07-27 11:08:12.031251504 +0100
@@ -372,9 +372,9 @@
             if i == cd_id:
                 id_matched = 1
         if not id_matched and warn and freedb_inexact_match < 1:
-            print "Warning: calculated id (" + cd_id + ") and id from freedb 
file"
-            print "       :", read_ids
-            print "       : do not match, hopefully due to inexact match."
+            print "Warning: CD signature ID and ID from FreeDB file do not 
match."
+            print "         CD signature: " + cd_id
+            print "         FreeDB ID:    " + ",".join(read_ids)
         for i in read_ids:
             for j in i:
                 if j not in "0123456789abcdef":

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to