summaryrefslogtreecommitdiff
path: root/lists.php
diff options
context:
space:
mode:
Diffstat (limited to 'lists.php')
-rw-r--r--lists.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/lists.php b/lists.php
deleted file mode 100644
index 9e804a5..0000000
--- a/lists.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-$handle = popen("LC_ALL=C ls ~musix/.moc/Listen", "r");
-$i = 1;
-while (!feof($handle)) {
- $s = fgets($handle);
- if (substr($s,0,7) !== "_lokal_") {
- continue;
- }
- $lists[$i] = substr($s,7);
- $i++;
-}
-
-foreach ($lists as $i => $list) {
- print "<a href=/?what=playlist&list=" . $i . ">" . $list . "</a><br>\n";
-}