mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- screensaver: just add mp3-?.jpg when using DATADIR "/neutrino/icons" ...
... to get the same behavior as usual
This commit is contained in:
@@ -161,6 +161,18 @@ bool CScreenSaver::ReadDir()
|
||||
|
||||
str += "/";
|
||||
str += (*dirpointer).d_name;
|
||||
|
||||
if ((std::string) dir_name == DATADIR "/neutrino/icons")
|
||||
{
|
||||
/*
|
||||
backward compatiblity:
|
||||
just add the standard mp3-?.jpg pictures
|
||||
to get the same behavior as usual
|
||||
*/
|
||||
if (str.find("/mp3-") == string::npos)
|
||||
continue;
|
||||
}
|
||||
|
||||
v_bg_files.push_back(str);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user