Home » Networking » Net_CDDB » Bug #7526
Formatted disc length is incorrect
Details
| Submitted | 2006-04-30 15:35 UTC |
|---|---|
| From | kristof dot coomans at telenet dot be |
| Status | Duplicate |
| Package | Net_CDDB |
| PHP Version | 4.4.2 |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2006-04-30 15:35 UTC] kristof dot coomans at telenet dot be
Description:
------------
The minutes in the formatted disc length returned by NET_CDDB_Disc::getDiscLength are wrong.
Test script:
---------------
Replace the code
$minutes = floor($this->_length % (60 * 60));
with:
$minutes = floor(($this->_length % (60 * 60))/60);
[2006-05-30 12:41 UTC] superwormy at php dot net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/Net_CDDB
Fixed in release 0.2.0