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";