diff options
Diffstat (limited to 'plugins/Spotify.hpp')
-rw-r--r-- | plugins/Spotify.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Spotify.hpp b/plugins/Spotify.hpp index 9cdd2af..89f8f3d 100644 --- a/plugins/Spotify.hpp +++ b/plugins/Spotify.hpp @@ -38,9 +38,12 @@ namespace QuickMedia { class SpotifyAudioPage : public VideoPage { public: - SpotifyAudioPage(Program *program) : VideoPage(program) {} + SpotifyAudioPage(Program *program, const std::string &url) : VideoPage(program), url(url) {} const char* get_title() const override { return ""; } std::unique_ptr<RelatedVideosPage> create_related_videos_page(Program *, const std::string &, const std::string &) override { return nullptr; } std::unique_ptr<LazyFetchPage> create_channels_page(Program *, const std::string &) override { return nullptr; } + std::string get_url() override { return url; } + private: + std::string url; }; }
\ No newline at end of file |