summaryrefslogtreecommitdiff
path: root/genplaylist.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-25 00:19:30 +0100
committerTheTroll <trolldev@gmail.com>2010-02-25 00:19:30 +0100
commite7a66146a477408936c239739f2de6c88c6cbb5e (patch)
treeb7484e681495474fc4dda2786c124290700c503d /genplaylist.php
parent808f2a389fb96a3e86be616aaa3cb3b351933088 (diff)
downloadistreamdev-e7a66146a477408936c239739f2de6c88c6cbb5e.tar.gz
istreamdev-e7a66146a477408936c239739f2de6c88c6cbb5e.tar.bz2
fix
Diffstat (limited to 'genplaylist.php')
-rwxr-xr-xgenplaylist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/genplaylist.php b/genplaylist.php
index 17c083b..a30333d 100755
--- a/genplaylist.php
+++ b/genplaylist.php
@@ -17,7 +17,7 @@
$found = 0;
while ($medianame = readdir($dir_handle))
{
- if (mediagettype($path .$name) == 2)
+ if (mediagettype($path .$medianame) == 2)
{
if ($medianame == $name)
$found = 1;