1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-29 16:49:27 +01:00

Use previews as default setting if deezer engine and dzmedia is missing

This commit is contained in:
Jonas Kvinge 2018-10-19 19:14:49 +02:00
parent 5853bc68d1
commit de11cb173b

View File

@ -123,7 +123,12 @@ void DeezerService::ReloadSettings() {
songssearchlimit_ = s.value("songssearchlimit", 100).toInt();
fetchalbums_ = s.value("fetchalbums", false).toBool();
coversize_ = s.value("coversize", "cover_big").toString();
preview_ = s.value("preview", false).toBool();
#if defined(HAVE_DEEZER) || defined(HAVE_DZMEDIA)
bool preview(false);
#else
bool preview(true);
#endif
preview_ = s.value("preview", preview).toBool();
s.endGroup();
}