mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Return empty string for lyrics if we don't have an API key.
This commit is contained in:
parent
e6874f45eb
commit
1a921d09f1
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user