[DB] Reworked settings for acousticbrainz tagging
This commit is contained in:
@@ -112,6 +112,14 @@ stringTrim(const std::string& str, const std::string& whitespace)
|
||||
return str.substr(strBegin, strRange);
|
||||
}
|
||||
|
||||
std::string
|
||||
stringTrimEnd(const std::string& str, const std::string& whitespace)
|
||||
{
|
||||
return str.substr(0, str.find_last_not_of(whitespace)+1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
std::string
|
||||
stringToUTF8(const std::string& str)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user