Parcourir la source

Add ffmpeg to koel

Bob Mottram il y a 7 ans
Parent
révision
8f109b2b18
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      src/freedombone-app-koel

+ 2
- 0
src/freedombone-app-koel Voir le fichier

@@ -501,6 +501,7 @@ function install_koel_main {
501 501
 
502 502
     apt-get -yq install php-gettext php-curl php-gd php-mysql git curl php-zip
503 503
     apt-get -yq install php-memcached php-intl exiftool libfcgi0ldbl
504
+    apt-get -yq install ffmpeg
504 505
 
505 506
     if [ ! -d /var/www/$KOEL_DOMAIN_NAME ]; then
506 507
         mkdir /var/www/$KOEL_DOMAIN_NAME
@@ -743,6 +744,7 @@ function install_koel {
743 744
     sed -i "s|DB_PASSWORD=.*|DB_PASSWORD=$MARIADB_PASSWORD|g" .env
744 745
     sed -i 's/MAIL_HOST=.*/MAIL_HOST=localhost/g' .env
745 746
     sed -i 's/MAIL_PORT=.*/MAIL_PORT=25/g' .env
747
+    sed -i 's|FFMPEG_PATH=.*|FFMPEG_PATH=/usr/bin/ffmpeg|g' .env
746 748
 
747 749
     php artisan koel:init
748 750
     if [ ! "$?" = "0" ]; then