diff options
Diffstat (limited to 'src/plugins/Soundcloud.cpp')
-rw-r--r-- | src/plugins/Soundcloud.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/Soundcloud.cpp b/src/plugins/Soundcloud.cpp index a9b192e..3a9a6e1 100644 --- a/src/plugins/Soundcloud.cpp +++ b/src/plugins/Soundcloud.cpp @@ -291,9 +291,13 @@ namespace QuickMedia { SearchResult SoundcloudSearchPage::search(const std::string &str, BodyItems &result_items) { query_urn.clear(); + if(str.empty()) + return SearchResult::OK; + PluginResult result = get_page(str, 0, result_items); if(result != PluginResult::OK) return SearchResult::ERR; + return SearchResult::OK; } |