Bug #55442 [Opn->Bgs]: ID3-0.2 Comments tag.
| From: | johannes@php.net | Date: | Thu, 18 Aug 2011 07:55:31 +0000 |
| Subject: | Bug #55442 [Opn->Bgs]: ID3-0.2 Comments tag. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162649@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55442&edit=1
ID: 55442
Updated by: johannes@php.net
Reported by: thephpguru at hotmai dot com
Summary: ID3-0.2 Comments tag.
-Status: Open
+Status: Bogus
Type: Bug
Package: Unknown/Other Function
Operating System: Federa 13
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
Please report this issue at http://pecl.php.net/id3 Sorry for
the inconvenience.
Previous Comments:
------------------------------------------------------------------------
[2011-08-17 14:43:46] thephpguru at hotmai dot com
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 this bug report at https://bugs.php.net/bug.php?id=55442&edit=1