-
Notifications
You must be signed in to change notification settings - Fork 1
lukaszkujawa/php-mp3info
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
php-mp3info is a mp3info (http://ibiblio.org/mp3info/) bindings for PHP. REQUIREMENTS $ apt-get install php5-dev libncurses-dev INSTALLATION $ phpize $ ./configure $ make $ make install Enable extension in PHP $ echo "extension=mp3info.so" > /etc/php5/apache2/conf.d/mp3info.ini $ echo "extension=mp3info.so" > /etc/php5/cli/conf.d/mp3info.ini $ /etc/init.d/apache2 restart USAGE mp3_get_info( [Path to mp3 file] ); EXAMPLE OUTPUT Array ( [seconds] => 343 [frames] => 13155 [badframes] => 0 [id3] => Array ( [title] => Eve [artist] => Emancipator [album] => Soon It Will Be Cold Enough [year] => 2006 [comment] => ) [header] => Array ( [sync] => 4094 [version] => 1 [bitrate] => 10 [freq] => 0 [padding] => 0 [extension] => 0 [mode] => 1 [mode_extension] => 2 [copyright] => 0 [original] => 1 [emphasis] => 0 ) )
About
PHP wrapper for MP3Info
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published