mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-08 12:40:28 +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();
|
std::string apiToken = getApiToken();
|
||||||
|
|
||||||
if (!apiToken.size()) {
|
if (!apiToken.size()) {
|
||||||
callback(track, "apiToken");
|
callback(track, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string artist = encode(track->GetString("artist"));
|
std::string artist = encode(track->GetString("artist"));
|
||||||
|
Loading…
Reference in New Issue
Block a user