mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 02:39:47 +02:00
new db update, moved prefs around removed useless one and fixed some defaults, also fixed some potential issues with lastfm
This commit is contained in:
parent
f4ad61dccf
commit
b3950d0c94
10 changed files with 68 additions and 26 deletions
|
@ -54,8 +54,8 @@ class AmpacheLastfm {
|
|||
*/
|
||||
public function install() {
|
||||
|
||||
Preference::insert('lastfm_user','Last.FM Username',' ','25','string','options');
|
||||
Preference::insert('lastfm_pass','Last.FM Password',' ','25','string','options');
|
||||
Preference::insert('lastfm_user','Last.FM Username',' ','25','string','plugins');
|
||||
Preference::insert('lastfm_pass','Last.FM Password',' ','25','string','plugins');
|
||||
Preference::insert('lastfm_port','Last.FM Submit Port',' ','25','string','internal');
|
||||
Preference::insert('lastfm_host','Last.FM Submit Host',' ','25','string','internal');
|
||||
Preference::insert('lastfm_url','Last.FM Submit URL',' ','25','string','internal');
|
||||
|
@ -122,6 +122,8 @@ class AmpacheLastfm {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
debug_event('LastFM','Submission Successful','5');
|
||||
|
||||
return true;
|
||||
|
||||
|
|
|
@ -45,8 +45,8 @@ class AmpacheOpenStrands {
|
|||
*/
|
||||
public function install() {
|
||||
|
||||
Preference::insert('mystrands_user','MyStrands Login',' ','25','string','options');
|
||||
Preference::insert('mystrands_pass','MyStrands Password',' ','25','string','options');
|
||||
Preference::insert('mystrands_user','MyStrands Login',' ','25','string','plugins');
|
||||
Preference::insert('mystrands_pass','MyStrands Password',' ','25','string','plugins');
|
||||
|
||||
} // install
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue