mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
fixed admin prefs, flushed out localplay stuff, tweaked filters on browse
This commit is contained in:
parent
15c56f21f2
commit
f64a2f4d00
17 changed files with 119 additions and 99 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue