"U-NeeK.." wrote:
> Hi there,
>
> 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. 

> I use Nero to burn my CDs. I do NOT close the compilation each time I burn a new
> CD (always staying with ISO1 for those who knows Nero, not closing the bruned
> CD and opening ISO2 to make a new compil etc...)
> So, all the CDs I burn in 1 day have the same day/time of burning ... so they ALL
> have 2003031809320000 as ID for example, 

What about HHmm? You can't burn all discs in the same minute. Even the
fastest burner is not that fast. 

> so if I make a cover and a fxd form
> the imdb helper, they all have the same cover !
> Very annoying.

Strange, I just made a fxd file for a dvd, the id is date + label.

> So when you insert the CD, Freevo get the DiscID, I changed it in order to take
> also the 4 first chars of the label. In my example it takes
> 2003031810270000CHIC , 2003031810270000CHIC and
> 2003031810270000SEX_ ... so I have NO MORE problems because the are
> different now and it does NOT change the fxd file format neither the imdb helper.
>
> I changed 2 files :
> src/identifymedia.py and src/video/xml_parser.py
>
> 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.
>
> 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 !!)

Strange again. The label should be at another place. I will look ito
this later. 

> Could someone integrate this function in Freevo ?

Changing the way to generate the disc id will break everything. I hope
to avoid that.


Dischi

-- 
The Romans didn't find algebra very challenging, because X was always
10.


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to