Use ProcessBuilder to build commands (fixes #51)

This commit is contained in:
Pierre Rudloff 2016-04-08 19:37:59 +02:00
parent 11e8243443
commit f7f0a7b7f4
3 changed files with 46 additions and 30 deletions

View file

@ -31,7 +31,7 @@ class Config
public $youtubedl = 'vendor/rg3/youtube-dl/youtube_dl/__main__.py';
public $python = '/usr/bin/python';
public $params = '--no-playlist --no-warnings -f best';
public $params = array('--no-playlist', '--no-warnings', '-f best');
public $convert = false;
public $avconv = 'vendor/bin/ffmpeg';
public $curl_params = '';