diff options
Diffstat (limited to 'include/Downloader.hpp')
-rw-r--r-- | include/Downloader.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Downloader.hpp b/include/Downloader.hpp index cb70f2e..1f926c3 100644 --- a/include/Downloader.hpp +++ b/include/Downloader.hpp @@ -55,7 +55,7 @@ namespace QuickMedia { class YoutubeDlDownloader : public Downloader { public: - YoutubeDlDownloader(const std::string &url, const std::string &output_filepath, bool no_video); + YoutubeDlDownloader(const char *yt_dl_name, const std::string &url, const std::string &output_filepath, bool no_video); bool start() override; bool stop(bool download_completed) override; DownloadUpdateStatus update() override; @@ -72,6 +72,7 @@ namespace QuickMedia { std::string download_speed_text; bool no_video; bool finished = false; + const char *yt_dl_name; }; struct MediaMetadata { |