mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-03 14:38:08 +00:00
Minor bug fix to TrackMetadataBatchQuery
This commit is contained in:
parent
cdc55c940b
commit
1cf4b15273
@ -63,6 +63,7 @@ bool TrackMetadataBatchQuery::OnRun(Connection& db) {
|
||||
if (i < this->trackIds.size() - 1) {
|
||||
idList += ",";
|
||||
}
|
||||
++i;
|
||||
}
|
||||
|
||||
std::string query = tracks::kAllMetadataQueryByIdBatch;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user