diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-04-11 18:19:54 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-04-11 18:19:54 -0400 |
commit | cb3484865ef23c26201ebbfced8ca9129efd1ffd (patch) | |
tree | 170cf5bbab30895b13a6e5c4edd1a17f47eedd4d /lib | |
parent | 9402ff68721ac34597b05d4347d9f24a90434824 (diff) | |
download | ampache-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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/stream_playlist.class.php | 1 |
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': |