Improve ffmpeg install script

This commit is contained in:
Pierre Rudloff 2015-05-17 22:08:53 +02:00
parent cc6bee3d9a
commit 62a0591d78
3 changed files with 4 additions and 2 deletions

View file

@ -19,7 +19,7 @@ if (getenv('CONVERT')) {
} else {
define('CONVERT', false);
}
define('AVCONV', __DIR__.'/ffmpeg-2.6.2-64bit-static/ffmpeg');
define('AVCONV', __DIR__.'/ffmpeg/ffmpeg');
define('MAINTENANCE', false);
define('DISABLED', false);
define('BASE_URL', 'http://alltubedownload.net/');

2
ffmpeg/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*
!.gitignore

View file

@ -17,6 +17,6 @@
"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; curl http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz -o ffmpeg.tar.xz; tar xJf ffmpeg.tar.xz"
"postinstall": "./node_modules/grunt-cli/bin/grunt; curl https://yt-dl.org/downloads/2015.04.09/youtube-dl -o youtube-dl; curl http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz -o ffmpeg.tar.xz; tar xJf ffmpeg.tar.xz -C ffmpeg --strip-components=1"
}
}