https://github.com/gemorroj/mp3_id3
Read/Write MP3-Tags
https://github.com/gemorroj/mp3_id3
Last synced: about 2 months ago
JSON representation
Read/Write MP3-Tags
- Host: GitHub
- URL: https://github.com/gemorroj/mp3_id3
- Owner: Gemorroj
- License: other
- Created: 2012-11-11T15:13:34.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-01-14T13:01:11.000Z (over 8 years ago)
- Last Synced: 2025-03-24T05:04:01.008Z (2 months ago)
- Language: PHP
- Homepage:
- Size: 63.6 MB
- Stars: 8
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# This package provides handling of MP3 tags.
[](https://travis-ci.org/Gemorroj/MP3_Id3)
Requirements:
1. PHP >= 5.2
2. PEAR
3. MP3_Id
4. MP3_IDv2Warning!
Due to the outdated design PEAR::isError, in some cases, PHP generates E_STRICT warningExample:
```php
getTags();echo '
';';print_r($id3->getMeta());
foreach ($tags as $k => $v) {
if ($k === 'picture') {
echo '';
} else {
print_r($k . ' - ' . print_r($v, true));
}
echo "\n";
}$tags->setComment('test2');
$tags->setGenreId(23);
$tags->setUrl('http://wapinet.ru');
$tags->setAlbumArtist('test');
//$id3->write();echo '
```