Various updates
This commit is contained in:
parent
1452ccc179
commit
a7edacd720
4 changed files with 46 additions and 15 deletions
|
@ -61,7 +61,10 @@ namespace Converters {
|
|||
std::string currentID;
|
||||
int nextFreeID = 0;
|
||||
|
||||
std::set<int> tmp;
|
||||
|
||||
for (JSON::ObjIter it = meta["tracks"].ObjBegin(); it != meta["tracks"].ObjEnd(); it++){
|
||||
tmp.insert(it->second["trackid"].asInt());
|
||||
trackIDs.insert(std::pair<std::string,int>(it->first,it->second["trackid"].asInt()));
|
||||
trackData[it->first].type = it->second["type"].asString();
|
||||
trackData[it->first].trackID = it->second["trackid"].asInt();
|
||||
|
@ -70,6 +73,9 @@ namespace Converters {
|
|||
}
|
||||
}
|
||||
|
||||
F.selectTracks(tmp);
|
||||
F.seek_time(0);
|
||||
|
||||
F.seekNext();
|
||||
while ( !F.getJSON().isNull()){
|
||||
currentID = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue