diff --git a/src/library/parserm3u.cpp b/src/library/parserm3u.cpp index 11326fb0fb3..70608c674ad 100644 --- a/src/library/parserm3u.cpp +++ b/src/library/parserm3u.cpp @@ -97,10 +97,8 @@ QList ParserM3u::parse(QString sFilename) QString ParserM3u::getFilepath(QTextStream* stream, QString basepath) { QString textline; while (!(textline = stream->readLine().trimmed()).isEmpty()) { - if (textline.contains("#")) { - // Skip all lines with comments or special tags that are - // prefixed with the reserved character '#'. In file URLs - // this special character needs to be encoded as "%23". + if (textline.startsWith("#")) { + // Skip comments continue; } QString trackLocation = playlistEntrytoLocalFile(textline);