diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Youtube.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index c7aff93..c3945de 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -23,6 +23,8 @@ namespace QuickMedia { YoutubeFormat base; }; + // Returns |url| if the url is already a youtube url + std::string invidious_url_to_youtube_url(const std::string &url); bool youtube_url_extract_id(const std::string &youtube_url, std::string &youtube_video_id); // |video_url| or |audio_url| will be empty if there is an error and false will be returned. // If false is returned from |active_handler|, then this function is cancelled. |