mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 15:16:12 +00:00
Fixed: Music player loading non-existing files into playlist.
--HG-- branch : develop
This commit is contained in:
parent
86adf11579
commit
2eab033283
1 changed files with 5 additions and 0 deletions
|
@ -353,6 +353,11 @@ public:
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!CFile::fileExists(filenames[i])) {
|
||||||
|
nlwarning("Ignore non-existing file '%s'", filenames[i].c_str());
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
CMusicPlayer::CSongs song;
|
CMusicPlayer::CSongs song;
|
||||||
song.Filename = filenames[i];
|
song.Filename = filenames[i];
|
||||||
SoundMngr->getMixer()->getSongTitle(filenames[i], song.Title, song.Length);
|
SoundMngr->getMixer()->getSongTitle(filenames[i], song.Title, song.Length);
|
||||||
|
|
Loading…
Reference in a new issue