summaryrefslogtreecommitdiff
path: root/genplaylist.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-25 15:51:44 +0100
committerTheTroll <trolldev@gmail.com>2010-02-25 15:51:44 +0100
commit45ee8db7fd22ff9c9fe200802ed4e179000a5bb4 (patch)
tree228425717006ca104f9b1dc46e4b38d53ea6f7cc /genplaylist.php
parent1d3095213541ba77015742a4c05cfcf66fd9c7e7 (diff)
downloadistreamdev-45ee8db7fd22ff9c9fe200802ed4e179000a5bb4.tar.gz
istreamdev-45ee8db7fd22ff9c9fe200802ed4e179000a5bb4.tar.bz2
Replaced mediainfo calls by getid3
Diffstat (limited to 'genplaylist.php')
-rwxr-xr-xgenplaylist.php5
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";