summaryrefslogtreecommitdiffstats
path: root/modules/flash
diff options
context:
space:
mode:
Diffstat (limited to 'modules/flash')
-rw-r--r--modules/flash/xspf_player.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/flash/xspf_player.php b/modules/flash/xspf_player.php
index 42d9bdf6..9f9dde2e 100644
--- a/modules/flash/xspf_player.php
+++ b/modules/flash/xspf_player.php
@@ -35,8 +35,9 @@ switch ($_REQUEST['action']) {
// Set for hackage!
$_REQUEST['flash_hack'] = 1;
$objects = $GLOBALS['user']->playlist->get_items();
- $stream = new Stream('xspf',$objects);
- $stream->start();
+ $stream = new Stream_Playlist();
+ $stream->add($objects);
+ $stream->generate_playlist('xspf', false);
break;
case 'show':
$play_url = Config::get('web_path') . '/modules/flash/xspf_player.php';