Ignore empty lines in m3u files.

Fixes issue #1403
This commit is contained in:
John Maguire 2011-03-17 16:05:08 +00:00
parent f1f4a8a164
commit 0a54c5135b
2 changed files with 5 additions and 1 deletions

View File

@ -56,7 +56,7 @@ SongList M3UParser::Load(QIODevice* device, const QString& playlist_path, const
continue;
}
}
} else {
} else if (!line.isEmpty()) {
Song song;
// Track location.

View File

@ -477,3 +477,7 @@
/home/kadai/Music/COLLECTION/1993/Various Artists/ラングリッサー 光輝の末裔/14 - Kingdom Knight Ledin.mp3
#EXTINF:85,ほっぴンちょっぴン
/home/kadai/Music/COLLECTION/2005/Various Artists/Dance Dance Revolution with Mario/14 - ほっぴンちょっぴン.mp3