update patches
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m17s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m17s
This commit is contained in:
parent
f6fc93218e
commit
51e0983d82
12 changed files with 28 additions and 32 deletions
|
@ -1,4 +1,4 @@
|
||||||
From c0209c66dd9381b9a8cee2c832155cf28364faf3 Mon Sep 17 00:00:00 2001
|
From dbef0b607e6c3a9e5694b07708e445fe26b43ccb Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 19:37:34 -0300
|
Date: Mon, 24 Mar 2025 19:37:34 -0300
|
||||||
Subject: [PATCH 01/12] ci: update deno to 2.2.5
|
Subject: [PATCH 01/12] ci: update deno to 2.2.5
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 291d80dcf32824db5175b031b389d9e1552465e4 Mon Sep 17 00:00:00 2001
|
From 2028045428f15eb7a9a21cd438b44c110fad6b2d Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 18:44:10 -0300
|
Date: Mon, 24 Mar 2025 18:44:10 -0300
|
||||||
Subject: [PATCH 02/12] feat: add support for an external videoplayback proxy
|
Subject: [PATCH 02/12] feat: add support for an external videoplayback proxy
|
||||||
|
@ -37,10 +37,10 @@ index 426426f..273fe95 100644
|
||||||
jobs: z.object({
|
jobs: z.object({
|
||||||
youtube_session: z.object({
|
youtube_session: z.object({
|
||||||
diff --git a/src/routes/invidious_routes/dashManifest.ts b/src/routes/invidious_routes/dashManifest.ts
|
diff --git a/src/routes/invidious_routes/dashManifest.ts b/src/routes/invidious_routes/dashManifest.ts
|
||||||
index e816470..930eef1 100644
|
index 3834601..d69f1cf 100644
|
||||||
--- a/src/routes/invidious_routes/dashManifest.ts
|
--- a/src/routes/invidious_routes/dashManifest.ts
|
||||||
+++ b/src/routes/invidious_routes/dashManifest.ts
|
+++ b/src/routes/invidious_routes/dashManifest.ts
|
||||||
@@ -109,8 +109,10 @@ dashManifest.get("/:videoId", async (c) => {
|
@@ -91,8 +91,10 @@ dashManifest.get("/:videoId", async (c) => {
|
||||||
queryParams.set("enc", "true");
|
queryParams.set("enc", "true");
|
||||||
queryParams.set("data", encryptedParams);
|
queryParams.set("data", encryptedParams);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 3ac18ddfa246eb421483cfc55120709e203e5e1a Mon Sep 17 00:00:00 2001
|
From 86e9007023a5aef96547e6de6883d096b2dd9a87 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 18:52:53 -0300
|
Date: Mon, 24 Mar 2025 18:52:53 -0300
|
||||||
Subject: [PATCH 03/12] feat: report the external videoplayback proxy via /info
|
Subject: [PATCH 03/12] feat: report the external videoplayback proxy via /info
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From e89236d910bb112204448765055a985dc2a589d5 Mon Sep 17 00:00:00 2001
|
From 6f4763821259cd0be12a63fec8c542d2c158bdac Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 19:02:01 -0300
|
Date: Mon, 24 Mar 2025 19:02:01 -0300
|
||||||
Subject: [PATCH 04/12] feat: add resolution limit on DASH streams to save
|
Subject: [PATCH 04/12] feat: add resolution limit on DASH streams to save
|
||||||
|
@ -7,8 +7,8 @@ Subject: [PATCH 04/12] feat: add resolution limit on DASH streams to save
|
||||||
---
|
---
|
||||||
config/config.example.toml | 1 +
|
config/config.example.toml | 1 +
|
||||||
src/lib/helpers/config.ts | 3 +++
|
src/lib/helpers/config.ts | 3 +++
|
||||||
src/routes/invidious_routes/dashManifest.ts | 7 ++++++-
|
src/routes/invidious_routes/dashManifest.ts | 3 ++-
|
||||||
3 files changed, 10 insertions(+), 1 deletion(-)
|
3 files changed, 6 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/config/config.example.toml b/config/config.example.toml
|
diff --git a/config/config.example.toml b/config/config.example.toml
|
||||||
index 0b4d7b8..6d342bb 100644
|
index 0b4d7b8..6d342bb 100644
|
||||||
|
@ -37,23 +37,19 @@ index 273fe95..d1968fe 100644
|
||||||
cache: z.object({
|
cache: z.object({
|
||||||
enabled: z.boolean().default(true),
|
enabled: z.boolean().default(true),
|
||||||
diff --git a/src/routes/invidious_routes/dashManifest.ts b/src/routes/invidious_routes/dashManifest.ts
|
diff --git a/src/routes/invidious_routes/dashManifest.ts b/src/routes/invidious_routes/dashManifest.ts
|
||||||
index 930eef1..96e8e2f 100644
|
index d69f1cf..10b23d8 100644
|
||||||
--- a/src/routes/invidious_routes/dashManifest.ts
|
--- a/src/routes/invidious_routes/dashManifest.ts
|
||||||
+++ b/src/routes/invidious_routes/dashManifest.ts
|
+++ b/src/routes/invidious_routes/dashManifest.ts
|
||||||
@@ -62,7 +62,12 @@ dashManifest.get("/:videoId", async (c) => {
|
@@ -53,7 +53,8 @@ dashManifest.get("/:videoId", async (c) => {
|
||||||
).includes("av01")
|
videoInfo.streaming_data.adaptive_formats = videoInfo
|
||||||
) {
|
.streaming_data.adaptive_formats
|
||||||
if (i.mime_type.includes("av01")) {
|
.filter((i) =>
|
||||||
- return true;
|
- i.has_video === false || i.mime_type.includes("mp4")
|
||||||
+ // @ts-ignore 'i.height' is possibly 'undefined'.
|
+ //@ts-ignore: 'i.height' is possibly 'undefined'.
|
||||||
+ if (i.height > config.server.max_dash_resolution) {
|
+ i.has_video === false || (i.mime_type.includes("mp4") && (i.height <= config.server.max_dash_resolution))
|
||||||
+ return false;
|
);
|
||||||
+ } else {
|
|
||||||
+ return true;
|
const player_response = videoInfo.page[0];
|
||||||
+ }
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
--
|
--
|
||||||
2.49.0
|
2.49.0
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From dc49b7941dc22c3c701250d90769df655257e300 Mon Sep 17 00:00:00 2001
|
From 93c942bdf866fc312955c0767ebd65eb0fee4ea9 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 19:06:04 -0300
|
Date: Mon, 24 Mar 2025 19:06:04 -0300
|
||||||
Subject: [PATCH 05/12] feat: add env variable to set verify_requests
|
Subject: [PATCH 05/12] feat: add env variable to set verify_requests
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From f940a206dedc8a70ceb507f4373c80a833ae709c Mon Sep 17 00:00:00 2001
|
From eb60f19d368e37e77e01855fa643d19fb02246e4 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 19:20:52 -0300
|
Date: Mon, 24 Mar 2025 19:20:52 -0300
|
||||||
Subject: [PATCH 06/12] feat: add support for multiple proxies
|
Subject: [PATCH 06/12] feat: add support for multiple proxies
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 36bd0fa14574b05f15aa462cc485eb6b488a2ffc Mon Sep 17 00:00:00 2001
|
From 73d41d7b22d267d0f361bd7ad25658bde66b85b7 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 20:34:33 -0300
|
Date: Mon, 24 Mar 2025 20:34:33 -0300
|
||||||
Subject: [PATCH 07/12] feat: add option to disable potoken generation check
|
Subject: [PATCH 07/12] feat: add option to disable potoken generation check
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From f475167ed0f1d60e4f8e50c1936ced761d0f72db Mon Sep 17 00:00:00 2001
|
From 05804a9205a7f865f32da0bc2466c1960bf976d7 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Tue, 25 Mar 2025 00:04:47 -0300
|
Date: Tue, 25 Mar 2025 00:04:47 -0300
|
||||||
Subject: [PATCH 08/12] add proxy retries on innertube error
|
Subject: [PATCH 08/12] add proxy retries on innertube error
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From ae88bbd1aa4a42bad78d0241da22cc376a207e67 Mon Sep 17 00:00:00 2001
|
From faa83d246d24bd480b443b21bc9acc528ca3932c Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Tue, 18 Mar 2025 16:38:23 -0300
|
Date: Tue, 18 Mar 2025 16:38:23 -0300
|
||||||
Subject: [PATCH 09/12] add support for prometheus metrics
|
Subject: [PATCH 09/12] add support for prometheus metrics
|
||||||
|
@ -2593,7 +2593,7 @@ index 1eaeb14..f900298 100644
|
||||||
|
|
||||||
const videoInfo = youtubeVideoInfo(
|
const videoInfo = youtubeVideoInfo(
|
||||||
diff --git a/src/routes/invidious_routes/dashManifest.ts b/src/routes/invidious_routes/dashManifest.ts
|
diff --git a/src/routes/invidious_routes/dashManifest.ts b/src/routes/invidious_routes/dashManifest.ts
|
||||||
index 96e8e2f..34e0b6e 100644
|
index 10b23d8..a691d6e 100644
|
||||||
--- a/src/routes/invidious_routes/dashManifest.ts
|
--- a/src/routes/invidious_routes/dashManifest.ts
|
||||||
+++ b/src/routes/invidious_routes/dashManifest.ts
|
+++ b/src/routes/invidious_routes/dashManifest.ts
|
||||||
@@ -17,6 +17,7 @@ dashManifest.get("/:videoId", async (c) => {
|
@@ -17,6 +17,7 @@ dashManifest.get("/:videoId", async (c) => {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 99a492d9bafd6f5bd1482df08441ebb703b45a59 Mon Sep 17 00:00:00 2001
|
From 94a35c9561e990474daa959f73d7e6bab6be8ba2 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Tue, 25 Mar 2025 00:07:28 -0300
|
Date: Tue, 25 Mar 2025 00:07:28 -0300
|
||||||
Subject: [PATCH 10/12] add metrics for proxy retries
|
Subject: [PATCH 10/12] add metrics for proxy retries
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From d54369cd1b97d5beeaf0d867d2c24a36a2a0445c Mon Sep 17 00:00:00 2001
|
From 3fff970433b02e646cf1bc708402750c8849ac41 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Tue, 25 Mar 2025 00:24:07 -0300
|
Date: Tue, 25 Mar 2025 00:24:07 -0300
|
||||||
Subject: [PATCH 11/12] fix: fix tokio overflow on compile
|
Subject: [PATCH 11/12] fix: fix tokio overflow on compile
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From db6ff1b23bc50dba40611277e26e797da12b9685 Mon Sep 17 00:00:00 2001
|
From 1a9ce4f8ddb861e7bb77e50070101c5ef8ff2181 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Wed, 26 Mar 2025 12:24:49 -0300
|
Date: Wed, 26 Mar 2025 12:24:49 -0300
|
||||||
Subject: [PATCH 12/12] Add environment variable for youtube_session.frequency
|
Subject: [PATCH 12/12] Add environment variable for youtube_session.frequency
|
||||||
|
|
Loading…
Add table
Reference in a new issue