From:
Operating system: Federa 13
PHP version: 5.3.6
Package: Unknown/Other Function
Bug Type: Bug
Bug description:ID3-0.2 Comments tag.
Description:
------------
---
THe Comments tag (COMM) is not appearing in ID3-0.2. I have verified that
the Comments tag is not null in EasyTag, Kid3 or a Flash application I have
that reads ID3 Tags.
---
Test script:
---------------
<?
$tag_version = id3_get_version("$new_mp3_file");
if ($tag_version & ID3_V1_0) {
echo "<div class=\"text\">This file contains a 1.x tag</div>";
}
if ($tag_version & ID3_V1_1) {
echo "<div class=\"text\">This file contains a 1.1 tag</div>";
}
if ($tag_version & ID3_V2) {
echo "<div class=\"text\">This file contains a 2.x tag</div>";
}
if ($tag_version & ID3_V2_3) {
echo "<div class=\"text\">This file contains a 2.3 tag</div>";
}
if ($tag_version & ID3_V2_4) {
echo "<div class=\"text\">This file contains a 2.4 tag</div>";
}
echo "<br />";
$tag = id3_get_tag("$new_mp3_file");
while(list($key,$value) = each($tag)){
echo "<div class=\"text\">$key: $value"; if($key == "genre"){echo " (" .
id3_get_genre_name($value) . ")";} echo "</div>";
}
unlink($new_mp3_file);
?>
Expected result:
----------------
The comments tag should display in the tag output.
Actual result:
--------------
This file contains a 1.x tag
This file contains a 1.1 tag
This file contains a 2.3 tag
This file contains a 2.4 tag
encoderSettings: LAME 32bits version 3.98.2 (http://www.mp3dev.org/)
length: 27414
title: My name is Sulaiman The WordSmith
artist: Sulaiman The WordSmith
album: What Is A WordSmith
recTime: 2010
track: 03/03
genre: 7 (Hip-Hop)
composer: Sulaiman The WordSmith
originalArtist: Sulaiman The WordSmith
copyright: U.S: PAU003376550 / 1-407766721
encodedBy: Lame
webOffPubl: http://thewordsmith.info
webOffAudioFile: http://thewordsmith.info
webOffAudioSrc: http://thewordsmith.info
webOffIRS: http://thewordsmith.info
publisher: The WordSmith World Wide
mood: Educational
webOffArtist: http://thewordsmith.info
language: EN
--
Edit bug report at https://bugs.php.net/bug.php?id=55442&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=55442&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=55442&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=55442&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=55442&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=55442&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=55442&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=55442&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=55442&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=55442&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=55442&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=55442&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=55442&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=55442&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=55442&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=55442&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55442&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=55442&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=55442&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=55442&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=55442&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=55442&r=mysqlcfg