rename COVERDIR => COVERDIR_TMP

Origin commit data
------------------
Commit: 1c59a17fc6
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-18 (Tue, 18 Sep 2018)

Origin message was:
------------------
- rename COVERDIR => COVERDIR_TMP
This commit is contained in:
vanhofen
2018-09-18 21:18:40 +02:00
parent c48a115366
commit 5e2d511f4f
5 changed files with 14 additions and 14 deletions

View File

@@ -208,10 +208,10 @@ bool CScreenSaver::ReadDir()
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_audio && g_settings.audioplayer_cover_as_screensaver)
{
if (access(COVERDIR, F_OK) == 0)
if (access(COVERDIR_TMP, F_OK) == 0)
{
struct dirent **coverlist;
int n = scandir(COVERDIR, &coverlist, 0, alphasort);
int n = scandir(COVERDIR_TMP, &coverlist, 0, alphasort);
if (n > 2) // we always have the "." and ".." entrys
show_audiocover = true;
}
@@ -219,7 +219,7 @@ bool CScreenSaver::ReadDir()
string d;
if (show_audiocover)
d = COVERDIR;
d = COVERDIR_TMP;
else
d = g_settings.screensaver_dir;
if (d.length() > 1)