diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-13 08:11:45 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-13 08:11:45 +0000 |
commit | 1e9f582cf1dba653f45bbc5835fa662a3c163e69 (patch) | |
tree | 72b7aa0191f623082bdca0c119330d01496c4d67 /stream.php | |
parent | 49c26695c900f47ef304dd1f7f1ed7184815f343 (diff) | |
download | ampache-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.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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']); |