diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-10-02 16:47:32 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-10-02 16:47:32 +0000 |
commit | 8045c0121ca3e22af2945faa072c5de4b329d7d8 (patch) | |
tree | 54223286cc542dd9bbb4674002ae51176f171733 /lib | |
parent | e496a54bfa8271e727410dc66a82992a89081283 (diff) | |
download | ampache-8045c0121ca3e22af2945faa072c5de4b329d7d8.tar.gz ampache-8045c0121ca3e22af2945faa072c5de4b329d7d8.tar.bz2 ampache-8045c0121ca3e22af2945faa072c5de4b329d7d8.zip |
make the append to playlist actually do something
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/stream.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index 96749e15..34c15113 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -441,18 +441,18 @@ class Stream { // First figure out what their current one is and create the object $localplay = new Localplay($GLOBALS['user']->prefs['localplay_controller']); $localplay->connect(); - //HACK!!! // Yea.. you know the baby jesus... he's crying right meow foreach ($this->songs as $song_id) { $this->objects[] = new Song($song_id); } + // Foreach the stuff we've got and add it foreach ($this->objects as $object) { $localplay->add($object); } - + $localplay->play(); } // create_localplay |