diff options
Diffstat (limited to 'genplaylist.php')
-rwxr-xr-x | genplaylist.php | 2 |
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; |