inial commit
This commit is contained in:
commit
62ea8ab3e3
31 changed files with 6611 additions and 0 deletions
20
tag.h
Normal file
20
tag.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
class AiTags
|
||||
{
|
||||
private:
|
||||
static bool formatCandiateTag(std::string& tag);
|
||||
static bool checkCandiateTag(std::string tag, const std::filesystem::path& path);
|
||||
|
||||
public:
|
||||
std::filesystem::path path;
|
||||
std::string artist;
|
||||
std::string title;
|
||||
std::string album;
|
||||
|
||||
bool isFilled() const;
|
||||
void parseFromResponse(const std::string& response, const std::filesystem::path &path, bool noAlbum = false);
|
||||
bool writeToFile() const;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue