diff options
Diffstat (limited to 'genplaylist.php')
-rwxr-xr-x | genplaylist.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/genplaylist.php b/genplaylist.php index e19cc7a..c1c7135 100755 --- a/genplaylist.php +++ b/genplaylist.php @@ -12,8 +12,9 @@ $path = $_REQUEST['path']; $name = $_REQUEST['name']; - exec('rm playlist/*'); - exec('ln -s ' .addcslashes(quotemeta($path), " &'") .'* playlist'); + exec('rm playlist/*'); + exec('echo > playlist/dummy.txt'); + exec('ln -s ' .addcslashes(quotemeta($path), " &'") .'* playlist'); echo "<m3u>ok</m3u>\n"; |