summaryrefslogtreecommitdiffstats
path: root/stream.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-10 05:24:59 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-10 05:24:59 +0000
commit311ac991126f68b12a6a29747091544de4acf6a1 (patch)
tree3e52ca25f8ba905e635c996cf31eafaff599ddde /stream.php
parent01a5512c04512a0d08d8de05705d87d6c9fe46d3 (diff)
downloadampache-311ac991126f68b12a6a29747091544de4acf6a1.tar.gz
ampache-311ac991126f68b12a6a29747091544de4acf6a1.tar.bz2
ampache-311ac991126f68b12a6a29747091544de4acf6a1.zip
minor fixes to the playlist, fixed up the democratic playlist kinda, still does not work completely
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.php b/stream.php
index dd66a579..ac93e9bb 100644
--- a/stream.php
+++ b/stream.php
@@ -144,7 +144,7 @@ switch ($_REQUEST['action']) {
$song_ids = get_random_songs($options, $matchlist);
break;
case 'democratic':
- $democratic = Democratic::get_current_playlist();
+ $democratic = new Democratic($_REQUEST['democratic_id']);
$urls[] = $democratic->get_url();
$song_ids = array('0');
break;