From 946293a869be746c45ac5b7855b1e76e2db386c0 Mon Sep 17 00:00:00 2001 From: qo-op Date: Tue, 26 May 2020 12:30:01 +0200 Subject: [PATCH] Oeuvre dynamique en Intelligence Collective --- www/LOVELand/index.html | 3 ++- www/LOVELand/jukebox/REC/youtube-dl.php | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/www/LOVELand/index.html b/www/LOVELand/index.html index c33965c..4819427 100644 --- a/www/LOVELand/index.html +++ b/www/LOVELand/index.html @@ -151,7 +151,8 @@
-

Oeuvre et Intelligence Collective

+

Système d'Information

+

Oeuvre dynamique en Intelligence Collective

diff --git a/www/LOVELand/jukebox/REC/youtube-dl.php b/www/LOVELand/jukebox/REC/youtube-dl.php index fde5a6c..3cac0d3 100644 --- a/www/LOVELand/jukebox/REC/youtube-dl.php +++ b/www/LOVELand/jukebox/REC/youtube-dl.php @@ -44,10 +44,10 @@ if( $search == "REC" ) { } else if ($radio && $artist != $title && $artist != "undefined" && $title != "undefined" && strlen(explode(".", $title)[1]) != 3 && explode(".", $title)[1] != "opus" ) { // Not making double request if( ! exec('grep '.escapeshellarg($cmd).' /tmp/ytdl.list') ) { - shell_exec('/home/pi/G1sms+/_CopyLaRadio/parle.sh "Enregistrement ajouté."'); +// shell_exec('/home/pi/G1sms+/_CopyLaRadio/parle.sh "Enregistrement ajouté."'); file_put_contents("/tmp/ytdl.list","$cmd\n", FILE_APPEND); - } else { - shell_exec('/home/pi/G1sms+/_CopyLaRadio/parle.sh "Copie déjà lancée"'); +// } else { +// shell_exec('/home/pi/G1sms+/_CopyLaRadio/parle.sh "Copie déjà lancée"'); } $result.='

'.$artist.' / '.$title.'