diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-30 04:46:45 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-30 04:46:45 +0000 |
commit | 598a200b969da093a99153173129257da080f71b (patch) | |
tree | b9b12acc57a92063b3227f7dc495e62749449f19 /song.php | |
parent | 07ad109268f038880d1bd1d4cda299cbff59b83a (diff) | |
download | ampache-598a200b969da093a99153173129257da080f71b.tar.gz ampache-598a200b969da093a99153173129257da080f71b.tar.bz2 ampache-598a200b969da093a99153173129257da080f71b.zip |
ok this is ugly but it works
Diffstat (limited to 'song.php')
-rw-r--r-- | song.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -18,6 +18,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +//FIXME: This should be renamed to stream.php as it makes a little more sense +//FIXME: considering what this file does require('lib/init.php'); /* If we are running a demo, quick while you still can! */ @@ -25,7 +27,6 @@ if (conf('demo_mode') || !$user->has_access('25')) { access_denied(); } - $song_ids = array(); $web_path = conf('web_path'); @@ -50,7 +51,8 @@ switch ($action) { 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']); + $song_ids = $tmp_playlist->get_items(); break; case 'single_song': $song_ids[] = scrub_in($_REQUEST['song_id']); |