forked from axiom-team/astroport
Oeuvre dynamique en Intelligence Collective
This commit is contained in:
parent
b342fddb3f
commit
946293a869
|
@ -151,7 +151,8 @@
|
|||
<!-- Testimonials -->
|
||||
<section class="testimonials text-center bg-light">
|
||||
<div class="container">
|
||||
<h2 class="mb-5">Oeuvre et Intelligence Collective</h2>
|
||||
<h1>Système d'Information</h1>
|
||||
<h2 class="mb-5">Oeuvre dynamique en Intelligence Collective</h2>
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<div class="testimonial-item mx-auto mb-5 mb-lg-0">
|
||||
|
|
|
@ -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.='<a style="color:#FFFFFF" href="https://www.youtube.com/results?search_query='.urlencode($artist).'%20'.urlencode($title).'" target="check">
|
||||
<h4>'.$artist.' / '.$title.'</h4>
|
||||
|
|
Loading…
Reference in New Issue