- Group cd tracks under 'Audio CD' in grouped view.

- Add isCdda() to Song
This commit is contained in:
craig.p.drummond
2013-03-14 19:50:59 +00:00
committed by craig.p.drummond
parent 5415c2cc7a
commit a70e3ffe95
9 changed files with 21 additions and 11 deletions

View File

@@ -211,7 +211,7 @@ Song HttpServer::decodeUrl(const QUrl &url) const
}
s.file=url.path();
#if defined CDDB_FOUND || defined MUSICBRAINZ5_FOUND
if (s.file.startsWith("/cdda:/")) {
if (s.file.startsWith(QChar('/')+Song::constCddaProtocol)) {
s.file=s.file.mid(1);
}
#endif