From 76ef34393aa72230a3490ecf7b06647ede1448da Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 9 Sep 2021 11:35:47 +0200 Subject: Add initial peertube support --- plugins/Page.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Page.hpp') 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 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. -- cgit v1.2.3