summaryrefslogtreecommitdiffstats
path: root/lib/class/scrobbler.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-14 06:13:32 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-14 06:13:32 +0000
commit089cd9100a6b94602df62e07e5b7a9b2c563ef95 (patch)
tree73ad2d782245e593b0fc98d98cd31dfe3e1e4ac8 /lib/class/scrobbler.class.php
parentab9aec092c66f090eb77ac6a53e37a02a9aecbbf (diff)
downloadampache-089cd9100a6b94602df62e07e5b7a9b2c563ef95.tar.gz
ampache-089cd9100a6b94602df62e07e5b7a9b2c563ef95.tar.bz2
ampache-089cd9100a6b94602df62e07e5b7a9b2c563ef95.zip
tweaked theme a tad, updated lastfm plugin, requires remove/readadd to work correctly
Diffstat (limited to 'lib/class/scrobbler.class.php')
-rw-r--r--lib/class/scrobbler.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/class/scrobbler.class.php b/lib/class/scrobbler.class.php
index 8b8ca5a7..ad379940 100644
--- a/lib/class/scrobbler.class.php
+++ b/lib/class/scrobbler.class.php
@@ -112,16 +112,16 @@ class scrobbler {
}
if(preg_match('/http:\/\/(.*):(\d+)(.*)/', $response[2], $matches)) {
- $_SESSION['state']['lastfm']['submit_host'] = $matches[1];
- $_SESSION['state']['lastfm']['submit_port'] = $matches[2];
- $_SESSION['state']['lastfm']['submit_url'] = $matches[3];
+ $data['submit_host'] = $matches[1];
+ $data['submit_port'] = $matches[2];
+ $data['submit_url'] = $matches[3];
} else {
$this->error_msg = 'Invalid POST URL returned, unable to continue';
return false;
}
$this->challenge = $response[1];
- return true;
+ return $data;
} // handshake