mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
audioplayer/screensaver: add gui switch to use covers as screensaver
Origin commit data
------------------
Commit: 76507f38fa
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-05-24 (Thu, 24 May 2018)
Origin message was:
------------------
- audioplayer/screensaver: add gui switch to use covers as screensaver
This commit is contained in:
@@ -188,7 +188,11 @@ void* CScreenSaver::ScreenSaverPrg(void* arg)
|
||||
|
||||
bool CScreenSaver::ReadDir()
|
||||
{
|
||||
string d = g_settings.screensaver_dir;
|
||||
string d;
|
||||
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_audio && g_settings.audioplayer_cover_as_screensaver)
|
||||
d = COVERDIR;
|
||||
else
|
||||
d = g_settings.screensaver_dir;
|
||||
if (d.length() > 1)
|
||||
{
|
||||
//remove trailing slash
|
||||
|
Reference in New Issue
Block a user