diff options
-rwxr-xr-x | docs/CHANGELOG | 5 | ||||
-rw-r--r-- | lib/class/stream.class.php | 19 | ||||
-rw-r--r-- | lib/init.php | 2 |
3 files changed, 8 insertions, 18 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG index a58ac623..39071b5f 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -3,7 +3,10 @@ -------------------------------------------------------------------------- -------------------------------------------------------------------------- - v.3.4-Beta1 + v.3.4-Beta2 + +-------------------------------------------------------------------------- + v.3.4-Beta1 12/25/2007 - Added Metadata (.directory or desktop.ini) when using the /bin/dump_album_art.inc file - Added 'Add New...' option to Album on Song Edit (Thx picasso) diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index 179e9eed..7d9092fc 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -352,8 +352,7 @@ class Stream { $flash_hack = ''; if (isset($_REQUEST['flash_hack'])) { - $flash_hack = '&flash_hack=' . $_REQUEST['flash_hack']; - if (!Config::get('require_session')) { $flash_hack .= '&sid=' . session_id(); } + if (!Config::get('require_session')) { $flash_hack = '&sid=' . session_id(); } } // Itterate through the songs @@ -392,27 +391,15 @@ class Stream { */ function create_xspf_player() { - /* First insert the songs we've got into - * a tmp_playlist - */ - $tmp_playlist = new tmpPlaylist(); - $playlist_id = $tmp_playlist->create($this->sess,'xspf','song',''); - $tmp_playlist = new tmpPlaylist($playlist_id); - - /* Add the songs to this new playlist */ - foreach ($this->songs as $song_id) { - $tmp_playlist->add_object($song_id,'song'); - } // end foreach - /* Build the extra info we need to have it pass */ - $play_info = "?action=show&tmpplaylist_id=" . $tmp_playlist->id; + $play_info = "?action=show&tmpplaylist_id=" . $GLOBALS['user']->playlist->id; // start ugly evil javascript code //FIXME: This needs to go in a template, here for now though //FIXME: This preference doesn't even exists, we'll eventually //FIXME: just make it the default if ($GLOBALS['user']->prefs['embed_xspf'] == 1 ){ - header("Location: ".Config::get('web_path')."/index.php?xspf&play_info=".$tmp_playlist->id); + header("Location: ".Config::get('web_path')."/index.php?xspf&play_info=".$GLOBALS['user']->playlist->id); } else { echo "<html><head>\n"; diff --git a/lib/init.php b/lib/init.php index 646460ef..35a56a1f 100644 --- a/lib/init.php +++ b/lib/init.php @@ -81,7 +81,7 @@ if (!count($results)) { } /** This is the version.... fluf nothing more... **/ -$results['version'] = '3.4-Beta1'; +$results['version'] = '3.4-Beta2 Build (001)'; $results['int_config_version'] = '6'; $results['raw_web_path'] = $results['web_path']; |