Skip to content

Commit

Permalink
Revert "Skip all lines in playlist with reserved character '#'"
Browse files Browse the repository at this point in the history
This reverts commit 3cb106d.
  • Loading branch information
uklotzde committed Jul 5, 2019
1 parent aae966a commit 9d5ed3a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/library/parserm3u.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ QList<QString> 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);
Expand Down

0 comments on commit 9d5ed3a

Please sign in to comment.