additional_plugins/serendipity_event_podcast/player/james-heinrich/getid3/getid3/module.audio-video.wtv.php
onli dcf32c365d
podcast 1.37.7: PHP 8 compatibility fixes (#144)
Fix some warning in the main code, update getid3
2022-11-23 15:29:25 +01:00

38 lines
1.4 KiB
PHP

<?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net //
// see readme.txt for more details //
/////////////////////////////////////////////////////////////////
// //
// module.audio.wtv.php //
// module for analyzing WTV (Windows Recorded TV Show) //
// audio-video files //
// dependencies: NONE //
// ///
/////////////////////////////////////////////////////////////////
if (!defined('GETID3_INCLUDEPATH')) { // prevent path-exposing attacks that access modules directly on public webservers
exit;
}
class getid3_wtv extends getid3_handler
{
/**
* @return bool
*/
public function Analyze() {
$info = &$this->getid3->info;
$info['fileformat'] = 'wtv';
$info['video']['dataformat'] = 'wtv';
$this->error('WTV (Windows Recorded TV Show) files not properly processed by this version of getID3() ['.$this->getid3->version().']');
return true;
}
}