Hello,
This was discussed before and it was said it was a problem with my ubuntu, not related to Qt.
But... my mp3 player on ubuntu, audacious, can read a file with a name like 'Clannad Crann Ull 03 Cruscin Lán.mp3'.
It displays a funny question mark, but it recognizes the file and plays it.
In a console, with 'ls <map>', the file gets displayed.
But such a file does not show up when I do an QDir::entryList() on that map.
QDir songmap
= QDir("/home/jean/serverd/Mp3/Clannad/",
"*.mp3",
QDir::Name,
QDir::Files);
for (int i = 0; i < songnames.count(); i++)
qDebug() << songnames.at(i);
QDir songmap = QDir("/home/jean/serverd/Mp3/Clannad/", "*.mp3", QDir::Name, QDir::Files);
QStringList songnames = songmap.entryList();
for (int i = 0; i < songnames.count(); i++)
qDebug() << songnames.at(i);
To copy to clipboard, switch view to plain text mode
Output snippet:
"Clannad Crann Ull 02 The Last Rose of Summer.mp3"
"Clannad Crann Ull 04 Bacach Shile Andai.mp3"
Song 03 from that cd is missing in the list.
Suggestions or workarounds welcome.
Thanks.
Bookmarks