We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 55333b81 authored by Mike Sheldon's avatar Mike Sheldon

Stop curl from outputting last.fm's response when forwarding scrobbles

parent 1b808b8b
......@@ -287,6 +287,7 @@ function forwardScrobble($userid, $artist, $album, $track, $time, $mbid, $source
$post_vars .= '&api_sig=' . $sig;
curl_setopt ($curl_session, CURLOPT_POST, true);
curl_setopt ($curl_session, CURLOPT_POSTFIELDS, $post_vars);
curl_setopt ($curl_session, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($curl_session);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment