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:
parent
40b5499fc9
commit
e5df59aeb2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user