<div>Hello !</div>
<div>   I´m developing a cataloguer to put an order in my MP3 collection. I´m using this code below to get the length of mp3 file as all other mpeg details.<br clear="all"></div>
<div>QString Filename = &quot;/mnt/cd/file01.mp3&quot;;</div>
<div> </div>
<div>TagLib::MPEG::File MpegFile(FileName.toStdString().c_str());<br>TagLib::MPEG::Properties MpegProperties(&amp;MpegFile, TagLib::AudioProperties::Accurate);<br></div>
<div>QString MyLength = &quot;length: &quot; + QString(&quot;%1&quot;).arg(MpegProperties.length());</div>
<div> </div>
<div>  This works fine with almost my files, just when the mp3 file don´t have ID3v1 (have only ID3v2) this code return &quot;length: 0&quot;. I make tests using EasyTag and manipulating the files to remove the ID3v1 and let just the ID3v2 this happen in 100% of the cases.</div>

<div> </div>
<div>  I have found a bug ? I´m not usually a lucky guy, then i ask for anyone to help me why this happen in my code.</div>
<div> </div>
<div>Some details:</div>
<div>I tried without the ReadStyle Accurate and the same result.</div>
<div>I tried too with bitrate, channels and this methods return 0 too.</div>
<div>I´m using the version 1.3.6 of the Taglib.</div>
<div>I´m developing using Qt 4.5.3 on Ubuntu 9.10.</div>
<div>I´m from Brazil and my english is not the best </div>
<div> </div>
<div>Tanks everybody to this help.</div>
<div><br>-- <br>.:.::Marcelo Augusto::.:.<br>MSN: <a href="mailto:harkonmoseley@hotmail.com" target="_blank">harkonmoseley@hotmail.com</a><br>SKYPE: harkonmoseley<br>v3sw5CHUhw6ln6pr5FSP$u8Lw3XUl7RSDCK$e6t1b7Ta25s6MDr7!p <a href="http://hackerkey.com/" target="_blank">hackerkey.com</a><br>
</div>