1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-06 03:49:56 +02:00

fixed admin prefs, flushed out localplay stuff, tweaked filters on browse

This commit is contained in:
Karl 'vollmerk' Vollmer 2007-10-18 05:52:06 +00:00
parent 15c56f21f2
commit f64a2f4d00
17 changed files with 119 additions and 99 deletions

View file

@ -101,6 +101,9 @@ class AmpacheLastfm {
debug_event('LastFM','Song less then 30 seconds not queueing','3');
return false;
}
// Make sure there's actually a username and password before we keep going
if (!$this->username || !$this->password) { return false; }
// Create our scrobbler with everything this time and then queue it
$scrobbler = new scrobbler($this->username,$this->password,$this->hostname,$this->port,$this->path,$this->challenge);