diff --git a/php/nochan.php b/php/nochan.php index 2e079bc6..bdefbe74 100755 --- a/php/nochan.php +++ b/php/nochan.php @@ -17,7 +17,8 @@ foreach($dir as $files){ { $file = file_get_contents('./lists/'.$files); //Checking if the channel has the setting for showing on the frontpage set to true. $data = json_decode($file, TRUE); - if(sizeof($data["songs"]) == 0) + $q = array_values($data["nowPlaying"]); + if($q[0]["id"] == "XQu8TTBmGhA"); { unlink("./lists/".$files); }