diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-09-09 11:35:47 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-09-09 11:35:47 +0200 |
commit | 76ef34393aa72230a3490ecf7b06647ede1448da (patch) | |
tree | 1121b209293e719271b62c4fddeb4ec44ea6aac6 /plugins/Page.hpp | |
parent | da2988c4356d2756e86037b1c7e859f49583c109 (diff) |
Add initial peertube support
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r-- | plugins/Page.hpp | 3 |
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. |