summaryrefslogtreecommitdiff
path: root/streammusic.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-24 17:20:04 +0100
committerTheTroll <trolldev@gmail.com>2010-02-24 17:20:04 +0100
commitff270318f7859bb99de1dc679ad3093c31f304dd (patch)
treedbb0e553c6bc349a6f5ea8eb99db1be07cd0d6e7 /streammusic.php
parent840252e0287b055e699af194b7357eccab4fce8a (diff)
downloadistreamdev-ff270318f7859bb99de1dc679ad3093c31f304dd.tar.gz
istreamdev-ff270318f7859bb99de1dc679ad3093c31f304dd.tar.bz2
Now redirect single files to playlist frontend (still buggy, file is not played yert)
Remove audiotypes conf (we only support native safari ext)
Diffstat (limited to 'streammusic.php')
-rwxr-xr-xstreammusic.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/streammusic.php b/streammusic.php
deleted file mode 100755
index 8dbcbfe..0000000
--- a/streammusic.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-//set headers to mp3
-
-$mediapath = $_GET['mediapath'];
-$subdir = $_GET['subdir'];
-$file = $_GET['file'];
-
-header("Content-Transfer-Encoding: binary");
-header("Content-Type: audio/mp3");
-header('Content-length: ' . filesize($mediapath .$subdir .$file));
-header('Content-Disposition: attachment; filename="streaming.mp3"');
-header('X-Pad: avoid browser bug');
-Header('Cache-Control: no-cache');
-
-readfile($mediapath .$subdir .$file);
-
-?>