Able to save song and cover art to the appropriate paths. Next is saving it to the database
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
#include "models/models.h"
|
||||
|
||||
class song_manager
|
||||
@@ -11,8 +13,19 @@ class song_manager
|
||||
public:
|
||||
song_manager(std::string&);
|
||||
|
||||
/**
|
||||
std::string retrieveMusicPath();
|
||||
std::string retrieveTempPath();
|
||||
*/
|
||||
|
||||
//nlohmann::json pathConfigContent();
|
||||
|
||||
void saveSong(Song&);
|
||||
|
||||
static void printSong(const Song&);
|
||||
private:
|
||||
void saveSongTemp(Song&);
|
||||
|
||||
std::string exe_path;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user