duncan3dc/meta-audio

A library to read and write metadata tags to audio files

0.4.0 2017-08-19 21:09 UTC

README

A PHP library to read and write metadata tags to audio files (MP3, ID3, APE, etc)

WARNING: This library is still very much experimental, and will likely corrupt your beloved audio files, use with caution (and backups)

Full documentation is available at https://duncan3dc.github.io/meta-audio/
PHPDoc API documentation is also available at https://duncan3dc.github.io/meta-audio/api/

Latest Stable Version Build Status Coverage Status

Installation

Using composer:

$ composer require duncan3dc/meta-audio

Quick Example

$tagger = new \duncan3dc\MetaAudio\Tagger;
$tagger->addDefaultModules();

$mp3 = $tagger->open("/var/music/song.mp3");

echo "Artist: {$mp3->getArtist()}\n";
echo "Album: {$mp3->getAlbum()}\n";
echo "Year: {$mp3->getYear()}\n";
echo "Track No: {$mp3->getTrackNumber()}\n";
echo "Title: {$mp3->getTitle()}\n";

Read more at http://duncan3dc.github.io/meta-audio/

Changelog

A Changelog has been available since the beginning of time

Where to get help

Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter