summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/class/stream.class.php2
-rw-r--r--lib/ui.lib.php4
-rw-r--r--server/xml.server.php8
3 files changed, 12 insertions, 2 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index cc6e9dc1..ab274bf3 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -70,7 +70,7 @@ class Stream {
// We're starting insert the session into session_stream
if (!$this->insert_session()) {
- debug_event('stream','Session Insertion failure, aboring','3');
+ debug_event('stream','Session Insertion failure, aborting','3');
return false;
}
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 10924f08..f8696655 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -87,7 +87,9 @@ if (!function_exists('_')) {
* that they aren't allowed to
*/
function access_denied() {
-
+
+ // Clear any crap we've got up top
+ ob_end_clean();
require_once Config::get('prefix') . '/templates/show_denied.inc.php';
exit;
diff --git a/server/xml.server.php b/server/xml.server.php
index 3cb56e20..beced1f4 100644
--- a/server/xml.server.php
+++ b/server/xml.server.php
@@ -87,6 +87,14 @@ switch ($_REQUEST['action']) {
echo xmlData::albums($albums);
break;
+ case 'artist_songs':
+ $artist = new Artist($_REQUEST['filter']);
+ $songs = $artist->get_songs();
+
+ // Set the offset
+ xmlData::set_offset($_REQUEST['offset']);
+ xmlData::songs($songs);
+ break;
case 'albums':
Browse::reset_filters();
Browse::set_type('album');