From 8b5cae4e61249e671cca45cd1d37ee56d8dc543c Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 24 Feb 2010 23:11:52 +0100 Subject: Support wav and aac Fixed dirs containing & --- includes/inc_audio.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/inc_audio.php') diff --git a/includes/inc_audio.php b/includes/inc_audio.php index 458689f..85d3d64 100755 --- a/includes/inc_audio.php +++ b/includes/inc_audio.php @@ -36,8 +36,8 @@ if ($medianame_array[0]) // Alphabetical sorting sort($medianame_array); - exec('rm playlist/*.mp3'); - exec('ln -s ' .addcslashes(quotemeta($mediapath .$subdir), " ") .'*.mp3 playlist'); + exec('rm playlist/*'); + exec('ln -s ' .addcslashes(quotemeta($mediapath .$subdir), " &") .'* playlist'); $count = count($medianame_array); -- cgit v1.2.3