From e5df59aeb21eb335f63ffc6a853ded5226fb8d70 Mon Sep 17 00:00:00 2001 From: Gavin Howard Date: Wed, 27 Aug 2014 02:21:11 -0600 Subject: [PATCH] Fix for m3u parser bug when an artist's name had a hyphen. --- src/playlistparsers/m3uparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlistparsers/m3uparser.cpp b/src/playlistparsers/m3uparser.cpp index f2731443a..1b7087119 100644 --- a/src/playlistparsers/m3uparser.cpp +++ b/src/playlistparsers/m3uparser.cpp @@ -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;