From c53213ab05448efeec2786c88801e23fe541e241 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Oct 2018 12:18:53 +0000 Subject: [PATCH] fuck this im cheatin --- web/playlist.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/playlist.php b/web/playlist.php index 29c0d99..f575cbe 100644 --- a/web/playlist.php +++ b/web/playlist.php @@ -3,8 +3,10 @@ include 'common.php'; header('Content-type: audio/x-mpegurl'); -$files = scanDir::scan('/playlists/normal', false, true); - +$files = scanDir::scan('/playlists/normal', "m3u", false); +$files = array_merge($files, scanDir::scan('/playlists/normal/Daniel', "m3u", false)); +$files = array_merge($files, scanDir::scan('/playlists/normal/Joakim', "m3u", false)); +$files = array_merge($files, scanDir::scan('/playlists/normal/artists', "m3u", false)); echo "#EXTM3U\n";