Able to save and retrieve records (Artist, Album, Genre, etc.)

This commit is contained in:
kdeng00
2019-09-02 13:59:49 -04:00
parent fafb39326b
commit 4306c174b3
26 changed files with 522 additions and 34 deletions
+2 -2
View File
@@ -20,9 +20,9 @@ Model::Cover Manager::coverArtManager::saveCover(const Model::Song& song, std::s
cov.songTitle = song.title;
Database::coverArtRepository covRepo(m_bConf);
std::cout << "saving record to the database" << std::endl;
std::cout << "saving image record to the database" << std::endl;
covRepo.saveRecord(cov);
std::cout << "retrieving record from database" << std::endl;
std::cout << "retrieving image record from database" << std::endl;
cov = covRepo.retrieveRecord(cov, Type::coverFilter::songTitle);
return cov;