Fixed: Playing music files with @ in the filename.
--HG-- branch : develop
This commit is contained in:
parent
edf1d12f65
commit
6c8e42361a
1 changed files with 0 additions and 8 deletions
|
@ -415,14 +415,6 @@ public:
|
||||||
std::vector<CMusicPlayer::CSongs> songs;
|
std::vector<CMusicPlayer::CSongs> songs;
|
||||||
for (i=0; i<filenames.size(); i++)
|
for (i=0; i<filenames.size(); i++)
|
||||||
{
|
{
|
||||||
// '@' in filenames are reserved for .bnp files
|
|
||||||
// and sound system fails to open such file
|
|
||||||
if (filenames[i].find("@") != string::npos)
|
|
||||||
{
|
|
||||||
nlwarning("Ignore media file containing '@' in name: '%s'", filenames[i].c_str());
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!CFile::fileExists(filenames[i])) {
|
if (!CFile::fileExists(filenames[i])) {
|
||||||
nlwarning("Ignore non-existing file '%s'", filenames[i].c_str());
|
nlwarning("Ignore non-existing file '%s'", filenames[i].c_str());
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue