diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-09-15 18:52:40 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-09-15 18:52:40 +0200 |
commit | d7f736bde209e9a77844060cfd9b27122f7ca53f (patch) | |
tree | 4242aa8db6828b3740b7499dbdfb8d959281bb61 /src/plugins/Youtube.cpp | |
parent | adcbb9e464bb9033e406008ea9cd209486a292aa (diff) |
Reset timestamp when going to next youtube video, copy download url on ctrl-c for youtube
Diffstat (limited to 'src/plugins/Youtube.cpp')
-rw-r--r-- | src/plugins/Youtube.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp index 0316c6f..993b197 100644 --- a/src/plugins/Youtube.cpp +++ b/src/plugins/Youtube.cpp @@ -2040,6 +2040,7 @@ namespace QuickMedia { } void YoutubeVideoPage::set_url(std::string new_url) { + timestamp.clear(); new_url = invidious_url_to_youtube_url(new_url); youtube_url_remove_timestamp(new_url, timestamp); VideoPage::set_url(std::move(new_url)); |