From 62f918559616138de1cc0ab8f5759f5d714e9287 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 24 Aug 2021 18:32:26 +0200 Subject: Youtube: load english subtitles when available --- include/VideoPlayer.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp index cd1e979..4eab812 100644 --- a/include/VideoPlayer.hpp +++ b/include/VideoPlayer.hpp @@ -51,6 +51,8 @@ namespace QuickMedia { Error set_property(const std::string &property_name, const Json::Value &value); Error get_property(const std::string &property_name, Json::Value *result, Json::ValueType result_type); + Error add_subtitle(const std::string &url, const std::string &title, const std::string &lang); + int exit_status; private: Error send_command(const char *cmd, size_t size); -- cgit v1.2.3