mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-01 17:58:29 +00:00
Updated test_project.cpp to only show progress.
This commit is contained in:
parent
f36402a6e1
commit
f75b471093
@ -43,7 +43,7 @@ int _tmain(int argc, _TCHAR* argv[])
|
|||||||
Library::LocalDB library;
|
Library::LocalDB library;
|
||||||
|
|
||||||
library.Startup();
|
library.Startup();
|
||||||
|
/*
|
||||||
Query::ListSelection query;
|
Query::ListSelection query;
|
||||||
|
|
||||||
Metalist genres("genre",query);
|
Metalist genres("genre",query);
|
||||||
@ -72,7 +72,7 @@ int _tmain(int argc, _TCHAR* argv[])
|
|||||||
std::wcout << tracklist[i]->GetValue("title") << std::endl;
|
std::wcout << tracklist[i]->GetValue("title") << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
/* {
|
/* {
|
||||||
query.SelectMetadata("genre",6);
|
query.SelectMetadata("genre",6);
|
||||||
boost::progress_timer timer;
|
boost::progress_timer timer;
|
||||||
@ -93,15 +93,15 @@ int _tmain(int argc, _TCHAR* argv[])
|
|||||||
library.AddQuery(query,Query::Wait|Query::AutoCallback);
|
library.AddQuery(query,Query::Wait|Query::AutoCallback);
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
/*
|
|
||||||
library.indexer.AddPath(_T("D:/mp3/"));
|
library.indexer.AddPath(_T("X:/musik/"));
|
||||||
Sleep(2000);
|
Sleep(2000);
|
||||||
while(!library.GetInfo().empty()){
|
while(!library.GetInfo().empty()){
|
||||||
std::wcout << library.GetInfo() << _T("\r");
|
std::wcout << library.GetInfo() << _T("\r");
|
||||||
Sleep(100);
|
Sleep(100);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
system("PAUSE");
|
system("PAUSE");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user