Mercurial > audlegacy-plugins
diff src/scrobbler/plugin.c @ 2124:b8da6a0b0da2
s/bmp_cfg_/aud_cfg_/g
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 24 Oct 2007 07:34:02 +0300 |
parents | f235b4a365a6 |
children | dd78327f5747 |
line wrap: on
line diff
--- a/src/scrobbler/plugin.c Wed Oct 24 07:32:18 2007 +0300 +++ b/src/scrobbler/plugin.c Wed Oct 24 07:34:02 2007 +0300 @@ -103,16 +103,16 @@ aud_prefswin_page_new(cfgdlg, "Scrobbler", DATA_DIR "/images/audioscrobbler.png"); - if ((cfgfile = bmp_cfg_db_open()) != NULL) { - bmp_cfg_db_get_string(cfgfile, "audioscrobbler", "username", + if ((cfgfile = aud_cfg_db_open()) != NULL) { + aud_cfg_db_get_string(cfgfile, "audioscrobbler", "username", &username); - bmp_cfg_db_get_string(cfgfile, "audioscrobbler", "password", + aud_cfg_db_get_string(cfgfile, "audioscrobbler", "password", &password); - bmp_cfg_db_get_string(cfgfile, "audioscrobbler", "ge_username", + aud_cfg_db_get_string(cfgfile, "audioscrobbler", "ge_username", &ge_username); - bmp_cfg_db_get_string(cfgfile, "audioscrobbler", "ge_password", + aud_cfg_db_get_string(cfgfile, "audioscrobbler", "ge_password", &ge_password); - bmp_cfg_db_close(cfgfile); + aud_cfg_db_close(cfgfile); } if ((!username || !password) || (!*username || !*password))