php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55442 ID3-0.2 Comments tag.
Submitted: 2011-08-17 14:43 UTC Modified: 2011-08-18 07:55 UTC
From: thephpguru at hotmai dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.3.6 OS: Federa 13
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thephpguru at hotmai dot com
New email:
PHP Version: OS:

 

 [2011-08-17 14:43 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-18 07:55 UTC] johannes@php.net
-Status: Open +Status: Bogus
 [2011-08-18 07:55 UTC] johannes@php.net
Please report this issue at http://pecl.php.net/id3 Sorry for the inconvenience.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 29 01:00:03 2025 UTC