Check if the blob is availabe in Spotify search provider.
This commit is contained in:
parent
40a5590108
commit
a667dceb29
@ -46,6 +46,9 @@ SpotifyServer* SpotifySearchProvider::server() {
|
||||
if (service_->login_state() != SpotifyService::LoginState_LoggedIn)
|
||||
return nullptr;
|
||||
|
||||
if (!service_->IsBlobInstalled())
|
||||
return nullptr;
|
||||
|
||||
server_ = service_->server();
|
||||
connect(server_, SIGNAL(SearchResults(pb::spotify::SearchResponse)),
|
||||
SLOT(SearchFinishedSlot(pb::spotify::SearchResponse)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user