Fix AudioCD playback.
This commit is contained in:
committed by
craig.p.drummond
parent
8d38143b6b
commit
c409a6274d
@@ -210,9 +210,11 @@ Song HttpServer::decodeUrl(const QUrl &url) const
|
||||
s.id=q.queryItemValue("id").toInt();
|
||||
}
|
||||
s.file=url.path();
|
||||
s.type=Song::CantataStream;
|
||||
#if defined CDDB_FOUND || defined MUSICBRAINZ5_FOUND
|
||||
if (s.file.startsWith(QChar('/')+Song::constCddaProtocol)) {
|
||||
s.file=s.file.mid(1);
|
||||
s.type=Song::Cdda;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user