diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/Soundcloud.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/Soundcloud.cpp b/src/plugins/Soundcloud.cpp index 676db3a..fa37e29 100644 --- a/src/plugins/Soundcloud.cpp +++ b/src/plugins/Soundcloud.cpp @@ -280,7 +280,7 @@ namespace QuickMedia { if(track) permalink_url = track->permalink_url; - result_tabs.push_back(Tab{nullptr, std::make_unique<SoundcloudAudioPage>(program, url_json.asString(), std::move(permalink_url)), nullptr}); + result_tabs.push_back(Tab{nullptr, std::make_unique<SoundcloudAudioPage>(program, title, url_json.asString(), std::move(permalink_url)), nullptr}); } return PluginResult::OK; @@ -469,6 +469,11 @@ namespace QuickMedia { return PluginResult::OK; } + PluginResult SoundcloudAudioPage::load(std::string &title, std::string&, std::vector<MediaChapter>&, std::string&) { + title = this->title; + return PluginResult::OK; + } + std::string SoundcloudAudioPage::url_get_playable_url(const std::string &url) { std::string query_url = url + "?client_id=" + client_id; |