"U-NeeK.." wrote:
>>> I found a bug in the Disc ID affectation.
>>> As I could have seen, the Disc ID of a CD is the burning date
> of the CD, with that
>>> format : YYYYMMDDHHmm0000 .. so 16 chars. OK.
>>
>>The disc id is the burning date + the disc title without trailing
>>whitespaces. 

> In fact the real disc ID is the burning date without the disc
> label. Check the source of src/identifymedia.py.

Your're right. Strange, it wasn't suppossed to work that way.

> Try to get Nero under windows, open a new compilation, put your
> files, burn a CD. Now you don't close Nero, you don't close the
> compilation, you only delete your files in the compilation, put some
> new files, and burn a new CD. They will both have the same ID
> because Nero puts EXACTLY the same date/time (including HHmm
> !). Maybe I'm stupid to do that, but I'm sure I'm not alone, and I
> loose less time like that.

You should close the left window after burning and open a new one. But
it doesn't matter, since you found the bug.

>>> src/video/xml_parser.py :
>>> replace 2 times :
>>> if len(i) > 16:
>>> i = i[0:16]
>>> with :
>>> if len(i) > 20:
>>> i = i[0:20]
>>> in def hash_xml_database(); function.

I will change that later today. I'm at work right now, but I'm
thinking about removing the whole "if len(i)..."

>>> src/identifymedia.py:
>>> replace :
>>> media.id = id
>>> media.label = ''
>>> with :
>>> id += label[0:4]
>>> media.id = id
>>> media.label = ''
>>> print "ID : %s" % media.id
>>> in def identify(self, media); function (after the cd seek !!)

and check if the media-id is id or id+label.

> I made the change, I didn't notice everything wrong with the rest. I
> didn't even need to make .fxd files again !  What in Freevo is
> really using the DiscID except fxd files to show information and
> covers of a movie ?

I got it. Thanks for the bug report, I will fix that asap.



Dischi

-- 
A user friendly computer first requires a friendly user.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to