Quote:
Originally Posted by dareweb
Can you help me please to make my script work?
|
If you have PHP code that needs to be executed after a completed conversion, then you need to put that code in ffmpeg_progress.php, inside the following existing condition:
PHP Code:
if (is_file(realpath(Config::_SONGFILEDIR . $mp3File)))
{
$conversionSuccess = 1;
}
If you are using another class, then you will have to instantiate it at the top of ffmpeg_progress.php. And if you need certain conversion data that you don't already have in ffmpeg_progress.php, then you will have to pass the data as additional parameters to the AJAX call in index.php.