diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-09 06:13:32 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-09 06:13:32 +0000 |
commit | b3950d0c942364ce9ab2e99c6914977158b2a09c (patch) | |
tree | 64bf2dbe591ec7d74acb4602ca152c771430f079 /modules | |
parent | f4ad61dccfd3b92760659f0382ca51a14e92a8b8 (diff) | |
download | ampache-b3950d0c942364ce9ab2e99c6914977158b2a09c.tar.gz ampache-b3950d0c942364ce9ab2e99c6914977158b2a09c.tar.bz2 ampache-b3950d0c942364ce9ab2e99c6914977158b2a09c.zip |
new db update, moved prefs around removed useless one and fixed some defaults, also fixed some potential issues with lastfm
Diffstat (limited to 'modules')
-rw-r--r-- | modules/localplay/httpq.controller.php | 2 | ||||
-rw-r--r-- | modules/localplay/mpd.controller.php | 2 | ||||
-rw-r--r-- | modules/plugins/Lastfm.plugin.php | 6 | ||||
-rw-r--r-- | modules/plugins/OpenStrands.plugin.php | 4 |
4 files changed, 8 insertions, 6 deletions
diff --git a/modules/localplay/httpq.controller.php b/modules/localplay/httpq.controller.php index 6dfa0856..d1cce1ae 100644 --- a/modules/localplay/httpq.controller.php +++ b/modules/localplay/httpq.controller.php @@ -60,7 +60,7 @@ class AmpacheHttpq extends localplay_controller { */ public function get_version() { - return '00001'; + return '000001'; } // get_version diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php index ac27bc05..7925d3e1 100644 --- a/modules/localplay/mpd.controller.php +++ b/modules/localplay/mpd.controller.php @@ -27,7 +27,7 @@ class AmpacheMpd extends localplay_controller { /* Variables */ - private $version = '00001'; + private $version = '000001'; private $description = 'Controls an instance of MPD'; /* Constructed variables */ diff --git a/modules/plugins/Lastfm.plugin.php b/modules/plugins/Lastfm.plugin.php index fd9cca82..098e01e8 100644 --- a/modules/plugins/Lastfm.plugin.php +++ b/modules/plugins/Lastfm.plugin.php @@ -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; diff --git a/modules/plugins/OpenStrands.plugin.php b/modules/plugins/OpenStrands.plugin.php index 1a7b1b78..f57529b9 100644 --- a/modules/plugins/OpenStrands.plugin.php +++ b/modules/plugins/OpenStrands.plugin.php @@ -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 |