Re: [Easytag-mailing] copying on save



Hi,

I've got the same behaviour when I add an ID3V2 tag at the beginning of the
file: the number of  inodes changes. This occurs also when you add more data
to the id3v2 (more than padding), because audio data are moved in the file.

But the problem comes from id3lib which manage the writing of the tag. I
don't know exactly how it works to add data at the beginning of the file,
but I suppose that it creates a new file, writes id3v2 tag, copies audio
data from the initial file to the new one, and then deletes the older
file...

Moreover you can test it with the program id3tag (supplied into id3lib
package after compilation). You will get the problem...

I recommend you to post a message into the mailing list
id3lib-devel lists sourceforge net to report the problem with hard links.

If this problem disturbs you, can can into desactivate the writing of id3v2
tag into EasyTAG. But before to create links, the initial files musn't
contain id3v2 data, else you will get the same problem.

Sincerely,
Jerome

-----Message d'origine-----
De : john <ruttmannn gmx de>
À : Jérôme COUDERC <couderj agf fr>; easytag-mailing lists sourceforge net
<easytag-mailing lists sourceforge net>
Date : mardi 6 novembre 2001 11:06
Objet : Re: [Easytag-mailing] copying on save


>Hi Jérôme,
>
>> I've tried to reproduce your problem with hard links to some files, but
all
>> seem to work correctly: the both file are update.
>
>I tested further and yes, both files get updated, but the problem remains.
>See yourself:
>
>-- test start
>
>I'm starting with an file called "id3test.mp3". It's owned by the user
>doing all the work.
>
>$ ln id3test.mp3 id3test-2.mp3
>$ ls -i
>
>  14149 id3test-2.mp3    14149 id3test.mp3
>
>Now i edit id3test.mp3 with easytag and save the new info. I check the
>result with easytag and mp3info and both files show up the new id3
>info. Good.
>
>But now:
>
>$ ls -i
>
>  14149 id3test-2.mp3    14093 id3test.mp3
>
>And the link counter on both files changed from 2 to 1. Any further
>editing of one of the files does consequently only change the data of
>one file.
>
>-- test emd
>
>So, I have to correct my last bug report: Editing a hard linked file
>does change every version of it. But this breaks the hard link and
>duplicates the file. Then further editing does not work as
>desired. (Despite the fact, that my hard disk run out of space...)
>When I wrote my last message I might have looked at a file, that I
>edited more than once.
>
>Sorry for the inaccurancy and for causing confusion.
>
>> At the present time, I don't know exactly what causes your problem, so
>> please can you give more informations (file permissions, schemes, ...)
>
>easytag 0.15 id3lib 3.8.0
>
>cu,
>john
>





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