aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--src/plugins/Youtube.cpp6
2 files changed, 5 insertions, 2 deletions
diff --git a/TODO b/TODO
index 38b4f31..c601886 100644
--- a/TODO
+++ b/TODO
@@ -158,7 +158,6 @@ Add option to view dead link in 4chan with 4chan archive and navigate to crossbo
Show latest message before sync is done for a room when the latest message is an edit. Right now it has to fetch previous messages until the first non-edit message.
Allow resuming downloads.
Support downloading live youtube videos.
-Youtube broke age restricted video again. Need to find a fix. It kinda works in yt-dlp, but not always.
Use the new player innertube api. To make that work quickmedia will need to extract signatureTimestamp (sts) and set that in the form request. Youtube-dl does this.
Instead of resetting text items in body, add a clear function to text. That way we can easily cache the height of the text.
Check if message edits that are replies to me makes a now notification show up. This shouldn't happen, but also take into consideration initial sync.
diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp
index 993b197..74d0cbe 100644
--- a/src/plugins/Youtube.cpp
+++ b/src/plugins/Youtube.cpp
@@ -2454,7 +2454,11 @@ R"END(
"client": {
"clientName": "ANDROID",
"clientVersion": "16.20",
- "hl": "en"
+ "hl": "en",
+ "clientScreen": "EMBED"
+ },
+ "thirdParty": {
+ "embedUrl": "https://google.com"
}
},
"videoId": "%VIDEO_ID%",