public function scrobble($timestamp)
{
// Don't scrobble the unknown guys. No one knows them.
if ($this->artist->isUnknown()) {
return false;
}
// If the current user hasn't connected to Last.fm, don't do shit.
if (!($sessionKey = auth()->user()->lastfm_session_key)) {
return false;
}
return Lastfm::scrobble($this->artist->name, $this->title, $timestamp, $this->album->name === Album::UNKNOWN_NAME ? '' : $this->album->name, $sessionKey);
}