This commit is contained in:
Pierre Rudloff 2015-04-10 22:00:47 +02:00
parent b6b48e8cea
commit 0c10683912
7 changed files with 18 additions and 10 deletions

View file

@ -10,7 +10,8 @@
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html * @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro * @link http://rudloff.pro
* */ * */
require_once 'config.php'; require_once 'config.example.php';
@include_once 'config.php';
require_once 'common.php'; require_once 'common.php';
require_once 'download.php'; require_once 'download.php';
if (isset($_GET["url"])) { if (isset($_GET["url"])) {

View file

@ -14,7 +14,7 @@
define('YOUTUBE_DL', './youtube-dl'); define('YOUTUBE_DL', './youtube-dl');
define('PYTHON', '/usr/bin/python'); define('PYTHON', '/usr/bin/python');
define('PARAMS', '--no-playlist --no-warnings'); define('PARAMS', '--no-playlist --no-warnings');
define('CONVERT', true); define('CONVERT', false);
define('MAINTENANCE', false); define('MAINTENANCE', false);
define('DISABLED', false); define('DISABLED', false);
?> ?>

View file

@ -11,7 +11,8 @@
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html * @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro * @link http://rudloff.pro
* */ * */
require_once 'config.php'; require_once 'config.example.php';
@include_once 'config.php';
/** /**
* PHP web interface for youtube-dl (http://rg3.github.com/youtube-dl/) * PHP web interface for youtube-dl (http://rg3.github.com/youtube-dl/)
* Main class * Main class

View file

@ -12,7 +12,8 @@
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html * @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro * @link http://rudloff.pro
* */ * */
require_once 'config.php'; require_once 'config.example.php';
@include_once 'config.php';
require_once 'common.php'; require_once 'common.php';
require 'head.php'; require 'head.php';
?> ?>

View file

@ -12,7 +12,8 @@
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html * @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro * @link http://rudloff.pro
* */ * */
require_once 'config.php'; require_once 'config.example.php';
@include_once 'config.php';
require_once 'common.php'; require_once 'common.php';
require 'head.php'; require 'head.php';
?> ?>

View file

@ -1,14 +1,18 @@
{ {
"name": "alltube", "name": "alltube",
"version": "0.2.1", "version": "0.2.1",
"devDependencies": { "dependencies": {
"grunt": "^0.4.5", "grunt": "~0.4.5",
"grunt-contrib-cssmin": "^0.10.0", "grunt-cli": "~0.1.13",
"grunt-contrib-uglify": "^0.6.0", "grunt-contrib-cssmin": "~0.10.0",
"grunt-contrib-watch": "^0.6.1" "grunt-contrib-uglify": "~0.6.0",
"grunt-contrib-watch": "~0.6.1"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/Rudloff/alltube.git" "url": "https://github.com/Rudloff/alltube.git"
},
"scripts": {
"postinstall": "./node_modules/grunt-cli/bin/grunt; curl https://yt-dl.org/downloads/2015.04.09/youtube-dl -o youtube-dl"
} }
} }

BIN
youtube-dl Normal file

Binary file not shown.