summaryrefslogtreecommitdiffstats
path: root/stream.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-13 08:11:45 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-13 08:11:45 +0000
commit1e9f582cf1dba653f45bbc5835fa662a3c163e69 (patch)
tree72b7aa0191f623082bdca0c119330d01496c4d67 /stream.php
parent49c26695c900f47ef304dd1f7f1ed7184815f343 (diff)
downloadampache-1e9f582cf1dba653f45bbc5835fa662a3c163e69.tar.gz
ampache-1e9f582cf1dba653f45bbc5835fa662a3c163e69.tar.bz2
ampache-1e9f582cf1dba653f45bbc5835fa662a3c163e69.zip
added clear and play to the basket
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream.php b/stream.php
index d4e1527b..c9c85188 100644
--- a/stream.php
+++ b/stream.php
@@ -51,6 +51,9 @@ switch ($action) {
// Make sure they actually passed soemthing
if (!count($song_ids)) { header("Location:" . return_referer()); exit; }
break;
+ case 'basket':
+ $song_ids = $GLOBALS['user']->playlist->get_items();
+ break;
/* This is run if we need to gather info based on a tmp playlist */
case 'tmp_playlist':
$tmp_playlist = new tmpPlaylist($_REQUEST['tmpplaylist_id']);