mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
Merge pull request #4506 from gavinhoward/hyphen-fix
Fix M3U Hyphen Parse Bug
This commit is contained in:
commit
e770cd8aae
@ -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