summaryrefslogtreecommitdiffstats
path: root/lib/class/stream.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-29 22:27:45 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-29 22:27:45 +0000
commitd61f395465ed22effccd154782fde7f78f903dbf (patch)
treec3e48c5b1e46baa95383473cfc2f2555fc60b528 /lib/class/stream.class.php
parent3fa94f564493d930f5049526e18d35c1213ba9ca (diff)
downloadampache-d61f395465ed22effccd154782fde7f78f903dbf.tar.gz
ampache-d61f395465ed22effccd154782fde7f78f903dbf.tar.bz2
ampache-d61f395465ed22effccd154782fde7f78f903dbf.zip
more tweaks, hopefully fixing the flash player mostly needs to be embeded to fix some remaining bugs
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r--lib/class/stream.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index 2f5c4aee..6fca492c 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -302,7 +302,7 @@ class Stream {
/* Add the songs to this new playlist */
foreach ($this->songs as $song_id) {
- $tmp_playlist->add_object($song_id);
+ $tmp_playlist->add_object($song_id,'song');
} // end foreach
/* Build the extra info we need to have it pass */
@@ -321,7 +321,7 @@ class Stream {
echo "<script language=\"javascript\" type=\"text/javascript\">\n";
echo "<!-- begin\n";
echo "function PlayerPopUp(URL) {\n";
- echo "window.open(URL, 'XSPF_player', 'width=400,height=200,scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=0');\n";
+ echo "window.open(URL, 'XSPF_player', 'width=400,height=170,scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=0');\n";
echo "window.location = '" . return_referer() . "';\n";
echo "return false;\n";
echo "}\n";