diff options
author | ComradeCrow <comradecrow@vivaldi.net> | 2023-04-20 00:16:53 -0700 |
---|---|---|
committer | ComradeCrow <comradecrow@vivaldi.net> | 2023-04-20 00:16:53 -0700 |
commit | 7ba81cbe9809cfb68bee85bc6f79e798ef7b05ce (patch) | |
tree | 1daea06ae7663adb6ae4a56a90bc95fea9ea3c57 /src/main.cpp | |
parent | bc48d6f7bf88d89846d9eabffc67cedeb312c273 (diff) | |
download | ytcpp-7ba81cbe9809cfb68bee85bc6f79e798ef7b05ce.tar.gz |
start basic database support
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 992761a..c08ba75 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,6 +10,7 @@ #include "tui.hpp" #include "invapi.hpp" #include "YtdlpWrapper.hpp" +#include "sqliteinterface.hpp" namespace py = pybind11; @@ -17,9 +18,11 @@ using namespace std; int main() { - YtdlpWrapper yt; - nlohmann::json j = yt.getJsonSearch("the very thought of you"); - cout << j << endl; + // YtdlpWrapper yt; + // nlohmann::json j = yt.getJsonSearch("the very thought of you"); + // cout << j << endl; + + openDB(); // vector<string> instances = getInstances(); // for (auto i: instances) { |