Minor bug fix to TrackMetadataBatchQuery

This commit is contained in:
casey langen 2020-10-08 17:40:21 -07:00
parent cdc55c940b
commit 1cf4b15273
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ bool TrackMetadataBatchQuery::OnRun(Connection& db) {
if (i < this->trackIds.size() - 1) {
idList += ",";
}
++i;
}
std::string query = tracks::kAllMetadataQueryByIdBatch;

View File

@ -327,7 +327,7 @@ bool HttpDataStream::Open(const char *rawUri, OpenFlags flags) {
this->state = Loading;
downloadThread.reset(new std::thread(&HttpDataStream::ThreadProc, this));
/* wait until headers have finished */
/* wait until we have a few hundred k of data */
startedContition.wait(lock);
return true;