23 lines
706 B
C++
23 lines
706 B
C++
#pragma once
|
|
#include <nlohmann/json_fwd.hpp>
|
|
#include <string>
|
|
|
|
auto ytdlp(const std::string& args) -> bool;
|
|
|
|
auto metadata(const std::string& file, const std::string& artist, const std::string& album, size_t index) -> void;
|
|
|
|
auto cleanTmpDownloadFolder() -> bool;
|
|
|
|
auto downloadImageToTmpFolder(const std::string& url) -> bool;
|
|
|
|
auto downloadVideo(const std::string& url) -> bool;
|
|
|
|
auto writeAndReturnDataJson(const std::string& url) -> nlohmann::json;
|
|
|
|
auto moveAndSortTmpFilesToFolder(const std::string& folder, const std::string& artist, const std::string& album)
|
|
-> bool;
|
|
|
|
auto autoDetermineRip(const std::string& musicFolder, const std::string& url) -> bool;
|
|
|
|
auto musicFolder() -> std::string;
|