summaryrefslogtreecommitdiffstats
path: root/lib/class/scrobbler.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-14 07:04:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-14 07:04:26 +0000
commitd1dcfcbc903153007fff2c155248046ecfbdc76a (patch)
tree400ed80dd1ce436818c893bb5f53d4b9d95443ec /lib/class/scrobbler.class.php
parentf2f82cae3114683dd230328a4638b8cb35b46c3b (diff)
downloadampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.tar.gz
ampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.tar.bz2
ampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.zip
some fixes for the localplay, you can now install the MPD controller, and add instances, just not actually play to it... realized I need to think on how to do that a little...
Diffstat (limited to 'lib/class/scrobbler.class.php')
-rw-r--r--lib/class/scrobbler.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/scrobbler.class.php b/lib/class/scrobbler.class.php
index dd9775c3..43a62016 100644
--- a/lib/class/scrobbler.class.php
+++ b/lib/class/scrobbler.class.php
@@ -73,7 +73,7 @@ class scrobbler {
*/
public function handshake() {
- $as_socket = @fsockopen('post.audioscrobbler.com', 80, $errno, $errstr, 5);
+ $as_socket = fsockopen('post.audioscrobbler.com', 80, $errno, $errstr, 2);
if(!$as_socket) {
$this->error_msg = $errstr;
return false;
@@ -186,7 +186,7 @@ class scrobbler {
return false;
}
- $as_socket = @fsockopen($this->submit_host, intval($this->submit_port), $errno, $errstr, 5);
+ $as_socket = fsockopen($this->submit_host, intval($this->submit_port), $errno, $errstr, 2);
if(!$as_socket) {
$this->error_msg = $errstr;