>> 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.

>
>> 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.
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.

>
>> 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.
I'm talking about CD, DivX in fact. Even if you see the media-id tag displaying

date+label, in the sources, you ONLY take the date as the ID.

>
>> 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.
Something is missing, because I pasted tags, I paste it again :

[EMAIL PROTECTED] /mnt/Covers]# cat SEX_ACADEMY.fxd CHICKEN_RUN.fxd
JOHNNY_MNEMONIC.fxd |grep media-id
    (disc media-id="2003031810270000SEX_ACADEMY"/)
    (disc media-id="2003031810270000CHICKEN_RUN"/)
    (disc media-id="2003031810270000JOHNNY_MNEMONIC"/)
I replaced normal tags begin and ends with ( ).
when you read the ID, you get only the 16 firsts chars, so NOT the label,
for these 3
CDs, I had the same cover. Once I had modified the sources to get the ID
+ 4 firsts
chars, I had no problem to get 1 cover per CD.

>
>> Could someone integrate this function in Freevo ?
>
>Changing the way to generate the disc id will break everything. I hope
>to avoid that.
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 ?

>
>
>Dischi

Thanks,

U-NeeK.


______________________________________________________
Bo�te aux lettres - Caramail - http://www.caramail.com


Reply via email to