Log youtube-dl and ffmpeg commands (fixes #297)

This commit is contained in:
Pierre Rudloff 2020-07-15 22:39:46 +02:00
parent 7e575e1bb2
commit 96a75cbf14
6 changed files with 359 additions and 310 deletions

View file

@ -8,6 +8,7 @@ use Alltube\Controller\FrontController;
use Alltube\Controller\JsonController;
use Alltube\LocaleManager;
use Alltube\LocaleMiddleware;
use Alltube\LoggerFactory;
use Alltube\UglyRouter;
use Alltube\ViewFactory;
use Slim\App;
@ -61,6 +62,9 @@ try {
die('Could not load Smarty: ' . $e->getMessage());
}
// Logger.
$container['logger'] = LoggerFactory::create();
// Controllers.
$frontController = new FrontController($container);
$jsonController = new JsonController($container);