diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-16 21:37:23 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-16 21:37:23 +0000 |
commit | 3887ab1f65fa556368d555e33b5c3e9ab59459da (patch) | |
tree | 3c006c802b0693a110806d184e038e336d48c35e /lib/class/stream.class.php | |
parent | 9dc866338aede131ece294b2dcd939d61a60d187 (diff) | |
download | ampache-3887ab1f65fa556368d555e33b5c3e9ab59459da.tar.gz ampache-3887ab1f65fa556368d555e33b5c3e9ab59459da.tar.bz2 ampache-3887ab1f65fa556368d555e33b5c3e9ab59459da.zip |
fixed some playlist issues, (mime type and selection) cleaned up the preferences lib a little more moved a lot into the class, updated references to old functions
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r-- | lib/class/stream.class.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index faadd2b2..18350a0e 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -300,15 +300,16 @@ class Stream { } // create_pls - /*! - @function create_asx - @discussion creates an ASZ playlist (Thx Samir Kuthiala) - */ - function create_asx() { + /** + * create_asx + * creates an ASX playlist (Thx Samir Kuthiala) This should really only be used + * if all of the content is ASF files. + */ + public function create_asx() { header("Cache-control: public"); header("Content-Disposition: filename=playlist.asx"); - header("Content-Type: video/x-ms-asf;"); + header("Content-Type: audio/x-ms-wax;"); echo "<ASX version = \"3.0\" BANNERBAR=\"AUTO\">\n"; echo "<TITLE>Ampache ASX Playlist</TITLE>"; |