Added invokation constexpr for id3edit

This commit is contained in:
DWW 2022-08-25 15:24:07 +03:00
parent 82cc90c713
commit 4f844868cd

View File

@ -26,6 +26,7 @@ constexpr bool IS_FLAC = false;
constexpr bool IS_JPG = true; constexpr bool IS_JPG = true;
constexpr bool IS_PNG = false; constexpr bool IS_PNG = false;
constexpr uint32_t COVER_SIZE = 750; constexpr uint32_t COVER_SIZE = 750;
constexpr const char ID3EDIT_INVOKE[] = "id3edit";
constexpr const char MAGICK_INVOKE[] = "magick"; constexpr const char MAGICK_INVOKE[] = "magick";
#ifdef _WIN32 #ifdef _WIN32
@ -629,7 +630,8 @@ bool tag_MP3(const string& path, const string& filename, bool is_single_dir,
{ {
string cmd; string cmd;
cmd = "id3edit --set-name \""; cmd = ID3EDIT_INVOKE;
cmd += " --set-name \"";
cmd += title; cmd += title;
cmd += "\" --set-album \""; cmd += "\" --set-album \"";
cmd += album; cmd += album;