2013-07-28 19:45:21 +02:00
|
|
|
<?php
|
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
/// getID3() by James Heinrich <info@getid3.org> //
|
|
|
|
// available at http://getid3.sourceforge.net //
|
|
|
|
// or http://www.getid3.org //
|
2015-09-04 03:59:46 +02:00
|
|
|
// also https://github.com/JamesHeinrich/getID3 //
|
2013-07-28 19:45:21 +02:00
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
// See readme.txt for more details //
|
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
// //
|
|
|
|
// module.misc.par2.php //
|
|
|
|
// module for analyzing PAR2 files //
|
|
|
|
// dependencies: NONE //
|
|
|
|
// ///
|
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
class getid3_par2 extends getid3_handler
|
|
|
|
{
|
|
|
|
|
2015-09-04 03:59:46 +02:00
|
|
|
public function Analyze() {
|
2013-07-28 19:45:21 +02:00
|
|
|
$info = &$this->getid3->info;
|
|
|
|
|
|
|
|
$info['fileformat'] = 'par2';
|
|
|
|
|
|
|
|
$info['error'][] = 'PAR2 parsing not enabled in this version of getID3()';
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|