From 2888851fa383f8ed0681ee49a5a435055ed80c2c Mon Sep 17 00:00:00 2001 From: Brian Hasselbeck Date: Wed, 11 Apr 2012 16:52:16 -0400 Subject: 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. --- lib/class/stream.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/class/stream.class.php') 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++; -- cgit