Added Utility and Type namespaces
This commit is contained in:
@@ -13,7 +13,7 @@ Manager::coverArtManager::coverArtManager(const Model::BinaryPath& bConf) : m_bC
|
||||
|
||||
Model::Cover Manager::coverArtManager::saveCover(const Model::Song& song, std::string& rootPath, const std::string& stockCoverPath)
|
||||
{
|
||||
metadata_retriever meta;
|
||||
Utility::metadata_retriever meta;
|
||||
Model::Cover cov;
|
||||
cov.imagePath = rootPath;
|
||||
cov = meta.update_cover_art(song, cov, stockCoverPath);
|
||||
@@ -23,7 +23,7 @@ Model::Cover Manager::coverArtManager::saveCover(const Model::Song& song, std::s
|
||||
std::cout << "saving record to the database" << std::endl;
|
||||
covRepo.saveRecord(cov);
|
||||
std::cout << "retrieving record from database" << std::endl;
|
||||
cov = covRepo.retrieveRecord(cov, coverFilter::songTitle);
|
||||
cov = covRepo.retrieveRecord(cov, Type::coverFilter::songTitle);
|
||||
|
||||
return cov;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user