1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Fix for m3u parser bug when an artist's name had a hyphen.

This commit is contained in:
Gavin Howard 2014-08-27 02:21:11 -06:00
parent 40b5499fc9
commit e5df59aeb2

View File

@ -94,7 +94,7 @@ bool M3UParser::ParseMetadata(const QString& line,
metadata->length = length * kNsecPerSec;
QString track_info = info.section(',', 1);
QStringList list = track_info.split('-');
QStringList list = track_info.split(" - ");
if (list.size() <= 1) {
metadata->title = track_info;
return true;