Working on updating a song's metadata
This commit is contained in:
@@ -158,8 +158,6 @@ namespace controller
|
||||
songDto->id = id;
|
||||
|
||||
auto updatedSong = manager::SongManager::songDtoConv(songDto);
|
||||
std::cout << "printing updated song" << std::endl;
|
||||
manager::SongManager::printSong(updatedSong);
|
||||
manager::SongManager songMgr(m_bConf);
|
||||
songMgr.updateSong(updatedSong);
|
||||
|
||||
|
||||
@@ -17,6 +17,9 @@ namespace manager
|
||||
SongManager(std::string&);
|
||||
SongManager(const model::BinaryPath&);
|
||||
|
||||
bool didSongChange(const model::Song&, const model::Song&);
|
||||
bool requiresFilesystemChange(const model::Song&, const model::Song&);
|
||||
|
||||
void saveSong(model::Song&);
|
||||
void deleteSong(model::Song&);
|
||||
void updateSong(model::Song&);
|
||||
|
||||
Reference in New Issue
Block a user