Fix playing of files containing square brackets, etc, that are external to MPD database via Cantata's simple HTTP server.

This commit is contained in:
craig.p.drummond
2013-01-03 20:05:04 +00:00
committed by craig.p.drummond
parent 687b4d7342
commit 66c7823791
4 changed files with 45 additions and 19 deletions

View File

@@ -147,7 +147,6 @@ QByteArray HttpServer::encodeUrl(const Song &s) const
QByteArray HttpServer::encodeUrl(const QString &file) const
{
Song s=Tags::read(file);
s.fillEmptyFields();
s.file=file;
return encodeUrl(s);
}