mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added shufflebutton
This commit is contained in:
@@ -15,13 +15,11 @@ foreach($dir as $files){
|
||||
$time_lasted = time() - filemtime('./lists/'.$files);
|
||||
if($time_lasted > $to)
|
||||
{
|
||||
$file = file_get_contents('./lists/'.$files); //Checking if the channel has the setting for showing on the frontpage set to true.
|
||||
$file = file_get_contents('./lists/'.$files);
|
||||
$data = json_decode($file, TRUE);
|
||||
$q = array_values($data["nowPlaying"]);
|
||||
if($q[0]["id"] == "30H2Z8Lr-4c");
|
||||
{
|
||||
unlink("./lists/".$files);
|
||||
}
|
||||
}
|
||||
if($time_lasted < $time){
|
||||
$file = file_get_contents('./lists/'.$files); //Checking if the channel has the setting for showing on the frontpage set to true.
|
||||
|
||||
Reference in New Issue
Block a user