note 62754 added to function.id3-get-version
| From: | david dot alphen at gmail dot com | Date: | Wed, 08 Mar 2006 23:30:49 +0000 |
| Subject: | note 62754 added to function.id3-get-version | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105083@lists.php.net to get a copy of this message | ||
Hi,
Here is my code:
$versionid = id3_get_version ($path);
if ($versionid & ID3_V2_4)
{
echo "in ID3_V2_4";
$tag = id3_get_tag ($path, ID3_V2_4);
}
Well when I have a v2.4 mp3 I have an error executing the function id3_get_tag.
Here is my error:
in ID3_V2_4
Warning: id3_get_tag() [function.id3-get-tag]: id3_get_tag() specified tag-version not available -
try ID3_BEST in myfile.php on line 30
Why ???
--
David ALPHEN
----
Server IP: 217.174.203.10
Probable Submitter: 82.245.172.34
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.id3-get-version.php
Edit -- http://master.php.net/note/edit/62754
Del: integrated -- http://master.php.net/note/delete/62754/integrated
Del: useless -- http://master.php.net/note/delete/62754/useless
Del: bad code -- http://master.php.net/note/delete/62754/bad+code
Del: spam -- http://master.php.net/note/delete/62754/spam
Del: non-english -- http://master.php.net/note/delete/62754/non-english
Del: in docs -- http://master.php.net/note/delete/62754/in+docs
Del: other reasons-- http://master.php.net/note/delete/62754
Reject -- http://master.php.net/note/reject/62754
Search -- http://master.php.net/manage/user-notes.php