mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-05 12:54:02 +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) {
|
if (i < this->trackIds.size() - 1) {
|
||||||
idList += ",";
|
idList += ",";
|
||||||
}
|
}
|
||||||
|
++i;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string query = tracks::kAllMetadataQueryByIdBatch;
|
std::string query = tracks::kAllMetadataQueryByIdBatch;
|
||||||
|
@ -327,7 +327,7 @@ bool HttpDataStream::Open(const char *rawUri, OpenFlags flags) {
|
|||||||
this->state = Loading;
|
this->state = Loading;
|
||||||
downloadThread.reset(new std::thread(&HttpDataStream::ThreadProc, this));
|
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);
|
startedContition.wait(lock);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user