Give streams key 0

This commit is contained in:
craig
2012-04-08 11:20:37 +00:00
committed by craig
parent cf2fa440b5
commit 677bb33361
4 changed files with 15 additions and 3 deletions

View File

@@ -261,7 +261,7 @@ QList<Song> MPDParseUtils::parseSongs(const QByteArray &data)
if (i == lines.size() - 1 || lines.at(i + 1).startsWith("file:")) {
Song song=parseSong(line);
if (song.file.startsWith("http") && HttpServer::self()->isOurs(song.file)) {
if (song.isCantataStream()) {
Song mod=HttpServer::self()->decodeUrl(song.file);
if (!mod.title.isEmpty()) {
mod.id=song.id;