mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +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 += "/";
|
||||||
str += (*dirpointer).d_name;
|
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);
|
v_bg_files.push_back(str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user