Return empty string for lyrics if we don't have an API key.

This commit is contained in:
casey langen 2019-04-26 22:46:08 -07:00
parent e6874f45eb
commit 1a921d09f1

View File

@ -79,7 +79,7 @@ namespace musik { namespace core { namespace auddio {
std::string apiToken = getApiToken();
if (!apiToken.size()) {
callback(track, "apiToken");
callback(track, "");
}
std::string artist = encode(track->GetString("artist"));