aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/LastFMPlaylistPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist/LastFMPlaylistPlugin.cxx')
-rw-r--r--src/playlist/LastFMPlaylistPlugin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/playlist/LastFMPlaylistPlugin.cxx b/src/playlist/LastFMPlaylistPlugin.cxx
index b4933e6a3..34abaeb5f 100644
--- a/src/playlist/LastFMPlaylistPlugin.cxx
+++ b/src/playlist/LastFMPlaylistPlugin.cxx
@@ -44,10 +44,10 @@ static struct {
} lastfm_config;
static bool
-lastfm_init(const struct config_param *param)
+lastfm_init(const config_param &param)
{
- const char *user = config_get_block_string(param, "user", NULL);
- const char *passwd = config_get_block_string(param, "password", NULL);
+ const char *user = param.GetBlockValue("user");
+ const char *passwd = param.GetBlockValue("password");
if (user == NULL || passwd == NULL) {
g_debug("disabling the last.fm playlist plugin "