summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/class/stream.class.php3
-rw-r--r--lib/init.php4
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index 6d620f03..7a925daa 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -728,6 +728,9 @@ class Stream {
// If this wasn't ajax included run away
if (AJAX_INCLUDE != '1') { return false; }
+ // If we're doin the flash magic then run away as well
+ if ($GLOBALS['user']->prefs['play_type'] == 'xspf_player') { return false; }
+
switch ($GLOBALS['user']->prefs['playlist_method']) {
default:
case 'clear':
diff --git a/lib/init.php b/lib/init.php
index 45184584..669be5f4 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -253,4 +253,8 @@ if (! preg_match('/update\.php/', $_SERVER['PHP_SELF'])) {
exit();
}
}
+
+// For the XMLRPC stuff
+$GLOBALS['xmlrpc_internalencoding'] = Config::get('site_charset');
+
?>