From 7ba81cbe9809cfb68bee85bc6f79e798ef7b05ce Mon Sep 17 00:00:00 2001 From: ComradeCrow Date: Thu, 20 Apr 2023 00:16:53 -0700 Subject: start basic database support --- src/main.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') 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 instances = getInstances(); // for (auto i: instances) { -- cgit 1.4.1-2-gfad0