summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-04-11 18:19:54 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2013-04-11 18:19:54 -0400
commitcb3484865ef23c26201ebbfced8ca9129efd1ffd (patch)
tree170cf5bbab30895b13a6e5c4edd1a17f47eedd4d
parent9402ff68721ac34597b05d4347d9f24a90434824 (diff)
downloadampache-cb3484865ef23c26201ebbfced8ca9129efd1ffd.tar.gz
ampache-cb3484865ef23c26201ebbfced8ca9129efd1ffd.tar.bz2
ampache-cb3484865ef23c26201ebbfced8ca9129efd1ffd.zip
Fix song downloads
'download' wasn't in the list of allowed types for Stream_Playlist, so download attempts were processed as M3U playlists.
-rw-r--r--lib/class/stream_playlist.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/class/stream_playlist.class.php b/lib/class/stream_playlist.class.php
index 3046b7a1..653686e4 100644
--- a/lib/class/stream_playlist.class.php
+++ b/lib/class/stream_playlist.class.php
@@ -156,6 +156,7 @@ class Stream_Playlist {
$ext = $type;
switch($type) {
+ case 'download':
case 'democratic':
case 'localplay':
case 'html5_player':