diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-24 17:20:04 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-24 17:20:04 +0100 |
commit | ff270318f7859bb99de1dc679ad3093c31f304dd (patch) | |
tree | dbb0e553c6bc349a6f5ea8eb99db1be07cd0d6e7 /includes/inc_mp3.php | |
parent | 840252e0287b055e699af194b7357eccab4fce8a (diff) | |
download | istreamdev-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 'includes/inc_mp3.php')
-rwxr-xr-x | includes/inc_mp3.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/inc_mp3.php b/includes/inc_mp3.php index 162ebcb..9e3cd62 100755 --- a/includes/inc_mp3.php +++ b/includes/inc_mp3.php @@ -1,6 +1,11 @@ <?php -print "<body class=\"ipodlist\">\r\n"; +$play =$_REQUEST['play']; +if ($play == "") + print "<body class=\"ipodlist\">\r\n"; +else + print "<body class=\"ipodlist\" onload=\"javascript:Document.s{$play}.Play()\">\r\n"; + print "<div id=\"topbar\" class=\"transparent\">\r\n"; print "<div id=\"leftnav\">\r\n"; print " <a href=\"javascript:sendForm('getback')\">Back</a>\r\n"; |