diff options
author | Brian Hasselbeck <brian.hasselbeck@gmail.com> | 2012-04-11 16:52:16 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-11 16:52:16 -0400 |
commit | 2888851fa383f8ed0681ee49a5a435055ed80c2c (patch) | |
tree | 9e8fc90b171824dbe723baab4ad021f24ea2b119 /lib/class/stream.class.php | |
parent | ec9389f5c64f7de1d985d364b55a7872580034c2 (diff) | |
download | ampache-2888851fa383f8ed0681ee49a5a435055ed80c2c.tar.gz ampache-2888851fa383f8ed0681ee49a5a435055ed80c2c.tar.bz2 ampache-2888851fa383f8ed0681ee49a5a435055ed80c2c.zip |
FS#224 - generated .pls playlist doesn't work in some players
Initial tag is case sensitive; we were emitting [Playlist] but some
players don't accept that. There is unfortunately no real standard to
check, but this does match what Winamp (ack, pthbbt) does.
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r-- | lib/class/stream.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index f1765935..bc23d28b 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -321,7 +321,7 @@ class Stream { header("Cache-control: public"); header("Content-Disposition: filename=ampache_playlist.pls"); header("Content-Type: audio/x-scpls;"); - echo "[Playlist]\n"; + echo "[playlist]\n"; echo "NumberOfEntries=$total_entries\n"; foreach ($this->media as $element) { $i++; |