2014-07-05 10:45:24 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* PHP web interface for youtube-dl (http://rg3.github.com/youtube-dl/)
|
|
|
|
* Config file
|
|
|
|
*
|
|
|
|
* PHP Version 5.3.10
|
|
|
|
*
|
|
|
|
* @category Youtube-dl
|
|
|
|
* @package Youtubedl
|
2015-01-07 09:47:46 +00:00
|
|
|
* @author Pierre Rudloff <contact@rudloff.pro>
|
2014-07-05 10:45:24 +00:00
|
|
|
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
|
|
|
|
* @link http://rudloff.pro
|
|
|
|
* */
|
2015-10-29 18:02:19 +00:00
|
|
|
define('YOUTUBE_DL', __DIR__.'/vendor/rg3/youtube-dl/youtube_dl/__main__.py');
|
2014-07-05 10:45:24 +00:00
|
|
|
define('PYTHON', '/usr/bin/python');
|
2015-08-01 10:56:04 +00:00
|
|
|
define('PARAMS', '--no-playlist --no-warnings -f best');
|
2015-05-16 01:23:55 +00:00
|
|
|
if (getenv('CONVERT')) {
|
|
|
|
define('CONVERT', getenv('CONVERT'));
|
|
|
|
} else {
|
|
|
|
define('CONVERT', false);
|
|
|
|
}
|
2015-05-17 20:08:53 +00:00
|
|
|
define('AVCONV', __DIR__.'/ffmpeg/ffmpeg');
|
2015-01-07 09:42:44 +00:00
|
|
|
define('MAINTENANCE', false);
|
2015-01-07 10:04:06 +00:00
|
|
|
define('DISABLED', false);
|
2015-04-10 22:00:00 +00:00
|
|
|
define('BASE_URL', 'http://alltubedownload.net/');
|