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

Merge pull request #4506 from gavinhoward/hyphen-fix

Fix M3U Hyphen Parse Bug
This commit is contained in:
John Maguire 2014-08-27 10:19:29 +01:00
commit e770cd8aae

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;