struct appdata *ad = mp_util_get_appdata();
MP_CHECK(ad);
bool show_lyrics = (bool) (ad->b_show_lyric);
+
if (preference_get_boolean(KEY_MUSIC_LYRICS, &show_lyrics)) {
ERROR_TRACE("Fail to get %s", KEY_MUSIC_LYRICS);
}
struct appdata *ad = (struct appdata *) data;
MP_CHECK_FALSE(ad);
- bool show_lyric = (bool) (ad->b_show_lyric);
- if (preference_get_boolean(KEY_MUSIC_LYRICS, &show_lyric)) {
- WARN_TRACE("Fail to get %s", KEY_MUSIC_LYRICS);
- }
- ad->b_show_lyric = (int) show_lyric;
+ ad->b_show_lyric = 1;
_mp_setting_init_preference_key();
mp_setting_key_cb_init();