remote-content-search key is string, not bool...
commitbd6307718fbdd4b26449ebde2868d9f03a9317b0
authorPawel Stolowski <pawel.stolowski@canonical.com>
dateTue 8 Oct 2013, 18:07 (13 years ago)
parentbd8a4c5
plugins/Utils/albumartprovider.cpp+1−1
@@ -149,7 +149,7 @@ std::string AlbumArtProvider::get_image(const std::string &artist, const std::st
149149 return cache.get_art_file(info.artist, info.album);
150150 }
151151
152− if (m_settings != nullptr && g_settings_get_boolean(m_settings, "remote-content-search") == false) {
152+ if (m_settings != nullptr && strcmp(g_settings_get_string(m_settings, "remote-content-search"), "all") !=0) {
153153 qDebug() << "Remote content disabled";
154154 return DEFAULT_ALBUM_ART;
155155 }