update patch 0009
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m9s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m9s
This commit is contained in:
parent
df3b5ee769
commit
b36a351d68
9 changed files with 22 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
||||||
From d194cb9b25a0b91d20c348eb2aa1d95d5e9bd474 Mon Sep 17 00:00:00 2001
|
From 96bdf8e66394985e16b6e0a3f7e755d81f5b0149 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 1/9] feat: add support for an external videoplayback proxy
|
Subject: [PATCH 1/9] feat: add support for an external videoplayback proxy
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 680ed30e4d25dfbf32da9c49bb5a27f8c5aa7114 Mon Sep 17 00:00:00 2001
|
From afe62c8510f1813dbe73e62342a25f07f9a3ee2d 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 2/9] feat: report the external videoplayback proxy via /info
|
Subject: [PATCH 2/9] feat: report the external videoplayback proxy via /info
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 912f7b7c230e9e3a97d5f678f5b93898951c5353 Mon Sep 17 00:00:00 2001
|
From 5a60828ab0b1dd6505d9c963fe2fd6a2d84cf442 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 3/9] feat: add resolution limit on DASH streams to save
|
Subject: [PATCH 3/9] feat: add resolution limit on DASH streams to save
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From d040970de1e644f0b3234db892359297f922fb72 Mon Sep 17 00:00:00 2001
|
From 619d93518e6700e93c8ad599dca3676eb01f1bc8 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 4/9] feat: add env variable to set verify_requests
|
Subject: [PATCH 4/9] feat: add env variable to set verify_requests
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 32abcfb826715a756db497c00d6e840f758055b8 Mon Sep 17 00:00:00 2001
|
From bead21794d3fd1fbe713e331c22709f85b0e9aa3 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 5/9] feat: add support for multiple proxies
|
Subject: [PATCH 5/9] feat: add support for multiple proxies
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From ff34450a415cfdc0bee2c75090d4cbe3b33d3fdf Mon Sep 17 00:00:00 2001
|
From 98c5dab9f5a7495a38bff97003cb32bec6111185 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 6/9] ci: update deno to 2.2.4
|
Subject: [PATCH 6/9] ci: update deno to 2.2.4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 1809787ec91c57bb273a26f42f56bb9c8450789e Mon Sep 17 00:00:00 2001
|
From cbebc6a7e7c1ab1aa8699abfa0695c342c7d5470 Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 20:06:47 -0300
|
Date: Mon, 24 Mar 2025 20:06:47 -0300
|
||||||
Subject: [PATCH 7/9] fix: temporary player_id override until an official fix
|
Subject: [PATCH 7/9] fix: temporary player_id override until an official fix
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From b5318804619e1061695ae2e62b77f8aef261a7e5 Mon Sep 17 00:00:00 2001
|
From f37a3301db5d703f7ab1db9670620a494e2e6bce Mon Sep 17 00:00:00 2001
|
||||||
From: Fijxu <fijxu@nadeko.net>
|
From: Fijxu <fijxu@nadeko.net>
|
||||||
Date: Mon, 24 Mar 2025 20:22:19 -0300
|
Date: Mon, 24 Mar 2025 20:22:19 -0300
|
||||||
Subject: [PATCH 8/9] fix: cut off secret_key to 16 characters
|
Subject: [PATCH 8/9] fix: cut off secret_key to 16 characters
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
From 4c8128d7c61d09c486056a6a3d0df119c76a8393 Mon Sep 17 00:00:00 2001
|
From 4e0bbf67f713a9f30f66d978f1b8b0077c478c87 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 9/9] feat: add option to disable potoken generation check
|
Subject: [PATCH 9/9] feat: add option to disable potoken generation check
|
||||||
|
|
||||||
---
|
---
|
||||||
config/config.example.toml | 1 +
|
config/config.example.toml | 1 +
|
||||||
src/lib/helpers/config.ts | 1 +
|
src/lib/helpers/config.ts | 9 +++++
|
||||||
src/lib/jobs/potoken.ts | 80 ++++++++++++++++++++------------------
|
src/lib/jobs/potoken.ts | 80 ++++++++++++++++++++------------------
|
||||||
3 files changed, 44 insertions(+), 38 deletions(-)
|
3 files changed, 52 insertions(+), 38 deletions(-)
|
||||||
|
|
||||||
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 a3c73be..4c04ee3 100644
|
index a3c73be..4c04ee3 100644
|
||||||
|
@ -22,14 +22,22 @@ index a3c73be..4c04ee3 100644
|
||||||
# [youtube_session]
|
# [youtube_session]
|
||||||
# oauth_enabled = false
|
# oauth_enabled = false
|
||||||
diff --git a/src/lib/helpers/config.ts b/src/lib/helpers/config.ts
|
diff --git a/src/lib/helpers/config.ts b/src/lib/helpers/config.ts
|
||||||
index 05748f0..271c17a 100644
|
index 05748f0..a2f6be0 100644
|
||||||
--- a/src/lib/helpers/config.ts
|
--- a/src/lib/helpers/config.ts
|
||||||
+++ b/src/lib/helpers/config.ts
|
+++ b/src/lib/helpers/config.ts
|
||||||
@@ -39,6 +39,7 @@ const ConfigSchema = z.object({
|
@@ -39,6 +39,15 @@ const ConfigSchema = z.object({
|
||||||
youtube_session: z.object({
|
youtube_session: z.object({
|
||||||
po_token_enabled: z.boolean().default(true),
|
po_token_enabled: z.boolean().default(true),
|
||||||
frequency: z.string().default("*/5 * * * *"),
|
frequency: z.string().default("*/5 * * * *"),
|
||||||
+ po_token_check: z.boolean().default(true),
|
+ po_token_check: z
|
||||||
|
+ .boolean()
|
||||||
|
+ .default(
|
||||||
|
+ Deno.env.get("PO_TOKEN_CHECK") === "true"
|
||||||
|
+ ? true
|
||||||
|
+ : Deno.env.get("PO_TOKEN_CHECK") === "false"
|
||||||
|
+ ? false
|
||||||
|
+ : true,
|
||||||
|
+ ),
|
||||||
}).strict().default({}),
|
}).strict().default({}),
|
||||||
}).strict().default({}),
|
}).strict().default({}),
|
||||||
youtube_session: z.object({
|
youtube_session: z.object({
|
||||||
|
|
Loading…
Add table
Reference in a new issue