aboutsummaryrefslogtreecommitdiff
path: root/plugins/Page.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-09 11:35:47 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-09 11:35:47 +0200
commit76ef34393aa72230a3490ecf7b06647ede1448da (patch)
tree1121b209293e719271b62c4fddeb4ec44ea6aac6 /plugins/Page.hpp
parentda2988c4356d2756e86037b1c7e859f49583c109 (diff)
Add initial peertube support
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r--plugins/Page.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 6944afb..071351b 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -135,7 +135,8 @@ namespace QuickMedia {
virtual std::unique_ptr<Page> create_channels_page(Program *program, const std::string &channel_url) = 0;
virtual void set_url(std::string new_url) { url = std::move(new_url); }
std::string get_url() { return url; }
- // Returns empty string for no timestamp or if the video doesn't support timestamps
+ // Returns empty string for no timestamp or if the video doesn't support timestamps.
+ // Timestamp is in seconds.
virtual std::string get_url_timestamp() { return ""; }
// Falls back to |get_url| if this and |get_audio_url| returns empty strings.
// Might do a network request.